Class: LibRubyParser::Nodes::Postexe

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

Overview

Represents END { .. } statement

Instance Attribute Summary collapse

Instance Attribute Details

#begin_lLoc (readonly)

Location of the open parenthesis

END { 42 }
    ~

Returns:



3276
3277
3278
# File 'lib/lib-ruby-parser/nodes.rb', line 3276

def begin_l
  @begin_l
end

#bodyNode? (readonly)

Body of the block

Returns:



3258
3259
3260
# File 'lib/lib-ruby-parser/nodes.rb', line 3258

def body
  @body
end

#end_lLoc (readonly)

Location of the closing parenthesis

END { 42 }
         ~

Returns:



3285
3286
3287
# File 'lib/lib-ruby-parser/nodes.rb', line 3285

def end_l
  @end_l
end

#expression_lLoc (readonly)

Location of the full expression

END { 42 }
~~~~~~~~~~

Returns:



3294
3295
3296
# File 'lib/lib-ruby-parser/nodes.rb', line 3294

def expression_l
  @expression_l
end

#keyword_lLoc (readonly)

Location of the END keyword

END { 42 }
~~~

Returns:



3267
3268
3269
# File 'lib/lib-ruby-parser/nodes.rb', line 3267

def keyword_l
  @keyword_l
end