예제 #1
0
 public AST_for_statement(AST_identifier identifier, AST_expression from,
                          AST_expression to, AST_statement_list statement_list)
 {
     this.identifier     = identifier;
     this.from           = from;
     this.to             = to;
     this.statement_list = statement_list;
 }
예제 #2
0
 override public void Visit(AST_expression expression)
 {
     DebugPrint("expression");
     base.Visit(expression);
 }
예제 #3
0
 public AST_expression_operand(AST_expression expression)
 {
     this.expression = expression;
 }
예제 #4
0
 public AST_variable_declaration(AST_identifier identifier, AST_type type, AST_expression expression)
 {
     this.identifier = identifier;
     this.type       = type;
     this.expression = expression;
 }
예제 #5
0
 public AST_assignment(AST_identifier identifier, AST_expression expression)
 {
     this.identifier = identifier;
     this.expression = expression;
 }
예제 #6
0
 public AST_print_statement(AST_expression expression)
 {
     this.expression = expression;
 }
예제 #7
0
 public AST_assert_statement(AST_expression expression)
 {
     this.expression = expression;
 }