| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| new | ||
| atom.c | ||
| atom.h | ||
| compile.h | ||
| cpp.c | ||
| cpp.h | ||
| cppstruct.c | ||
| length_limits.h | ||
| lexer_glue.cpp | ||
| lexer_glue.h | ||
| memory.c | ||
| memory.h | ||
| parser.h | ||
| preprocess.h | ||
| scanner.c | ||
| scanner.h | ||
| slglobals.h | ||
| symbols.c | ||
| symbols.h | ||
| tokens.c | ||
| tokens.h |
Reafactored Lexer class to allow chaining. The full chain when parsing #if directive looks like this: Preprocessor -> MacroExpander -> DirectiveHandler -> MacroExpander -> DefinedFilter -> Tokenizer. This chain dynamically changes depending on the current context. Also added an incomplete implementation of #if handling and ExpressionParser to illustrate how this design is supposed to work. Review URL: https://codereview.appspot.com/6203060 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1084 736b8ea6-26fd-11df-bfd4-992fa37f6226
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| new | Loading commit data... | |
| atom.c | Loading commit data... | |
| atom.h | Loading commit data... | |
| compile.h | Loading commit data... | |
| cpp.c | Loading commit data... | |
| cpp.h | Loading commit data... | |
| cppstruct.c | Loading commit data... | |
| length_limits.h | Loading commit data... | |
| lexer_glue.cpp | Loading commit data... | |
| lexer_glue.h | Loading commit data... | |
| memory.c | Loading commit data... | |
| memory.h | Loading commit data... | |
| parser.h | Loading commit data... | |
| preprocess.h | Loading commit data... | |
| scanner.c | Loading commit data... | |
| scanner.h | Loading commit data... | |
| slglobals.h | Loading commit data... | |
| symbols.c | Loading commit data... | |
| symbols.h | Loading commit data... | |
| tokens.c | Loading commit data... | |
| tokens.h | Loading commit data... |