Fetch the start character column of the value.
Parses a source buffer and returns the AST and the source code comments.
Since prism resolves num params for us, we don’t need to support this kind of logic here.
until foo; bar end ^^^^^^^^^^^^^^^^^
bar until foo ^^^^^^^^^^^^^
Oldest version we support downgrading to. This is the version that originally ships with the oldest supported patch version of ruby.
Foo::Bar = 1 ^^^^^^^^^^^^
Foo::Foo, Bar::Bar = 1 ^^^^^^^^ ^^^^^^^^
Foo::Bar, = baz ^^^^^^^^
/foo #{bar}/ ^^^^^^^^^^^^
Foo ||= bar
becomes
defined?(Foo) ? Foo : Foo = bar
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.
Return the best specification that contains the file matching path
, among those already activated.
Return the best specification in the record that contains the file matching path
, among those already activated.
Visit the interpolated content of the string-like node.
Constant time memory comparison for fixed length strings, such as results of HMAC
calculations.
Returns true
if the strings are identical, false
if they are of the same length but not identical. If the length is different, ArgumentError
is raised.