Class: Vertigo::SubTypeDecl
- 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) ⇒ SubTypeDecl
constructor
A new instance of SubTypeDecl.
Methods inherited from AstNode
Constructor Details
#initialize(name = nil, spec = nil) ⇒ SubTypeDecl
Returns a new instance of SubTypeDecl.
351 352 353 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 351 def initialize name=nil,spec=nil @name,@spec=name,spec end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
350 351 352 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 350 def name @name end |
#spec ⇒ Object
Returns the value of attribute spec.
350 351 352 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 350 def spec @spec end |