blob: 51494cb3663509b03f44280a95810a8404dd87ce (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
|
// $Id$
#include "ast_valuetype_fwd.h"
#include "ast_interface.h"
#include "ast_visitor.h"
#include "utl_identifier.h"
ACE_RCSID( ast,
ast_valuetype_fwd,
"$Id$")
AST_ValueTypeFwd::AST_ValueTypeFwd (void)
{
}
AST_ValueTypeFwd::AST_ValueTypeFwd (AST_Interface *dummy,
UTL_ScopedName *n)
: AST_InterfaceFwd (dummy,
n),
AST_Type (AST_Decl::NT_valuetype_fwd,
n),
AST_Decl (AST_Decl::NT_valuetype_fwd,
n),
COMMON_Base (I_FALSE,
dummy->is_abstract ())
{
}
AST_ValueTypeFwd::~AST_ValueTypeFwd (void)
{
}
// Redefinition of inherited virtual operations.
// Dump this AST_InterfaceFwd node to the ostream o.
void
AST_ValueTypeFwd::dump (ACE_OSTREAM_TYPE &o)
{
if (this->is_abstract ())
{
o << "abstract ";
}
o << "valuetype ";
this->local_name ()->dump (o);
}
int
AST_ValueTypeFwd::ast_accept (ast_visitor *visitor)
{
return visitor->visit_valuetype_fwd (this);
}
void
AST_ValueTypeFwd::destroy (void)
{
}
// Narrowing methods.
IMPL_NARROW_METHODS1 (AST_ValueTypeFwd, AST_InterfaceFwd)
IMPL_NARROW_FROM_DECL (AST_ValueTypeFwd)
|