diff options
Diffstat (limited to 'tiger-compiler/src/ast/break-exp.cc')
| -rw-r--r-- | tiger-compiler/src/ast/break-exp.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tiger-compiler/src/ast/break-exp.cc b/tiger-compiler/src/ast/break-exp.cc new file mode 100644 index 0000000..3c76946 --- /dev/null +++ b/tiger-compiler/src/ast/break-exp.cc @@ -0,0 +1,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 |
