Exemple #1
0
 def accept(self, visitor: Visitor):
     return visitor.visit_increment_decrement_command(self)
Exemple #2
0
 def accept(self, visitor: Visitor) -> str:
     return visitor.visit_program(self)
Exemple #3
0
 def accept(self, visitor: Visitor):
     return visitor.visit_write_command(self)
Exemple #4
0
 def accept(self, visitor: Visitor):
     return visitor.visit_jump_command(self)
Exemple #5
0
 def accept(self, visitor: Visitor):
     return visitor.visit_array_declaration(self)
Exemple #6
0
 def accept(self, visitor: Visitor):
     return visitor.visit_read_command(self)
Exemple #7
0
 def accept(self, visitor: Visitor):
     return visitor.visit_if_then_command(self)
Exemple #8
0
 def accept(self, visitor: Visitor):
     return visitor.visit_array_element_by_variable_identifier(self)
Exemple #9
0
 def accept(self, visitor: Visitor):
     return visitor.visit_commands(self)
Exemple #10
0
 def accept(self, visitor: Visitor):
     return visitor.visit_assignment_command(self)
Exemple #11
0
 def accept(self, visitor: Visitor):
     return visitor.visit_two_value_condition(self)
Exemple #12
0
 def accept(self, visitor: Visitor):
     return visitor.visit_expression_having_two_values(self)
Exemple #13
0
 def accept(self, visitor: Visitor):
     return visitor.visit_declarations(self)
Exemple #14
0
 def accept(self, visitor: Visitor):
     return visitor.visit_identifier_value(self)
Exemple #15
0
 def accept(self, visitor: Visitor):
     return visitor.visit_do_while_command(self)
Exemple #16
0
 def accept(self, visitor: Visitor):
     return visitor.visit_variable_identifier(self)
Exemple #17
0
 def accept(self, visitor: Visitor):
     return visitor.visit_int_number_value(self)
Exemple #18
0
 def accept(self, visitor: Visitor):
     return visitor.visit_array_element_by_int_number_identifier(self)
Exemple #19
0
 def accept(self, visitor: Visitor):
     return visitor.visit_number_declaration(self)