instance method
Prism::DSL#source_file_node
source_file_node(source: default_source, node_id: 0, location: default_location, flags: 0, filepath: "")
lib/prism/dsl.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/dsl.rb, line 760
def source_file_node(source: default_source, node_id: 0, location: default_location, flags: 0, filepath: "")
SourceFileNode.new(source, node_id, location, flags, filepath)
end
Create a new SourceFileNode node.