![]() |
Paradox Game Engine
v1.0.0 beta06
|
Describes a language. More...
Public Member Functions | |
LanguageData (Grammar grammar) | |
Initializes the specified grammar. More... | |
virtual Scanner | CreateScanner () |
bool | CanParse () |
Determines whether this instance can parse. More... | |
void | ConstructAll () |
Constructs all. More... | |
Public Attributes | |
readonly GrammarErrorList | Errors = new GrammarErrorList() |
Grammar errors. More... | |
long | ConstructionTime |
Time in ms to build a scanner. More... | |
GrammarErrorLevel | ErrorLevel = GrammarErrorLevel.NoError |
Error level. More... | |
Properties | |
Grammar | Grammar [get, set] |
The linked Grammar More... | |
GrammarData | GrammarData [get, set] |
Raw data extracted from the grammar. More... | |
ParserData | ParserData [get, set] |
Data for the parser. More... | |
Describes a language.
Definition at line 23 of file LanguageData.cs.
Irony.Parsing.LanguageData.LanguageData | ( | Grammar | grammar | ) |
Initializes the specified grammar.
grammar | The grammar. |
Definition at line 65 of file LanguageData.cs.
bool Irony.Parsing.LanguageData.CanParse | ( | ) |
Determines whether this instance can parse.
true
if this instance can parse; otherwise, false
. Definition at line 88 of file LanguageData.cs.
void Irony.Parsing.LanguageData.ConstructAll | ( | ) |
Constructs all.
Definition at line 96 of file LanguageData.cs.
|
virtual |
Reimplemented in SiliconStudio.Shaders.Grammar.ShaderLanguageData.
Definition at line 73 of file LanguageData.cs.
long Irony.Parsing.LanguageData.ConstructionTime |
Time in ms to build a scanner.
Definition at line 50 of file LanguageData.cs.
GrammarErrorLevel Irony.Parsing.LanguageData.ErrorLevel = GrammarErrorLevel.NoError |
Error level.
Definition at line 55 of file LanguageData.cs.
readonly GrammarErrorList Irony.Parsing.LanguageData.Errors = new GrammarErrorList() |
Grammar errors.
Definition at line 30 of file LanguageData.cs.
|
getset |
The linked Grammar
Definition at line 35 of file LanguageData.cs.
Referenced by Irony.Parsing.TokenPreviewHint.Match().
|
getset |
Raw data extracted from the grammar.
Definition at line 40 of file LanguageData.cs.
|
getset |
Data for the parser.
Definition at line 45 of file LanguageData.cs.