Skip to content
On this page
class · Ruby 4.0

Prism::SourceFileNode

< Prism::Node 14 instance methods 2 class methods

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.