C# Class QUT.GPGen.CodeGenerator

Mostra file Open project: spark-shading-language/spark Class Usage Examples

Private Methods

Method Description
Generate ( List states, Grammar grammar ) : void
GenerateActionMethod ( List productions ) : void
GenerateClassFooter ( ) : void
GenerateClassHeader ( string name ) : void
GenerateCopyright ( ) : void
GenerateInitializeMethod ( List states, List productions, NonTerminal>.Dictionary nonTerminals ) : void
GenerateRule ( Production production ) : void
GenerateScannerBaseClass ( ) : void
GenerateState ( int stateNumber, AutomatonState state ) : void
GenerateToStringMethod ( ) : void
GenerateTokens ( Terminal>.Dictionary terminals, StreamWriter writer ) : void
GenerateUsingHeader ( ) : void
GenerateValueType ( ) : void
GetDefaultAction ( AutomatonState state ) : int
InsertCodeSpan ( LexSpan span ) : void