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