blob: 7b6cb07f227effca49df032c75a90bc223b659c7 (
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/if-exp.hxx
** \brief Inline methods of ast::IfExp.
*/
#pragma once
#include <ast/if-exp.hh>
namespace ast
{
inline const Exp& IfExp::test_get() const { return *test_; }
inline Exp& IfExp::test_get() { return *test_; }
inline const Exp& IfExp::thenclause_get() const { return *thenclause_; }
inline Exp& IfExp::thenclause_get() { return *thenclause_; }
inline const Exp& IfExp::elseclause_get() const { return *elseclause_; }
inline Exp& IfExp::elseclause_get() { return *elseclause_; }
} // namespace ast
|