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

Public Member Functions

 ParseTreeNode (BnfTerm term)
 
 ParseTreeNode (Token token)
 
 ParseTreeNode (ParserState initialState)
 
 ParseTreeNode (Production reduceProduction, SourceSpan span)
 
 ParseTreeNode (object node, BnfTerm term, int precedence, Associativity associativity, SourceSpan span)
 
override string ToString ()
 
string FindTokenAndGetText ()
 
Token FindToken ()
 

Public Attributes

object AstNode
 
Token Token
 
BnfTerm Term
 
int Precedence
 
Associativity Associativity
 
SourceSpan Span
 
Production ReduceProduction
 
bool IsError
 
object Tag
 

Properties

ParseTreeNodeList ChildNodes [get, set]
 
ParseTreeNode FirstChild [get]
 
ParseTreeNode LastChild [get]
 

Detailed Description

Definition at line 32 of file ParseTree.cs.

Constructor & Destructor Documentation

Irony.Parsing.ParseTreeNode.ParseTreeNode ( BnfTerm  term)

Definition at line 49 of file ParseTree.cs.

Irony.Parsing.ParseTreeNode.ParseTreeNode ( Token  token)
Irony.Parsing.ParseTreeNode.ParseTreeNode ( ParserState  initialState)

Definition at line 62 of file ParseTree.cs.

Irony.Parsing.ParseTreeNode.ParseTreeNode ( Production  reduceProduction,
SourceSpan  span 
)

Definition at line 66 of file ParseTree.cs.

References Irony.Parsing.Precedence.

Irony.Parsing.ParseTreeNode.ParseTreeNode ( object  node,
BnfTerm  term,
int  precedence,
Associativity  associativity,
SourceSpan  span 
)

Definition at line 73 of file ParseTree.cs.

References Irony.Parsing.Precedence.

Member Function Documentation

Token Irony.Parsing.ParseTreeNode.FindToken ( )

Definition at line 92 of file ParseTree.cs.

string Irony.Parsing.ParseTreeNode.FindTokenAndGetText ( )

Definition at line 88 of file ParseTree.cs.

override string Irony.Parsing.ParseTreeNode.ToString ( )

Definition at line 81 of file ParseTree.cs.

Member Data Documentation

Associativity Irony.Parsing.ParseTreeNode.Associativity

Definition at line 37 of file ParseTree.cs.

bool Irony.Parsing.ParseTreeNode.IsError

Definition at line 42 of file ParseTree.cs.

Referenced by Irony.Parsing.Grammar.GetParseNodeCaption().

int Irony.Parsing.ParseTreeNode.Precedence

Definition at line 36 of file ParseTree.cs.

Production Irony.Parsing.ParseTreeNode.ReduceProduction

Definition at line 39 of file ParseTree.cs.

object Irony.Parsing.ParseTreeNode.Tag

Definition at line 44 of file ParseTree.cs.

Token Irony.Parsing.ParseTreeNode.Token

Property Documentation

ParseTreeNodeList Irony.Parsing.ParseTreeNode.ChildNodes
getset

Definition at line 41 of file ParseTree.cs.

Referenced by SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateAnnotationsAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateArrayInitializerExpressionAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateAssignementExpressionAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateAttributeAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateBinaryExpressionAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateBlockStatementAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateCaseStatementAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateCastExpressionAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateClassBaseTypeAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateClassDeclarationAst(), SiliconStudio.Paradox.Shaders.Parser.Grammar.ParadoxGrammar.CreateClassIdentifierSubGenericAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateCompileExpressionAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateConditionalExpressionAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateConstantBufferAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateDeclarationSpecifier(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateDeclarationStatementAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateDoWhileStatementAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateExpressionOrEmptyAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateExpressionStatementAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateForStatementAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateGenericTypeAst< T1 >(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateGenericTypeAst< T1, T2 >(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateIdentifierCompositeList(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateIdentifierIndexableAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateIdentifierListAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateIdentifierNsAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateIdentifierSpecialReferenceAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateIfStatementAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateIndexerExpressionAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateInterfaceAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateLiteralAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateLiteralExpressionAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateMatrixAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateMemberReferenceExpressionAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateMethodDeclarationRawAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateMethodDeclaratorAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateMethodDefinitionAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateMethodInvokeExpressionAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreatePackOffsetAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateParameterAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateParameterAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateParameterQualifier(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateParenthesizedExpressionAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreatePassAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreatePostfixUnaryExpressionAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateQualifiers(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateQualifiersAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateRegisterLocationAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateReturnStatementAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateSemanticAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateShaderAst(), SiliconStudio.Paradox.Shaders.Parser.Grammar.ParadoxGrammar.CreateShaderClassBaseTypeAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateStateExpressionAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateStatementAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateStateValuesAst(), SiliconStudio.Paradox.Shaders.Parser.Grammar.ParadoxGrammar.CreateStorageQualifier(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateStorageQualifier(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateStorageQualifier(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateStringLiteralAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateStructureAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateSwitchCastGroupAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateSwitchStatementAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateTechniqueAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateTextureDMSAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateTypedefAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateTypeFromTokenAst< T >(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateTypeNameAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateUnaryExpressionAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateVariableDeclaratorAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateVariableDeclaratorAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateVariableDeclaratorQualifierPostAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateVariableDeclaratorRawAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateVariableDeclaratorRawAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateVariableGroupAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateVariableGroupRawAst(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateVectorAst(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateWhileStatementAst(), Irony.Parsing.NonTerminal.GetNodeCaption(), Irony.Interpreter.Ast.BinaryOperationNode.Init(), Irony.Interpreter.Ast.IfNode.Init(), Irony.Interpreter.Ast.FunctionCallNode.Init(), Irony.Interpreter.Ast.IncDecNode.Init(), Irony.Interpreter.Ast.FunctionDefNode.Init(), Irony.Interpreter.Ast.UnaryOperationNode.Init(), Irony.Interpreter.Ast.AssignmentNode.Init(), and SiliconStudio.Shaders.Grammar.ShaderGrammar.ParseStringFromNode().

ParseTreeNode Irony.Parsing.ParseTreeNode.FirstChild
get

Definition at line 103 of file ParseTree.cs.

ParseTreeNode Irony.Parsing.ParseTreeNode.LastChild
get

Definition at line 106 of file ParseTree.cs.


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