LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ty.hh
Go to the documentation of this file.
1 
6 #ifndef AST_TY_HH
7 # define AST_TY_HH
8 
9 # include <ast/type-constructor.hh>
10 # include <ast/ast.hh>
11 # include <ast/typable.hh>
12 
13 namespace ast
14 {
15 
17  class Ty : public Ast, public Typable, public TypeConstructor
18  {
21  public:
23  Ty(const Location& location);
25  virtual ~Ty();
28 
29 
30  public:
32  virtual void accept(ConstVisitor& v) const override = 0;
34  virtual void accept(Visitor& v) override = 0;
36  };
37 
38 } // namespace ast
39 
40 # include <ast/ty.hxx>
41 
42 #endif // !AST_TY_HH