2 #include "ast_interface.h"
3 #include "ast_visitor.h"
5 AST_Decl::NodeType
const
6 AST_Uses::NT
= AST_Decl::NT_uses
;
8 AST_Uses::AST_Uses (UTL_ScopedName
*n
,
12 AST_Decl (AST_Decl::NT_uses
,
14 AST_Field (AST_Decl::NT_uses
,
17 is_multiple_ (is_multiple
)
21 AST_Uses::~AST_Uses ()
26 AST_Uses::uses_type () const
28 return this->field_type ();
32 AST_Uses::is_multiple () const
34 return this->is_multiple_
;
38 AST_Uses::dump (ACE_OSTREAM_TYPE
&o
)
40 this->dump_i (o
, "uses ");
41 this->AST_Field::dump (o
);
45 AST_Uses::ast_accept (ast_visitor
*visitor
)
47 return visitor
->visit_uses (this);
53 this->AST_Field::destroy ();