class IDL::AST::Porttype

Constants

DEFINABLE

Attributes

idltype[R]

Public Class Methods

new(_name, _enclosure, _params) click to toggle source
Calls superclass method IDL::AST::Node::new
# File lib/ridl/node.rb, line 1567
def initialize(_name, _enclosure, _params)
  super(_name, _enclosure)
  @idltype = IDL::Type::Porttype.new(self)
end

Public Instance Methods

attributes() click to toggle source
# File lib/ridl/node.rb, line 1576
def attributes
  @children.select { |c| IDL::AST::Attribute === c }
end
instantiate(instantiation_context, _enclosure) click to toggle source
Calls superclass method IDL::AST::Leaf#instantiate
# File lib/ridl/node.rb, line 1580
def instantiate(instantiation_context, _enclosure)
  super(instantiation_context, _enclosure, {})
end
ports() click to toggle source
# File lib/ridl/node.rb, line 1572
def ports
  @children.select { |c| IDL::AST::Port === c }
end