Class: ZOMG::IDL::Nodes::Typedef
- Defined in:
- lib/zomg/idl/nodes/typedef.rb
Instance Attribute Summary collapse
-
#type_spec ⇒ Object
Returns the value of attribute type_spec.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(type_spec, declarators) ⇒ Typedef
constructor
A new instance of Typedef.
Methods inherited from Node
#duhr, #to_i, #to_ruby, #to_ruby_sexp, #to_sexp
Methods included from Visitable
Constructor Details
#initialize(type_spec, declarators) ⇒ Typedef
Returns a new instance of Typedef.
6 7 8 9 |
# File 'lib/zomg/idl/nodes/typedef.rb', line 6 def initialize(type_spec, declarators) @type_spec = type_spec super(declarators) end |
Instance Attribute Details
#type_spec ⇒ Object
Returns the value of attribute type_spec.
5 6 7 |
# File 'lib/zomg/idl/nodes/typedef.rb', line 5 def type_spec @type_spec end |