public VariableDeclarationASTNode(string variableName, string variableType, BaseASTNode pNodeData)
 {
     this.variableName = variableName;
     this.variableType = variableName;
     this.PNodeData    = pNodeData;
     this.NodeType     = EnumASTNodeType.VARIABLE_DECLARATION_NODE;
 }
Beispiel #2
0
 public ArithmeticExpressionASTNode(BaseASTNode pLeftExpression, BaseASTNode pRightExpression,
                                    EnumOperatorType operatorType, BaseASTNode pNodeData)
 {
     this.pLeftExpreesion  = pLeftExpression;
     this.pRightExpression = pRightExpression;
     this.operatorType     = operatorType;
     this.PNodeData        = pNodeData;
 }
Beispiel #3
0
 public FunctionDeclarationASTNode(EnumTypes functionReturnType, string functionName, BaseASTNode pNodeData)
 {
     this.functionReturnType = functionReturnType;
     this.functionName       = functionName;
     this.PNodeData          = pNodeData;
 }