blob: c81d30f8611aa6ccec9e55af957ed368e083370f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/**
** \file ast/for-exp.hxx
** \brief Inline methods of ast::ForExp.
*/
#pragma once
#include <ast/for-exp.hh>
namespace ast
{
inline const VarDec& ForExp::vardec_get() const { return *vardec_; }
inline VarDec& ForExp::vardec_get() { return *vardec_; }
inline const Exp& ForExp::hi_get() const { return *hi_; }
inline Exp& ForExp::hi_get() { return *hi_; }
inline const Exp& ForExp::body_get() const { return *body_; }
inline Exp& ForExp::body_get() { return *body_; }
} // namespace ast
|