On this page
Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.4
Prism::SourceFileNode
Represents the use of the __FILE__ keyword.
__FILE__ ^^^^^^^^
Class methods 2
Instance methods 14
Attributes
Read
Represents the file path being parsed. This corresponds directly to the filepath option given to the various Prism::parse* APIs.