Results for: "String#[]"

END {} ^^^^^^

def foo(*bar); end

^^^^

def foo(*); end

^

A shareable constant.

__LINE__ ^^^^^^^^

Visit the list of statements of a statements node. We support nil statements in the list. This would normally not be allowed by the structure of the prism parse tree, but we manually add them here so that we can mirror Ripper’s void stmt.

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

Interpolate substitution vars in the arg (i.e. $(DEFFILE))

No documentation available
No documentation available

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
    ^^
No documentation available

The start offset from the start of the file in code units using the given cache to fetch or calculate the value.

The start column in code units using the given cache to fetch or calculate the value.

Returns every spec that has the given full_name

No documentation available

Returns the node id for the given backtrace location.

begin
  raise
rescue =>  e
  loc = e.backtrace_locations.first
  RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location(loc)
end # => 0
No documentation available

Foo ^^^

Foo, = bar ^^^

Search took: 5ms  ·  Total Results: 2715