1 #include "be_publishes.h"
2 #include "be_eventtype.h"
3 #include "be_visitor.h"
5 be_publishes::be_publishes (UTL_ScopedName
*n
,
6 AST_Type
*publishes_type
)
9 AST_Decl (AST_Decl::NT_publishes
,
11 AST_Field (AST_Decl::NT_publishes
,
16 be_decl (AST_Decl::NT_publishes
,
18 be_field (publishes_type
,
23 be_publishes::~be_publishes ()
28 be_publishes::publishes_type () const
31 dynamic_cast<be_eventtype
*> (
32 this->AST_Publishes::publishes_type ());
36 be_publishes::accept (be_visitor
*visitor
)
38 return visitor
->visit_publishes (this);
42 be_publishes::destroy ()
44 this->AST_Publishes::destroy ();
45 this->be_field::destroy ();