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
class-ty.hh
Go to the documentation of this file.
1
6
#ifndef AST_CLASS_TY_HH
7
# define AST_CLASS_TY_HH
8
9
# include <
ast/name-ty.hh
>
10
# include <
ast/ty.hh
>
11
# include <
ast/decs-list.hh
>
12
13
namespace
ast
14
{
15
17
class
ClassTy
:
public
Ty
18
{
21
public
:
23
ClassTy
(
const
Location
& location,
NameTy
* super,
DecsList
* decs);
25
virtual
~ClassTy
();
28
29
30
public
:
32
virtual
void
accept
(
ConstVisitor
& v)
const override
;
34
virtual
void
accept
(
Visitor
& v)
override
;
36
39
public
:
41
const
NameTy
&
super_get
()
const
;
43
NameTy
&
super_get
();
45
const
DecsList
&
decs_get
()
const
;
47
DecsList
&
decs_get
();
50
protected
:
52
NameTy
*
super_
;
54
DecsList
*
decs_
;
55
};
56
57
}
// namespace ast
58
59
# include <
ast/class-ty.hxx
>
60
61
#endif // !AST_CLASS_TY_HH
ast
class-ty.hh
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2