Class: LibRubyParser::Nodes::Return
- Inherits:
-
LibRubyParser::Node
- Object
- LibRubyParser::Node
- LibRubyParser::Nodes::Return
- Defined in:
- lib/lib-ruby-parser/nodes.rb
Overview
Represents return
keyword
Instance Attribute Summary collapse
-
#args ⇒ ::Array<Node>
readonly
A list of values that is returned.
-
#expression_l ⇒ Loc
readonly
Location of the full expression.
-
#keyword_l ⇒ Loc
readonly
Location of the
return
keyword.
Instance Attribute Details
#args ⇒ ::Array<Node> (readonly)
A list of values that is returned
3645 3646 3647 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3645 def args @args end |
#expression_l ⇒ Loc (readonly)
Location of the full expression
return 1, 2
~~~~~~~~~~~
3663 3664 3665 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3663 def expression_l @expression_l end |
#keyword_l ⇒ Loc (readonly)
Location of the return
keyword
return 1, 2
~~~~~~
3654 3655 3656 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3654 def keyword_l @keyword_l end |