blob: e2fb9929b66a370ccf6bd7d1b66aea5b24e26d55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/**
** \file ast/int-exp.cc
** \brief Implementation of ast::IntExp.
*/
#include <ast/int-exp.hh>
#include <ast/visitor.hh>
namespace ast
{
IntExp::IntExp(const Location& location, int value)
: Exp(location)
, value_(value)
{}
void IntExp::accept(ConstVisitor& v) const { v(*this); }
void IntExp::accept(Visitor& v) { v(*this); }
} // namespace ast
|