blob: e89b622e93480ab30026fc450c9b9ac278bc45ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/**
** \file ast/simple-var.hxx
** \brief Inline methods of ast::SimpleVar.
*/
#pragma once
#include <ast/simple-var.hh>
namespace ast
{
inline misc::symbol SimpleVar::name_get() const { return name_; }
inline void SimpleVar::name_set(misc::symbol name) { name_ = name; }
inline const VarDec* SimpleVar::def_get() const { return def_; }
inline VarDec* SimpleVar::def_get() { return def_; }
inline void SimpleVar::def_set(VarDec* def) { def_ = def; }
} // namespace ast
|