Class: Vertigo::TypeDecl
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#spec ⇒ Object
Returns the value of attribute spec.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(name = nil, spec = nil) ⇒ TypeDecl
constructor
A new instance of TypeDecl.
Methods inherited from AstNode
Constructor Details
#initialize(name = nil, spec = nil) ⇒ TypeDecl
Returns a new instance of TypeDecl.
344 345 346 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 344 def initialize name=nil,spec=nil @name,@spec=name,spec end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
343 344 345 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 343 def name @name end |
#spec ⇒ Object
Returns the value of attribute spec.
343 344 345 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 343 def spec @spec end |