summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/type/field.hxx
blob: b4d96305d9eae2df90996268d361a1cb954557de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 ** \file type/field.hxx
 ** \brief Inline methods for type::Field.
 */
#pragma once

#include <misc/contract.hh>
#include <type/field.hh>

namespace type
{
  inline misc::symbol Field::name_get() const { return name_; }

  inline const Type& Field::type_get() const { return type_; }

} // namespace type