C# Class LogicControl.LogicParser

Show file Open project: RedpointGames/Protogame Class Usage Examples

Public Methods

Method Description
Parse ( string code ) : void

Private Methods

Method Description
ParseAddExpression ( GOLD.Reduction expression ) : LogicExpression
ParseArguments ( GOLD.Reduction inputExpressions ) : List
ParseAssignStatement ( GOLD.Reduction statement ) : LogicControl.LogicStatement
ParseAssignTarget ( GOLD.Reduction assignTarget ) : LogicControl.LogicAssignmentTarget
ParseBlockStatement ( GOLD.Reduction statement ) : LogicControl.LogicStatement
ParseExpression ( GOLD.Reduction expression ) : LogicExpression
ParseIfStatement ( GOLD.Reduction statement ) : LogicControl.LogicStatement
ParseLookupExpression ( GOLD.Reduction expression ) : LogicExpression
ParseMultiplyExpression ( GOLD.Reduction expression ) : LogicExpression
ParseOptionalSemantic ( GOLD.Reduction optionalSemantic ) : string
ParseParameters ( GOLD.Reduction parameterDeclarations ) : List
ParseReturnStatement ( GOLD.Reduction statement ) : LogicControl.LogicStatement
ParseStatement ( GOLD.Reduction statement ) : LogicControl.LogicStatement
ParseStatements ( GOLD.Reduction inputStatements ) : List
ParseString ( string data ) : string
ParseUnaryExpression ( GOLD.Reduction expression ) : LogicExpression
ParseValueExpression ( GOLD.Reduction expression ) : LogicExpression
ParseWhileStatement ( GOLD.Reduction statement ) : LogicControl.LogicStatement
TraverseFunctionDeclaration ( GOLD.Reduction functionDeclaration ) : void
TraverseNodes ( GOLD.Reduction root ) : void
TraverseStructureDeclaration ( GOLD.Reduction structureDeclaration ) : void

Method Details

Parse() public method

public Parse ( string code ) : void
code string
return void