Class: LibRubyParser::Nodes::Next
- Inherits:
-
LibRubyParser::Node
- Object
- LibRubyParser::Node
- LibRubyParser::Nodes::Next
- Defined in:
- lib/lib-ruby-parser/nodes.rb
Overview
Represents next
keyword
Instance Attribute Summary collapse
-
#args ⇒ ::Array<Node>
readonly
Arguments given to
next
. -
#expression_l ⇒ Loc
readonly
Location of the full expression.
-
#keyword_l ⇒ Loc
readonly
Location of the
next
keyword.
Instance Attribute Details
#args ⇒ ::Array<Node> (readonly)
Arguments given to next
2953 2954 2955 |
# File 'lib/lib-ruby-parser/nodes.rb', line 2953 def args @args end |
#expression_l ⇒ Loc (readonly)
Location of the full expression
next(42)
~~~~~~~~
2971 2972 2973 |
# File 'lib/lib-ruby-parser/nodes.rb', line 2971 def expression_l @expression_l end |
#keyword_l ⇒ Loc (readonly)
Location of the next
keyword
next 42
~~~~
2962 2963 2964 |
# File 'lib/lib-ruby-parser/nodes.rb', line 2962 def keyword_l @keyword_l end |