Results for: "module_function"

Represents the use of the ‘nil` keyword.

nil
^^^

Represents the use of ‘**nil` inside method arguments.

def a(**nil)
      ^^^^^
end

Represents an implicit set of parameters through the use of numbered parameters within a block or lambda.

-> { _1 + _2 }
^^^^^^^^^^^^^^

Represents the use of the ‘||` operator or the `or` keyword.

left or right
^^^^^^^^^^^^^

Represents the list of parameters on a method, block, or lambda definition.

def a(b, c, d)
      ^^^^^^^
end

Represents a parenthesized expression

(10 + 34)
^^^^^^^^^

The top level node of any parse tree.

Represents the use of the ‘..` or `…` operators.

1..2
^^^^

c if a =~ /left/ ... b =~ /right/
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Represents a required keyword parameter to a method, block, or lambda definition.

def a(b: )
      ^^
end

Represents a required parameter to a method, block, or lambda definition.

def a(b)
      ^
end

Represents a rescue statement.

begin
rescue Foo, *splat, Bar => ex
  foo
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
end

‘Foo, *splat, Bar` are in the `exceptions` field. `ex` is in the `exception` field.

Represents a rest parameter to a method, block, or lambda definition.

def a(*b)
      ^^
end

Represents the use of the ‘retry` keyword.

retry
^^^^^

Represents the use of the ‘return` keyword.

return 1
^^^^^^^^

Represents the ‘self` keyword.

self
^^^^

Represents the use of the ‘__LINE__` keyword.

__LINE__
^^^^^^^^

Represents the use of the splat operator.

[*a]
 ^^

Represents a set of statements contained within some scope.

foo; bar; baz
^^^^^^^^^^^^^

Represents a string literal, a string contained within a ‘%w` list, or plain string content within an interpolated string.

"foo"
^^^^^

%w[foo]
   ^^^

"foo #{bar} baz"
 ^^^^      ^^^^

Represents the use of the ‘super` keyword with parentheses or arguments.

super()
^^^^^^^

super foo, bar
^^^^^^^^^^^^^^

Represents a symbol literal or a symbol contained within a ‘%i` list.

:foo
^^^^

%i[foo]
   ^^^

Represents the use of the literal ‘true` keyword.

true
^^^^

Represents the use of the ‘when` keyword within a case statement.

case true
when true
^^^^^^^^^
end

Represents an xstring literal with no interpolation.

`foo`
^^^^^

Represents the use of the ‘yield` keyword.

yield 1
^^^^^^^
Search took: 10ms  ·  Total Results: 5313