Mercurial > projects > dil
comparison trunk/src/dil/Parser.d @ 532:50e64bab9c7a
Renamed InformationManager to InfoManager.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Mon, 17 Dec 2007 16:10:08 +0100 |
parents | 315aeb3f7a9b |
children | bdd49ad84f5f |
comparison
equal
deleted
inserted
replaced
531:315aeb3f7a9b | 532:50e64bab9c7a |
---|---|
25 { | 25 { |
26 Lexer lx; | 26 Lexer lx; |
27 Token* token; /// Current non-whitespace token. | 27 Token* token; /// Current non-whitespace token. |
28 Token* prevToken; /// Previous non-whitespace token. | 28 Token* prevToken; /// Previous non-whitespace token. |
29 | 29 |
30 InformationManager infoMan; | 30 InfoManager infoMan; |
31 ParserError[] errors; | 31 ParserError[] errors; |
32 | 32 |
33 ImportDeclaration[] imports; /// ImportDeclarations in the source text. | 33 ImportDeclaration[] imports; /// ImportDeclarations in the source text. |
34 | 34 |
35 LinkageType linkageType; | 35 LinkageType linkageType; |
44 Construct a Parser object. | 44 Construct a Parser object. |
45 Params: | 45 Params: |
46 text = the UTF-8 source code. | 46 text = the UTF-8 source code. |
47 filePath = the path to the source code; used for error messages. | 47 filePath = the path to the source code; used for error messages. |
48 +/ | 48 +/ |
49 this(char[] srcText, string filePath, InformationManager infoMan = null) | 49 this(char[] srcText, string filePath, InfoManager infoMan = null) |
50 { | 50 { |
51 this.infoMan = infoMan; | 51 this.infoMan = infoMan; |
52 lx = new Lexer(srcText, filePath, infoMan); | 52 lx = new Lexer(srcText, filePath, infoMan); |
53 } | 53 } |
54 | 54 |