Parser Constructor
|
Initializes new instance of Parser class. |
CharPosition | Gets current char position. |
CommentText | Gets current comment text. |
CurrentLRState | Gets current LR state. |
Grammar | Gets the parser's grammar. |
LineNumber | Gets current line number. It is 1-based. |
LinePosition | Gets current char position in the current source line. It is 1-based. |
LineText | Gets current source line text. It can be truncated if line is longer than 2048 characters. |
ReductionCount | Gets number of items in the current reduction |
ReductionRule | Gets current reduction syntax rule. |
SourceLineReadCallback | Gets or sets callback function to track source line text. |
TextReader | Gets source of parsed data. |
TokenCharPosition | Gets or sets current token position relative to input stream beginning. |
TokenLength | Gets or sets current token text length. |
TokenLineNumber | Gets or sets current token line number. It is 1-based. |
TokenLinePosition | Gets or sets current token position in current source line. It is 1-based. |
TokenString | Returns string representation of the token. |
TokenSymbol | Gets or sets current token symbol. |
TokenSyntaxNode | Gets or sets token syntax object associated with the current token or reduction. |
TokenText | Gets or sets current token text. |
TrimReductions | Gets or sets flag to trim reductions. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetExpectedTokens | Gets array of expected token symbols. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetReductionSyntaxNode | Gets reduction item syntax object by its index. |
GetType (inherited from Object) | Gets the Type of the current instance. |
Parse | Executes next step of parser and returns parser state. |
PopInputToken | Pops token from the input token stack. |
PushInputToken | Pushes a token to the input token stack. |
ReadToken | Reads next token from the input stream. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Parser Class | GoldParser Namespace