blob: 531d7441fdc06bda50336708a7ce4e3541b9aa74 (
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
|
// $Id$
#include "ast_emits.h"
#include "ast_visitor.h"
AST_Emits::AST_Emits (UTL_ScopedName *n,
AST_Type *emits_type)
: COMMON_Base (),
AST_Decl (AST_Decl::NT_emits,
n),
AST_Field (AST_Decl::NT_emits,
emits_type,
n)
{
}
AST_Emits::~AST_Emits (void)
{
}
AST_Type *
AST_Emits::emits_type (void) const
{
return this->field_type ();
}
void
AST_Emits::dump (ACE_OSTREAM_TYPE &o)
{
this->dump_i (o, "emits ");
this->AST_Field::dump (o);
}
int
AST_Emits::ast_accept (ast_visitor *visitor)
{
return visitor->visit_emits (this);
}
void
AST_Emits::destroy (void)
{
this->AST_Field::destroy ();
}
IMPL_NARROW_FROM_DECL(AST_Emits)
|