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