LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
dec.hh
Go to the documentation of this file.
1
6
#ifndef AST_DEC_HH
7
# define AST_DEC_HH
8
9
# include <
ast/ast.hh
>
10
# include <
ast/typable.hh
>
11
# include <
misc/symbol.hh
>
12
13
namespace
ast
14
{
15
17
class
Dec
:
public
Ast
,
public
Typable
18
{
21
public
:
23
Dec
(
const
Location
& location,
const
misc::symbol
& name);
25
virtual
~Dec
();
28
29
30
public
:
32
virtual
void
accept
(
ConstVisitor
& v)
const override
= 0;
34
virtual
void
accept
(
Visitor
& v)
override
= 0;
36
39
public
:
41
const
misc::symbol
&
name_get
()
const
;
43
void
name_set
(
const
misc::symbol
&);
46
protected
:
48
misc::symbol
name_
;
49
};
50
51
}
// namespace ast
52
53
# include <
ast/dec.hxx
>
54
55
#endif // !AST_DEC_HH
ast
dec.hh
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2