1 #include "be_consumes.h"
2 #include "be_eventtype.h"
3 #include "be_visitor.h"
5 be_consumes::be_consumes (UTL_ScopedName
*n
,
6 AST_Type
*consumes_type
)
9 AST_Decl (AST_Decl::NT_consumes
,
11 AST_Field (AST_Decl::NT_consumes
,
16 be_decl (AST_Decl::NT_consumes
,
18 be_field (consumes_type
,
23 be_consumes::~be_consumes (void)
28 be_consumes::consumes_type (void) const
31 dynamic_cast<be_eventtype
*> (
32 this->AST_Consumes::consumes_type ());
36 be_consumes::accept (be_visitor
*visitor
)
38 return visitor
->visit_consumes (this);
42 be_consumes::destroy (void)
44 this->AST_Consumes::destroy ();
45 this->be_field::destroy ();
48 IMPL_NARROW_FROM_DECL (be_consumes
)