Class: Vertigo::ForGenerate
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#decls ⇒ Object
Returns the value of attribute decls.
-
#index ⇒ Object
Returns the value of attribute index.
-
#range ⇒ Object
Returns the value of attribute range.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(index = nil, range = nil, decls = [], body = nil) ⇒ ForGenerate
constructor
A new instance of ForGenerate.
Methods inherited from AstNode
Constructor Details
#initialize(index = nil, range = nil, decls = [], body = nil) ⇒ ForGenerate
Returns a new instance of ForGenerate.
330 331 332 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 330 def initialize index=nil,range=nil,decls=[],body=nil @index,@range,@decls,@body=index,range,decls,body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
329 330 331 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 329 def body @body end |
#decls ⇒ Object
Returns the value of attribute decls.
329 330 331 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 329 def decls @decls end |
#index ⇒ Object
Returns the value of attribute index.
329 330 331 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 329 def index @index end |
#range ⇒ Object
Returns the value of attribute range.
329 330 331 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 329 def range @range end |