class IDL::AST::Typedef

Attributes

idltype[R]

Public Class Methods

new(_name, _enclosure, params) click to toggle source
Calls superclass method IDL::AST::Leaf::new
# File lib/ridl/node.rb, line 2896
def initialize(_name, _enclosure, params)
  super(_name, _enclosure)
  @idltype = params[:type]
end

Public Instance Methods

instantiate(instantiation_context, _enclosure) click to toggle source
Calls superclass method IDL::AST::Leaf#instantiate
# File lib/ridl/node.rb, line 2914
def instantiate(instantiation_context, _enclosure)
  super(instantiation_context, _enclosure, { type: @idltype.instantiate(instantiation_context) })
end
is_local?(recurstk = []) click to toggle source
# File lib/ridl/node.rb, line 2901
def is_local?(recurstk = [])
  @idltype.is_local?(recurstk)
end
marshal_dump() click to toggle source
Calls superclass method IDL::AST::Leaf#marshal_dump
# File lib/ridl/node.rb, line 2905
def marshal_dump
  super() << @idltype
end
marshal_load(vars) click to toggle source
Calls superclass method IDL::AST::Leaf#marshal_load
# File lib/ridl/node.rb, line 2909
def marshal_load(vars)
  @idltype = vars.pop
  super(vars)
end