summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/class-ty.hxx
blob: 70c291be161eaf494c5f4fe0b5cb358710cadb79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 ** \file ast/class-ty.hxx
 ** \brief Inline methods of ast::ClassTy.
 */

#pragma once

#include <ast/class-ty.hh>

namespace ast
{

  inline const NameTy& ClassTy::super_get() const { return *super_; }
  inline NameTy& ClassTy::super_get() { return *super_; }

  inline const ChunkList& ClassTy::chunks_get() const { return *chunks_; }
  inline ChunkList& ClassTy::chunks_get() { return *chunks_; }

} // namespace ast