summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/type-dec.hxx
blob: 69dc0867c8a182279315046737e16ed38b9d748b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 ** \file ast/type-dec.hxx
 ** \brief Inline methods of ast::TypeDec.
 */

#pragma once

#include <ast/type-dec.hh>

namespace ast
{

  inline const Ty& TypeDec::ty_get() const { return *ty_; }
  inline Ty& TypeDec::ty_get() { return *ty_; }

} // namespace ast