This class only exists to work around a limitation of the C# language: "cannot change access modifiers when overriding 'protected' inherited member Error(...)".
More...
This class only exists to work around a limitation of the C# language: "cannot change access modifiers when overriding 'protected' inherited member Error(...)".
|
abstract void | Error_Renamed (int lookaheadIndex, string format) |
|
override void | Error (int lookaheadIndex, string format) |
| This method is called to handle errors that occur during lexing. More...
|
|
abstract void | Error_Renamed (int lookaheadIndex, string format, params object[] args) |
|
override void | Error (int lookaheadIndex, string format, params object[] args) |
| This method is called to format and handle errors that occur during lexing. The default implementation sends errors to ErrorSink, which, by default, throws a FormatException. More...
|
|
void | Reset () |
|
int | LA (int i) |
|
void | Skip () |
| Increments InputPosition. Called by LLLPG when prediction already verified the input (and caller doesn't save LA(0)) More...
|
|
virtual void | AfterNewline () |
| The lexer must call this method exactly once after it advances past each newline, even inside comments and strings. This method keeps the LineNumber and LineStartAt properties updated. More...
|
|
void | Newline () |
| Default newline parser that matches '
' or '' unconditionally. More...
|
|
void | Spaces () |
| Skips past any spaces at the current position. Equivalent to rule Spaces @[ (' '|'')* ] in LLLPG. More...
|
|
int | MatchAny () |
|
int | Match (HashSet< int > set) |
|
int | Match (int a) |
|
int | Match (int a, int b) |
|
int | Match (int a, int b, int c) |
|
int | Match (int a, int b, int c, int d) |
|
int | MatchRange (int aLo, int aHi) |
|
int | MatchRange (int aLo, int aHi, int bLo, int bHi) |
|
int | MatchExcept () |
|
int | MatchExcept (HashSet< int > set) |
|
int | MatchExcept (int a) |
|
int | MatchExcept (int a, int b) |
|
int | MatchExcept (int a, int b, int c) |
|
int | MatchExcept (int a, int b, int c, int d) |
|
int | MatchExceptRange (int aLo, int aHi) |
|
int | MatchExceptRange (int aLo, int aHi, int bLo, int bHi) |
|
bool | TryMatch (HashSet< int > set) |
|
bool | TryMatch (int a) |
|
bool | TryMatch (int a, int b) |
|
bool | TryMatch (int a, int b, int c) |
|
bool | TryMatch (int a, int b, int c, int d) |
|
bool | TryMatchRange (int aLo, int aHi) |
|
bool | TryMatchRange (int aLo, int aHi, int bLo, int bHi) |
|
bool | TryMatchExcept () |
|
bool | TryMatchExcept (HashSet< int > set) |
|
bool | TryMatchExcept (int a) |
|
bool | TryMatchExcept (int a, int b) |
|
bool | TryMatchExcept (int a, int b, int c) |
|
bool | TryMatchExcept (int a, int b, int c, int d) |
|
bool | TryMatchExceptRange (int aLo, int aHi) |
|
bool | TryMatchExceptRange (int aLo, int aHi, int bLo, int bHi) |
|
virtual void | Check (bool expectation, string expectedDescr="") |
|
virtual void | Error (bool inverted, int range0lo, int range0hi) |
|
virtual void | Error (bool inverted, params int[] ranges) |
|
virtual void | Error (bool inverted, IList< int > ranges) |
|
virtual void | Error (bool inverted, HashSet< int > set) |
|
string | RangesToString (IList< int > ranges) |
| Converts a list of character ranges to a string, e.g. for input list {'*','*','a','z'}, the output is "'*' 'a'..'z'". More...
|
|
void | PrintChar (int c, StringBuilder sb) |
| Prints a character as a string, e.g. 'a' -> "'a'" , with the special value -1 representing EOF, so PrintChar(-1, ...) == "EOF". More...
|
|