summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/type/fwd.hh
blob: 9fa9fca2eb389a574b596cb24e790b638b3b6257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
 ** \file type/fwd.hh
 ** \brief Forward declarations for the type module.
 */

#pragma once

#include <misc/fwd.hh>

namespace type
{
  class Array;
  class Attribute;
  class Class;
  class Field;
  class Function;
  class Int;
  class Method;
  class Named;
  class Nil;
  class Record;
  class String;
  class Type;
  class Void;

  // From visitor.hh
  template <template <typename> class Const> class GenVisitor;
  using ConstVisitor = GenVisitor<misc::constify_traits>;
  using Visitor = GenVisitor<misc::id_traits>;

} // namespace type