Delegates to the cached_start_code_units_column
of the associated location object.
Delegates to the cached_end_code_units_column
of the associated location object.
The start offset from the start of the file in code units using the given cache to fetch or calculate the value.
The end 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.
The end 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.
Adds this spec’s require paths to LOAD_PATH, in the proper location.
Reset nil attributes to their default values to make the spec valid
Return the best specification in the record that contains the file matching path
, among those already activated.
Parses the most indented lines into blocks that are marked and added to the frontier
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
Create a new ClassVariableOperatorWriteNode
node.
Create a new ConstantPathAndWriteNode
node.
Create a new ConstantPathOrWriteNode
node.
Create a new GlobalVariableOperatorWriteNode
node.
Create a new InstanceVariableOperatorWriteNode
node.
Create a new LocalVariableOperatorWriteNode
node.
def foo(**); bar(**); end
^^
{ **foo }
^^^^^
Foo::Bar ^^^^^^^^