Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Irony.Parsing.LanguageData Class Reference

Describes a language. More...

Inheritance diagram for Irony.Parsing.LanguageData:
SiliconStudio.Shaders.Grammar.ShaderLanguageData

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...
 

Detailed Description

Describes a language.

Definition at line 23 of file LanguageData.cs.

Constructor & Destructor Documentation

Irony.Parsing.LanguageData.LanguageData ( Grammar  grammar)

Initializes the specified grammar.

Parameters
grammarThe grammar.

Definition at line 65 of file LanguageData.cs.

Member Function Documentation

bool Irony.Parsing.LanguageData.CanParse ( )

Determines whether this instance can parse.

Returns
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 Scanner Irony.Parsing.LanguageData.CreateScanner ( )
virtual

Reimplemented in SiliconStudio.Shaders.Grammar.ShaderLanguageData.

Definition at line 73 of file LanguageData.cs.

Member Data Documentation

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.

Property Documentation

Grammar Irony.Parsing.LanguageData.Grammar
getset

The linked Grammar

Definition at line 35 of file LanguageData.cs.

Referenced by Irony.Parsing.TokenPreviewHint.Match().

GrammarData Irony.Parsing.LanguageData.GrammarData
getset

Raw data extracted from the grammar.

Definition at line 40 of file LanguageData.cs.

ParserData Irony.Parsing.LanguageData.ParserData
getset

Data for the parser.

Definition at line 45 of file LanguageData.cs.


The documentation for this class was generated from the following file: