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
/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
).
See Zlib::GzipReader
documentation for a description.
Compose a header for the given node.
Returns the full name of this constant path. For example: “Foo::Bar”
Returns the full name of this constant path. For example: “Foo::Bar”
Returns the full name of this constant. For example: “Foo”