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

#pragma once

#include <ast/break-exp.hh>

// Hint: this needs to be done at TC-3.

namespace ast
{

  // FIXME DONE: Some code was deleted here.
  inline const Exp* BreakExp::def_get() const { return def_; }
  inline Exp* BreakExp::def_get() { return def_; }
  // FIXME DONE: Some code was deleted here.
  inline void BreakExp::def_set(Exp* def) { def_ = def; }

} // namespace ast