summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/type-constructor.hxx
blob: 86933f3a835a6b3765d142ffb78697ee1866500d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 ** \file ast/type-constructor.hxx
 ** \brief Inline methods of ast::TypeConstructor.
 */

#pragma once

#include <ast/type-constructor.hh>
#include <type/types.hh>

namespace ast
{
  // FIXME DONE: Some code was deleted here.
  inline void TypeConstructor::created_type_set(const type::Type* typ)
  {
      reference_ = typ;
  }

  inline const type::Type* TypeConstructor::created_type_get() const
  {
      return reference_;
  }
} // namespace ast