示例#1
0
 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;
 }
示例#2
0
 public WhileTree(SyntaxTree expression, SyntaxTree instruction, int line)
 {
     this.expression  = (ExpressionTree)expression;
     this.instruction = (InstructionTree)instruction;
     line_number      = line;
 }