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
array-ty.hh
Go to the documentation of this file.
1
6
#ifndef AST_ARRAY_TY_HH
7
# define AST_ARRAY_TY_HH
8
9
# include <
ast/name-ty.hh
>
10
# include <
ast/ty.hh
>
11
12
namespace
ast
13
{
14
16
class
ArrayTy
:
public
Ty
17
{
20
public
:
22
ArrayTy
(
const
Location
& location,
NameTy
* base_type);
24
virtual
~ArrayTy
();
27
28
29
public
:
31
virtual
void
accept
(
ConstVisitor
& v)
const override
;
33
virtual
void
accept
(
Visitor
& v)
override
;
35
38
public
:
40
const
NameTy
&
base_type_get
()
const
;
42
NameTy
&
base_type_get
();
45
protected
:
47
NameTy
*
base_type_
;
48
};
49
50
}
// namespace ast
51
52
# include <
ast/array-ty.hxx
>
53
54
#endif // !AST_ARRAY_TY_HH
ast
array-ty.hh
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2