1 #include "ast_consumes.h"
2 #include "ast_visitor.h"
4 AST_Decl::NodeType
const
5 AST_Consumes::NT
= AST_Decl::NT_consumes
;
7 AST_Consumes::AST_Consumes (UTL_ScopedName
*n
,
8 AST_Type
*consumes_type
)
11 AST_Decl (AST_Decl::NT_consumes
,
13 AST_Field (AST_Decl::NT_consumes
,
19 AST_Consumes::~AST_Consumes (void)
24 AST_Consumes::consumes_type (void) const
26 return this->field_type ();
30 AST_Consumes::dump (ACE_OSTREAM_TYPE
&o
)
32 this->dump_i (o
, "consumes ");
33 this->AST_Field::dump (o
);
37 AST_Consumes::ast_accept (ast_visitor
*visitor
)
39 return visitor
->visit_consumes (this);
43 AST_Consumes::destroy (void)
45 this->AST_Field::destroy ();
48 IMPL_NARROW_FROM_DECL(AST_Consumes
)