C# Class QUT.Gplex.Parser.AAST

This class represents the Attributed Abstract Syntax Tree corresponding to an input LEX file.
Exibir arquivo Open project: spark-shading-language/spark Class Usage Examples

Private Properties

Property Type Description
AAST System
AddCodeSpan void
AddDummyStartState void
AddLexCatPredicate void
AddLexCategory bool
AddRuleToList void
AddStartState bool
AddStartState bool
AddToAllStates void
AddUserPredicate void
AddUserPredicate void
AddVisibility void
FixupBarActions void
InitCharCats void
SetScanBaseName void
SetScannerTypeName void
SetTokenTypeName void
StartStateValue StartState

Private Methods

Method Description
AAST ( Automaton t ) : System
AddCodeSpan ( Destination dest, LexSpan span ) : void
AddDummyStartState ( string name ) : void
AddLexCatPredicate ( string name, LexSpan span ) : void
AddLexCategory ( string name, string verb, LexSpan spn ) : bool
AddRuleToList ( RuleDesc rule ) : void
AddStartState ( bool isX, bool isDummy, string name ) : bool
AddStartState ( bool isX, string name ) : bool
AddToAllStates ( RuleDesc rule ) : void
AddUserPredicate ( string name, CharTest test ) : void
AddUserPredicate ( string name, LexSpan aSpan, LexSpan mSpan ) : void

Add a user-specified character predicate to the dictionary. The predicate is in some known assembly accessible to gplex.

AddVisibility ( LexSpan span ) : void
FixupBarActions ( ) : void
InitCharCats ( ) : void

This method lazily constructs the dictionary for the character predicates. Beware however, that this just maps the first "crd" characters of the unicode value set.

SetScanBaseName ( string name ) : void
SetScannerTypeName ( string name ) : void
SetTokenTypeName ( string name ) : void
StartStateValue ( string name ) : StartState