class IDL::Type::Const
def initialize(t)
def initialize(t) @type = t @typename = "const #{t.typename}" end
def instantiate(instantiation_context)
def instantiate(instantiation_context) self.is_template? ? Type::Const.new(@type.instantiate(instantiation_context)) : self end
def is_anonymous?
def is_anonymous? t.resolved_type.is_anonymous? end
def is_complete?
def is_complete? @type.resolved_type.is_complete? end
def is_local?(recurstk = [])
def is_local?(recurstk = []) @type.resolved_type.is_local?(recurstk) end
def is_node?(node_class)
def is_node?(node_class) @type.is_node?(node_class) end
def is_template?
def is_template? @type.is_template? end
def matches?(idltype)
def matches?(idltype) super && self.type.resolved_type.matches?(idltype.type.resolved_type) end
def narrow(obj)
def narrow(obj) @type.narrow(obj) end
def resolved_node
def resolved_node @type.resolved_node end
def typename
def typename @typename end