Enhanced C#
Language of your choice: library documentation
Public Member Functions | List of all members
Loyc.Syntax.Lexing.ILllpgLexerApi< Token > Interface Template Reference

For reference purposes, this interface contains the non-static methods that LLLPG expects lexers to implement. LLLPG does not actually expect lexers to implement this interface; they simply need to implement the same set of methods as this interface contains. More...


Source file:
Inheritance diagram for Loyc.Syntax.Lexing.ILllpgLexerApi< Token >:
Loyc.Syntax.Lexing.ILllpgApi< Token, int, int >

Remarks

For reference purposes, this interface contains the non-static methods that LLLPG expects lexers to implement. LLLPG does not actually expect lexers to implement this interface; they simply need to implement the same set of methods as this interface contains.

Template Parameters
TokenThe return value of the Match() methods, which is the input value (character) actually encountered in the stream. This type is usually int.

Public Member Functions

Token MatchRange (int aLo, int aHi)
 
Token MatchRange (int aLo, int aHi, int bLo, int bHi)
 
Token MatchExceptRange (int aLo, int aHi)
 
Token MatchExceptRange (int aLo, int aHi, int bLo, int bHi)
 
bool TryMatchRange (int aLo, int aHi)
 
bool TryMatchRange (int aLo, int aHi, int bLo, int bHi)
 
bool TryMatchExceptRange (int aLo, int aHi)
 
bool TryMatchExceptRange (int aLo, int aHi, int bLo, int bHi)
 
- Public Member Functions inherited from Loyc.Syntax.Lexing.ILllpgApi< Token, int, int >
LaType LA (int i)
 
void Error (int lookaheadIndex, string message)
 
void Skip ()
 
Token MatchAny ()
 
Token Match (MatchType a)
 
Token Match (MatchType a, MatchType b)
 
Token Match (MatchType a, MatchType b, MatchType c)
 
Token Match (MatchType a, MatchType b, MatchType c, MatchType d)
 
Token Match (HashSet< MatchType > set)
 
Token MatchExcept ()
 
Token MatchExcept (MatchType a)
 
Token MatchExcept (MatchType a, MatchType b)
 
Token MatchExcept (MatchType a, MatchType b, MatchType c)
 
Token MatchExcept (MatchType a, MatchType b, MatchType c, MatchType d)
 
Token MatchExcept (HashSet< MatchType > set)
 
void Check (bool expectation, string expectedDescr)
 
bool TryMatch (MatchType a)
 
bool TryMatch (MatchType a, MatchType b)
 
bool TryMatch (MatchType a, MatchType b, MatchType c)
 
bool TryMatch (MatchType a, MatchType b, MatchType c, MatchType d)
 
bool TryMatch (HashSet< MatchType > set)
 
bool TryMatchExcept ()
 
bool TryMatchExcept (MatchType a)
 
bool TryMatchExcept (MatchType a, MatchType b)
 
bool TryMatchExcept (MatchType a, MatchType b, MatchType c)
 
bool TryMatchExcept (MatchType a, MatchType b, MatchType c, MatchType d)
 
bool TryMatchExcept (HashSet< MatchType > set)
 

Additional Inherited Members

- Properties inherited from Loyc.Syntax.Lexing.ILllpgApi< Token, int, int >
LaType LA0 [get]