1 #include "ast_extended_port.h"
2 #include "ast_visitor.h"
4 #include "utl_identifier.h"
5 #include "utl_indenter.h"
6 #include "global_extern.h"
8 AST_Decl::NodeType
const
9 AST_Extended_Port::NT
= AST_Decl::NT_ext_port
;
11 AST_Extended_Port::AST_Extended_Port (
13 AST_PortType
*porttype_ref
)
16 AST_Decl (AST_Decl::NT_ext_port
,
18 AST_Field (AST_Decl::NT_ext_port
,
24 AST_Extended_Port::~AST_Extended_Port (void)
29 AST_Extended_Port::port_type (void) const
31 return dynamic_cast<AST_PortType
*> (this->field_type ());
35 AST_Extended_Port::destroy (void)
37 this->AST_Field::destroy ();
41 AST_Extended_Port::dump (ACE_OSTREAM_TYPE
&o
)
43 this->dump_i (o
, "port ");
45 this->local_name ()->dump (o
);
49 AST_Extended_Port::ast_accept (ast_visitor
*visitor
)
51 return visitor
->visit_extended_port (this);
54 IMPL_NARROW_FROM_DECL (AST_Extended_Port
)