Interpolate substitution vars in the arg (i.e. $(DEFFILE))
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 ^^
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
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
Foo::Bar ^^^^^^^^
:“foo #{bar}” ^^^^^^^^^^^^^
/(?<foo>foo)/ =~ bar ^^^^^^^^^^^^^^^^^^^^
foo, bar = baz ^^^^^^^^^^^^^^