Results for: "to_proc"

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

def foo(); bar(); end ^^

{ **foo } ^^^^^

foo(&bar) ^^^^

def foo(&bar); end ^^^^

A block’s parameters.

foo in bar ^^^^^^^^^^

foo => ^(bar) ^^^^^^

BEGIN {} ^^^^^^^^

/foo/ ^^^^^

Ripper gives back the escaped string content but strips out the common leading whitespace. Prism gives back the unescaped string content and a location for the escaped string content. Unfortunately these don’t work well together, so here we need to re-derive the common leading whitespace.

Visit a heredoc node that is representing a string.

Visit a heredoc node that is representing an xstring.

No documentation available
No documentation available
No documentation available
No documentation available

Load extra data embed into binary format String object.

Example:

x.foo
 ^^^^
x.foo(42)
 ^^^^
x&.foo
 ^^^^^
x[42]
 ^^^^
x.foo = 1
 ^^^^^^
x[42] = 1
 ^^^^^^
x + 1
  ^
+x
^
foo(42)
^^^
foo 42
^^^
foo
^^^

Example:

x.foo(42)
      ^^
x[42]
  ^^
x.foo = 1
        ^
x[42] = 1
  ^^^^^^^
x[] = 1
  ^^^^^
x + 1
    ^
foo(42)
    ^^
foo 42
    ^^
Search took: 5ms  ·  Total Results: 1548