Parses Enhanced C# code into a sequence of Loyc trees (LNode), one per top-level statement.
You can use EcsLanguageService.Value with extension method ParsingService.Parse(IParsingService, UString, IMessageSink, ParsingMode, bool) to easily parse a text string (holding zero or more EC# statements) into a Loyc tree. One does not normally use this class directly.
|
sealed override int | EofInt () |
|
sealed override Token | LT (int i) |
|
override string | ToString (int type_) |
|
TT | LA (int i) |
|
override void | Error (int lookaheadIndex, string message) |
|
override void | Error (int lookaheadIndex, string message, params object[] args) |
|
LNode | Error (string message, params object[] args) |
|
void | Error (LNode node, string message, params object[] args) |
|
void | Error (Token token, string message, params object[] args) |
|
int | GetTextPosition (int tokenPosition) |
|
bool | Down (int li) |
|
bool | Down (IListSource< Token > children) |
|
T | Up< T > (T value) |
|
void | Up () |
|
LNode | SingleExprInside (Token group, string stmtType, bool allowUnassignedVarDecl=false) |
|
LNode | SingleExprInside (Token group, string stmtType, bool allowUnassignedVarDecl, ref LNodeList list) |
|
LNodeList | AppendExprsInside (Token group, LNodeList list, bool allowTrailingComma=false, bool allowUnassignedVarDecl=false) |
|
void | AppendInitializersInside (Token group, ref LNodeList list) |
|
LNodeList | ExprListInside (Token t, bool allowTrailingComma=false, bool allowUnassignedVarDecl=false) |
|