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