Class: IDL::AST::Porttype
- Defined in:
- lib/ridl/node.rb,
lib/ridl/node.rb
Overview
Component
Constant Summary collapse
Instance Attribute Summary collapse
-
#idltype ⇒ Object
readonly
Returns the value of attribute idltype.
Attributes inherited from Leaf
#annotations, #enclosure, #intern, #lm_name, #name, #prefix, #scopes
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize(_name, _enclosure, params) ⇒ Porttype
constructor
A new instance of Porttype.
- #instantiate(_context, _enclosure) ⇒ Object
- #ports ⇒ Object
Methods inherited from Node
#define, #introduce, #is_definable?, #marshal_dump, #marshal_load, #match_members, #redefine, #replace_prefix, #resolve, #undo_introduction, #walk_members
Methods inherited from Leaf
#_set_prefix, #has_annotations?, #is_local?, #is_template?, #lm_name_for_scope, #marshal_dump, #marshal_load, #parsed_name_scope, #replace_prefix, #repo_scopes, #repository_id, #resolve, #scoped_lm_name, #scoped_name, #set_repo_id, #set_repo_version, #typename
Constructor Details
Instance Attribute Details
#idltype ⇒ Object (readonly)
Returns the value of attribute idltype.
1528 1529 1530 |
# File 'lib/ridl/node.rb', line 1528 def idltype @idltype end |
Instance Method Details
#attributes ⇒ Object
1538 1539 1540 |
# File 'lib/ridl/node.rb', line 1538 def attributes @children.select {|c| IDL::AST::Attribute === c} end |
#instantiate(_context, _enclosure) ⇒ Object
1542 1543 1544 |
# File 'lib/ridl/node.rb', line 1542 def instantiate(_context, _enclosure) super(_context, _enclosure, {}) end |