Class: Prism::Relocation::SourceFilepath

Inherits:
Source
  • Object
show all
Defined in:
lib/prism/relocation.rb

Overview

A source that is represented by a file path.

Instance Attribute Summary

Attributes inherited from Source

#value

Instance Method Summary collapse

Methods inherited from Source

#code_units_cache, #initialize

Constructor Details

This class inherits a constructor from Prism::Relocation::Source

Instance Method Details

#resultObject

Reparse the file and return the parse result.



171
172
173
# File 'lib/prism/relocation.rb', line 171

def result
  Prism.parse_file(value)
end