summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/break-exp.cc
blob: 3c76946990c48df17f8838466ee7bd84d060ee53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 ** \file ast/break-exp.cc
 ** \brief Implementation of ast::BreakExp.
 */

#include <ast/break-exp.hh>
#include <ast/visitor.hh>

namespace ast
{
  BreakExp::BreakExp(const Location& location)
    : Exp(location)
  {}

  void BreakExp::accept(ConstVisitor& v) const { v(*this); }

  void BreakExp::accept(Visitor& v) { v(*this); }
} // namespace ast