Class: LibRubyParser::Nodes::UntilPost

Inherits:
LibRubyParser::Node show all
Defined in:
lib/lib-ruby-parser/nodes.rb

Overview

Represents a post-until loop

begin
foo
end until bar

Instance Attribute Summary collapse

Instance Attribute Details

#bodyNode (readonly)

Body of the loop

Returns:



4143
4144
4145
# File 'lib/lib-ruby-parser/nodes.rb', line 4143

def body
  @body
end

#condNode (readonly)

Condition of the loop

Returns:



4139
4140
4141
# File 'lib/lib-ruby-parser/nodes.rb', line 4139

def cond
  @cond
end

#expression_lLoc (readonly)

Location of the until keyword

begin; foo; end until bar
~~~~~~~~~~~~~~~~~~~~~~~~~

Returns:



4161
4162
4163
# File 'lib/lib-ruby-parser/nodes.rb', line 4161

def expression_l
  @expression_l
end

#keyword_lLoc (readonly)

Location of the until keyword

begin; foo; end until bar
                ~~~~~

Returns:



4152
4153
4154
# File 'lib/lib-ruby-parser/nodes.rb', line 4152

def keyword_l
  @keyword_l
end