blob: 2d06d074beaa03fb8b32f7ef8c217376856c3820 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
// $Id$
#include "ast_param_holder.h"
#include "utl_identifier.h"
AST_Param_Holder::AST_Param_Holder (UTL_ScopedName *parameter_name,
FE_Utils::T_Param_Info *info)
: COMMON_Base (false,
false),
AST_Decl (AST_Decl::NT_param_holder,
parameter_name),
AST_Type (AST_Decl::NT_param_holder,
parameter_name),
info_ (info)
{
}
AST_Param_Holder::~AST_Param_Holder (void)
{
}
FE_Utils::T_Param_Info const *
AST_Param_Holder::info (void) const
{
return this->info_;
}
void
AST_Param_Holder::destroy (void)
{
this->AST_Type::destroy ();
}
int
AST_Param_Holder::ast_accept (ast_visitor *)
{
// This node isn't part of the AST, but managed by
// its reference holder.
return 0;
}
void
AST_Param_Holder::dump (ACE_OSTREAM_TYPE & /* o */)
{
}
IMPL_NARROW_FROM_DECL (AST_Param_Holder)
|