End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
RubyVM::AbstractSyntaxTree::Node#node_id
node.node_id → integer
ast.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/ast.rb, line 236
def node_id
Primitive.ast_node_node_id
end
Returns an internal node_id number. Note that this is an API for ruby internal use, debugging, and research. Do not use this for any other purpose. The compatibility is not guaranteed.
See also
#last_lineno
#pretty_print
#last_column
#pretty_print_children
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1