Class: LibRubyParser::Nodes::Postexe
- Inherits:
-
LibRubyParser::Node
- Object
- LibRubyParser::Node
- LibRubyParser::Nodes::Postexe
- Defined in:
- lib/lib-ruby-parser/nodes.rb
Overview
Represents END { .. }
statement
Instance Attribute Summary collapse
-
#begin_l ⇒ Loc
readonly
Location of the open parenthesis.
-
#body ⇒ Node?
readonly
Body of the block.
-
#end_l ⇒ Loc
readonly
Location of the closing parenthesis.
-
#expression_l ⇒ Loc
readonly
Location of the full expression.
-
#keyword_l ⇒ Loc
readonly
Location of the
END
keyword.
Instance Attribute Details
#begin_l ⇒ Loc (readonly)
Location of the open parenthesis
END { 42 }
~
3276 3277 3278 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3276 def begin_l @begin_l end |
#body ⇒ Node? (readonly)
Body of the block
3258 3259 3260 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3258 def body @body end |
#end_l ⇒ Loc (readonly)
Location of the closing parenthesis
END { 42 }
~
3285 3286 3287 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3285 def end_l @end_l end |
#expression_l ⇒ Loc (readonly)
Location of the full expression
END { 42 }
~~~~~~~~~~
3294 3295 3296 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3294 def expression_l @expression_l end |
#keyword_l ⇒ Loc (readonly)
Location of the END
keyword
END { 42 }
~~~
3267 3268 3269 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3267 def keyword_l @keyword_l end |