Used when parsing code into code fragments. This class figures out what type of fragment we have next in order for that type to 'handle' the text from the code.
Static Public Member Functions | |
static Handler | Find (char peek) |
Finds which type of fragment will accept and handle the given character. More... | |
static CodeFragment | Handle (Handler handle, CodeLexer sr) |
Reads a code fragment from the code using a known handler. More... | |
|
inlinestatic |
Finds which type of fragment will accept and handle the given character.
peek | The character to find a handler for. |
|
inlinestatic |
Reads a code fragment from the code using a known handler.
handle | The handler to use. |
sr | The raw code stream |