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

#pragma once

#include <ast/cast-exp.hh>

namespace ast
{

  inline const Exp& CastExp::exp_get() const { return *exp_; }
  inline Exp& CastExp::exp_get() { return *exp_; }

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

} // namespace ast