![]() |
Paradox Game Engine
v1.0.0 beta06
|
Some terminals may need to return a bunch of tokens in one call to TryMatch; MultiToken is a container for these tokens More...
Public Member Functions | |
| MultiToken (Terminal term, SourceLocation location, TokenList childTokens) | |
| Initializes a new instance of the MultiToken class. More... | |
Public Member Functions inherited from Irony.Parsing.Token | |
| Token (Terminal term, SourceLocation location, string text, object value) | |
| Initializes a new instance of the Token class. More... | |
| Token (Terminal term, SourceLocation location, int length, string source, object value) | |
| Initializes a new instance of the Token class. More... | |
| void | SetTerminal (Terminal terminal) |
| Sets the terminal. More... | |
| bool | IsSet (TokenFlags flag) |
| Determines whether the specified flag is set. More... | |
| bool | IsError () |
| Determines whether this instance is error. More... | |
| override string | ToString () |
Public Attributes | |
| TokenList | ChildTokens |
| List of child tokens More... | |
Public Attributes inherited from Irony.Parsing.Token | |
| readonly SourceLocation | Location |
| Location in the source code. More... | |
| object | Value |
| Get the Value associated with this token. More... | |
| TokenFlags | Flags |
| Get the flags More... | |
| TokenEditorInfo | EditorInfo |
| Gets the Editor info. More... | |
| short | ScannerState |
| Scanner state after producing token More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Irony.Parsing.Token | |
| static void | LinkMatchingBraces (Token openingBrace, Token closingBrace) |
| Links the matching braces. More... | |
Properties inherited from Irony.Parsing.Token | |
| Terminal | Terminal [get, set] |
| Gets the terminal. More... | |
| KeyTerm | KeyTerm [get, set] |
| Gets the Key terminal if any. More... | |
| int | Length [get, set] |
| Gets the length. More... | |
| string | SourceCode [get, set] |
| Gets the source code. More... | |
| string | Text [get] |
| Gets the text associated with this token. More... | |
| string | ValueString [get] |
| Gets the value as a string. More... | |
| TokenCategory | Category [get] |
| Gets the category. More... | |
| Token | OtherBrace [get, set] |
| Gets the matching opening/closing brace More... | |
Some terminals may need to return a bunch of tokens in one call to TryMatch; MultiToken is a container for these tokens
| Irony.Parsing.MultiToken.MultiToken | ( | Terminal | term, |
| SourceLocation | location, | ||
| TokenList | childTokens | ||
| ) |
Initializes a new instance of the MultiToken class.
| term | The term. |
| location | The location. |
| childTokens | The child tokens. |
| TokenList Irony.Parsing.MultiToken.ChildTokens |