Return true if this spec can require file
.
Dispatch enter and leave events for OptionalKeywordParameterNode
nodes and continue walking the tree.
Inspect a OptionalKeywordParameterNode
node.
Copy a OptionalKeywordParameterNode
node
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
Whether or not the encoding is a multibyte encoding.
/foo #{bar}/ ^^^^^^^^^^^^
END {} ^^^^^^
BEGIN {} ^^^^^^^^
Compile a PinnedExpressionNode
node
Dispatch enter and leave events for PinnedExpressionNode
nodes and continue walking the tree.
Remove everything in the DependencyList
that matches but doesn’t satisfy items in dependencies
(a hash of gem names to arrays of dependencies).
Like Enumerable#chunk_while
, but chains operation to be lazy-evaluated.
Like Enumerable#reject
, but chains operation to be lazy-evaluated.
Like Enumerable#uniq
, but chains operation to be lazy-evaluated.
This method is called when some event handler is undefined. event
is :on_XXX, token
is the scanned token, and data
is a data accumulator.
The return value of this method is passed to the next event handler (as of Enumerable#inject
).