Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
RubyVM::AbstractSyntaxTree::Node#first_lineno
node.first_lineno → integer
ast.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/ast.rb, line 141
def first_lineno
Primitive.ast_node_first_lineno
end
The line number in the source code where this AST’s text began.