Design Patterns
code_generator_interface.h
Go to the documentation of this file.
1 // Based on "Design Patterns: Elements of Reusable Object-Oriented Software"
2 // book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
3 //
4 // Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan.
5 
6 #ifndef STRUCTURAL_FACADE_CODE_GENERATOR_INTERFACE_H_
7 #define STRUCTURAL_FACADE_CODE_GENERATOR_INTERFACE_H_
8 
12 
13 namespace structural
14 {
15 namespace facade
16 {
18 {
19  public:
21 
22  virtual void Visit(VariableNodeInterface*) = 0;
23  virtual void Visit(ExpressionNodeInterface*) = 0;
24  virtual void Visit(StatementNodeInterface*) = 0;
25 };
26 }
27 }
28 
29 #endif
30 
Definition: shape_interface.h:11
Definition: code_generator_interface.h:17
Definition: statement_node_interface.h:15
Definition: variable_node_interface.h:15
virtual ~CodeGeneratorInterface()
Definition: code_generator_interface.h:20
Definition: expression_node_interface.h:15
virtual void Visit(VariableNodeInterface *)=0