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

#pragma once

#include <ast/assign-exp.hh>

namespace ast
{

  inline const Var& AssignExp::var_get() const { return *var_; }
  inline Var& AssignExp::var_get() { return *var_; }

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

} // namespace ast