Class: Opencdd::Cddal::AST::ClassReference
- Inherits:
-
Struct
- Object
- Struct
- Opencdd::Cddal::AST::ClassReference
- Defined in:
- lib/opencdd/cddal/ast.rb
Instance Attribute Summary collapse
-
#argument ⇒ Object
Returns the value of attribute argument.
-
#type_name ⇒ Object
Returns the value of attribute type_name.
Instance Method Summary collapse
Instance Attribute Details
#argument ⇒ Object
Returns the value of attribute argument
138 139 140 |
# File 'lib/opencdd/cddal/ast.rb', line 138 def argument @argument end |
#type_name ⇒ Object
Returns the value of attribute type_name
138 139 140 |
# File 'lib/opencdd/cddal/ast.rb', line 138 def type_name @type_name end |
Instance Method Details
#to_cddal ⇒ Object
139 140 141 |
# File 'lib/opencdd/cddal/ast.rb', line 139 def to_cddal "#{type_name}(#{argument})" end |