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
347 348 349 350 351 352 |
# File 'lib/skeem/s_expr_nodes.rb', line 347 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.
339 340 341 |
# File 'lib/skeem/s_expr_nodes.rb', line 339 def bindings @bindings end |
#commands ⇒ Object (readonly)
Returns the value of attribute commands.
343 344 345 |
# File 'lib/skeem/s_expr_nodes.rb', line 343 def commands @commands end |
#do_result ⇒ Object (readonly)
Returns the value of attribute do_result.
342 343 344 |
# File 'lib/skeem/s_expr_nodes.rb', line 342 def do_result @do_result end |
#test ⇒ Object (readonly)
Returns the value of attribute test.
341 342 343 |
# File 'lib/skeem/s_expr_nodes.rb', line 341 def test @test end |
#update_steps ⇒ Object (readonly)
Returns the value of attribute update_steps.
340 341 342 |
# File 'lib/skeem/s_expr_nodes.rb', line 340 def update_steps @update_steps end |
Instance Method Details
#do_expression ⇒ Object
354 355 356 |
# File 'lib/skeem/s_expr_nodes.rb', line 354 def do_expression DoExpression.new(test, do_result, commands, update_steps) end |