Class: Skeem::SkmDoExprBuilder
- Inherits:
-
Object
- Object
- Skeem::SkmDoExprBuilder
- Defined in:
- lib/skeem/s_expr_nodes.rb
Overview
class
Instance Attribute Summary collapse
-
#bindings ⇒ Object
readonly
Returns the value of attribute bindings.
-
#commands ⇒ Object
readonly
Returns the value of attribute commands.
-
#do_result ⇒ Object
readonly
Returns the value of attribute do_result.
-
#test ⇒ Object
readonly
Returns the value of attribute test.
-
#update_steps ⇒ Object
readonly
Returns the value of attribute update_steps.
Instance Method Summary collapse
- #do_expression ⇒ Object
-
#initialize(iterSpecs, aTest, doResult, theCommands) ⇒ SkmDoExprBuilder
constructor
3 => iteration_spec_star, 6 => test, 7 => do_result, 9 => command_star.
Constructor Details
#initialize(iterSpecs, aTest, doResult, theCommands) ⇒ SkmDoExprBuilder
3 => iteration_spec_star, 6 => test, 7 => do_result, 9 => command_star
349 350 351 352 353 354 |
# File 'lib/skeem/s_expr_nodes.rb', line 349 def initialize(iterSpecs, aTest, doResult, theCommands) iteration_specs_set(iterSpecs) @test = aTest @do_result = doResult commands_set(theCommands) end |
Instance Attribute Details
#bindings ⇒ Object (readonly)
Returns the value of attribute bindings.
341 342 343 |
# File 'lib/skeem/s_expr_nodes.rb', line 341 def bindings @bindings end |
#commands ⇒ Object (readonly)
Returns the value of attribute commands.
345 346 347 |
# File 'lib/skeem/s_expr_nodes.rb', line 345 def commands @commands end |
#do_result ⇒ Object (readonly)
Returns the value of attribute do_result.
344 345 346 |
# File 'lib/skeem/s_expr_nodes.rb', line 344 def do_result @do_result end |
#test ⇒ Object (readonly)
Returns the value of attribute test.
343 344 345 |
# File 'lib/skeem/s_expr_nodes.rb', line 343 def test @test end |
#update_steps ⇒ Object (readonly)
Returns the value of attribute update_steps.
342 343 344 |
# File 'lib/skeem/s_expr_nodes.rb', line 342 def update_steps @update_steps end |
Instance Method Details
#do_expression ⇒ Object
356 357 358 |
# File 'lib/skeem/s_expr_nodes.rb', line 356 def do_expression DoExpression.new(test, do_result, commands, update_steps) end |