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

#pragma once

#include <ast/while-exp.hh>

namespace ast
{

  inline const Exp& WhileExp::test_get() const { return *test_; }
  inline Exp& WhileExp::test_get() { return *test_; }

  inline const Exp& WhileExp::body_get() const { return *body_; }
  inline Exp& WhileExp::body_get() { return *body_; }

} // namespace ast