public IfElseTree(int line, SyntaxTree expression, SyntaxTree ifInstruction, SyntaxTree elseInstruction = null) { line_number = line; this.expression = (ExpressionTree)expression; this.ifInstruction = (InstructionTree)ifInstruction; this.elseInstruction = (InstructionTree)elseInstruction; }
public WhileTree(SyntaxTree expression, SyntaxTree instruction, int line) { this.expression = (ExpressionTree)expression; this.instruction = (InstructionTree)instruction; line_number = line; }