Class: LibRubyParser::Nodes::UntilPost
- Inherits:
-
LibRubyParser::Node
- Object
- LibRubyParser::Node
- LibRubyParser::Nodes::UntilPost
- Defined in:
- lib/lib-ruby-parser/nodes.rb
Overview
Represents a post-until loop
begin
foo
end until bar
Instance Attribute Summary collapse
-
#body ⇒ Node
readonly
Body of the loop.
-
#cond ⇒ Node
readonly
Condition of the loop.
-
#expression_l ⇒ Loc
readonly
Location of the
until
keyword. -
#keyword_l ⇒ Loc
readonly
Location of the
until
keyword.
Instance Attribute Details
#body ⇒ Node (readonly)
Body of the loop
4143 4144 4145 |
# File 'lib/lib-ruby-parser/nodes.rb', line 4143 def body @body end |
#cond ⇒ Node (readonly)
Condition of the loop
4139 4140 4141 |
# File 'lib/lib-ruby-parser/nodes.rb', line 4139 def cond @cond end |
#expression_l ⇒ Loc (readonly)
Location of the until
keyword
begin; foo; end until bar
~~~~~~~~~~~~~~~~~~~~~~~~~
4161 4162 4163 |
# File 'lib/lib-ruby-parser/nodes.rb', line 4161 def expression_l @expression_l end |
#keyword_l ⇒ Loc (readonly)
Location of the until
keyword
begin; foo; end until bar
~~~~~
4152 4153 4154 |
# File 'lib/lib-ruby-parser/nodes.rb', line 4152 def keyword_l @keyword_l end |