ParseNode

class ParseNode : System.Object
ParseNode Parent
Token Token
readonly System.Collections.Generic.List<ParseNode> Nodes
string Text
public ParseNode CreateNode(Token token, string text)
Parameters:
  • token (TwoMGFX.Token) –
  • text (string) –
System.Object Eval(ParseTree tree, System.Object[] paramlist)

this implements the evaluation functionality, cannot be used directly

Parameters:
  • tree (TwoMGFX.ParseTree) – the parsetree itself
  • paramlist (System.Object[]) – optional input parameters
Returns:

a partial result of the evaluation