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
method-dec.hh
Go to the documentation of this file.
1
6
#ifndef AST_METHOD_DEC_HH
7
# define AST_METHOD_DEC_HH
8
9
# include <
ast/function-dec.hh
>
10
11
namespace
ast
12
{
13
22
class
MethodDec
:
public
FunctionDec
23
{
26
public
:
28
MethodDec
(
const
Location
& location,
const
misc::symbol
& name,
29
VarDecs
* formals,
NameTy
* result,
Exp
* body);
31
virtual
~MethodDec
();
34
35
36
public
:
38
virtual
void
accept
(
ConstVisitor
& v)
const override
;
40
virtual
void
accept
(
Visitor
& v)
override
;
42
};
43
44
}
// namespace ast
45
46
# include <
ast/method-dec.hxx
>
47
48
#endif // !AST_METHOD_DEC_HH
ast
method-dec.hh
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2