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