1 #include "be_extended_port.h"
2 #include "be_visitor.h"
4 #include "ast_porttype.h"
6 be_extended_port::be_extended_port (
8 AST_PortType
*porttype_ref
)
11 AST_Decl (AST_Decl::NT_ext_port
,
13 AST_Field (AST_Decl::NT_ext_port
,
18 be_decl (AST_Decl::NT_ext_port
,
20 be_field (porttype_ref
,
25 be_extended_port::~be_extended_port ()
30 be_extended_port::port_type () const
33 dynamic_cast<be_porttype
*> (
34 this->AST_Extended_Port::port_type ());
38 be_extended_port::destroy ()
40 this->AST_Extended_Port::destroy ();
41 this->be_field::destroy ();
45 be_extended_port::accept (be_visitor
*visitor
)
47 return visitor
->visit_extended_port (this);