Results for: "module_function"

def foo; end ^^^^^^^^^^^^

def self.foo; end ^^^^^^^^^^^^^^^^^

defined? a ^^^^^^^^^^

defined?(a) ^^^^^^^^^^^

if foo then bar else baz end

^^^^^^^^^^^^

begin; foo; ensure; bar; end

^^^^^^^^^^^^

false ^^^^^

1.0 ^^^

for foo in bar do end ^^^^^^^^^^^^^^^^^^^^^

{} ^^

if foo then bar end ^^^^^^^^^^^^^^^^^^^

bar if foo ^^^^^^^^^^

foo ? bar : baz ^^^^^^^^^^^^^^^

1i

{ foo: }

^^^^

case foo; in bar; end ^^^^^^^^^^^^^^^^^^^^^

1 ^

-> {}

A node that is missing from the syntax tree. This is only used in the case of a syntax error. The parser gem doesn’t have such a concept, so we invent our own here.

next ^^^^

next foo ^^^^^^^^

nil ^^^

a or b ^^^^^^

def foo(bar, *baz); end

^^^^^^^^^

() ^^

(1) ^^^

The top-level program node.

0..5 ^^^^

redo ^^^^

begin; rescue; end

^^^^^^^

retry ^^^^^

Search took: 10ms  ·  Total Results: 5313