Class: Chelsy::Typedef
- Inherits:
-
Declarative
- Object
- Node
- Element
- Declarative
- Chelsy::Typedef
- Defined in:
- lib/chelsy/ast.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Declarative
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(name, type, **rest) ⇒ Typedef
constructor
A new instance of Typedef.
Methods inherited from Declarative
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
1124 1125 1126 |
# File 'lib/chelsy/ast.rb', line 1124 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
1124 1125 1126 |
# File 'lib/chelsy/ast.rb', line 1124 def type @type end |