Class: IDL::Type::ScopedName
Constant Summary
Constants inherited
from IDL::Type
Long, LongLong, Octet, Short, ULong, ULongLong, UShort
Instance Attribute Summary
Attributes inherited from NodeType
#node
Instance Method Summary
collapse
Methods inherited from NodeType
#initialize
Methods inherited from IDL::Type
#is_anonymous?, #typeerror
Instance Method Details
#instantiate(_context) ⇒ Object
#is_complete? ⇒ Boolean
89
90
91
|
# File 'lib/ridl/type.rb', line 89
def is_complete?
resolved_type.is_complete?
end
|
#is_local?(recurstk = []) ⇒ Boolean
92
93
94
|
# File 'lib/ridl/type.rb', line 92
def is_local?(recurstk = [])
resolved_type.is_local?(recurstk)
end
|
#is_node?(node_class) ⇒ Boolean
95
96
97
|
# File 'lib/ridl/type.rb', line 95
def is_node?(node_class)
@node.is_a?(IDL::AST::Typedef) ? @node.idltype.is_node?(node_class) : @node.is_a?(node_class)
end
|
#is_template? ⇒ Boolean
101
102
103
|
# File 'lib/ridl/type.rb', line 101
def is_template?
@node.is_template?
end
|
#narrow(obj) ⇒ Object
83
84
85
|
# File 'lib/ridl/type.rb', line 83
def narrow(obj)
@node.idltype.narrow(obj)
end
|
#resolved_node ⇒ Object
98
99
100
|
# File 'lib/ridl/type.rb', line 98
def resolved_node
@node.is_a?(IDL::AST::Typedef) ? @node.idltype.resolved_node : @node
end
|
#resolved_type ⇒ Object
86
87
88
|
# File 'lib/ridl/type.rb', line 86
def resolved_type
@node.idltype.resolved_type
end
|
80
81
82
|
# File 'lib/ridl/type.rb', line 80
def typename
@node.name
end
|