Class: Kapusta::Compiler::Language::FaccumulateForm
- Inherits:
-
Struct
- Object
- Struct
- Kapusta::Compiler::Language::FaccumulateForm
- Defined in:
- lib/kapusta/compiler/language.rb
Instance Attribute Summary collapse
-
#bindings ⇒ Object
Returns the value of attribute bindings.
-
#body ⇒ Object
Returns the value of attribute body.
Instance Method Summary collapse
- #acc_name ⇒ Object
- #counter ⇒ Object
- #finish ⇒ Object
- #initial ⇒ Object
- #items ⇒ Object
- #start ⇒ Object
- #step ⇒ Object
Instance Attribute Details
#bindings ⇒ Object
Returns the value of attribute bindings
78 79 80 |
# File 'lib/kapusta/compiler/language.rb', line 78 def bindings @bindings end |
#body ⇒ Object
Returns the value of attribute body
78 79 80 |
# File 'lib/kapusta/compiler/language.rb', line 78 def body @body end |
Instance Method Details
#acc_name ⇒ Object
81 |
# File 'lib/kapusta/compiler/language.rb', line 81 def acc_name = items[0] |
#counter ⇒ Object
85 |
# File 'lib/kapusta/compiler/language.rb', line 85 def counter = items[2] |
#finish ⇒ Object
89 |
# File 'lib/kapusta/compiler/language.rb', line 89 def finish = items[4] |
#initial ⇒ Object
83 |
# File 'lib/kapusta/compiler/language.rb', line 83 def initial = items[1] |
#items ⇒ Object
79 |
# File 'lib/kapusta/compiler/language.rb', line 79 def items = bindings.is_a?(Vec) ? bindings.items : [] |
#start ⇒ Object
87 |
# File 'lib/kapusta/compiler/language.rb', line 87 def start = items[3] |
#step ⇒ Object
91 |
# File 'lib/kapusta/compiler/language.rb', line 91 def step = items[5] |