Attributes
- Companion
- class
- Graph
-
- Supertypes
- Self type
-
SourceFile.type
Members list
Value members
Concrete methods
Return true if file is a script: if filename extension is not .scala and has a script header.
Return true if file is a script: if filename extension is not .scala and has a script header.
Attributes
Returns the relative path of source
within the reference
path
Returns the relative path of source
within the reference
path
It returns the absolute path of source
if it is not contained in reference
.
Attributes
A source file with an underlying virtual file. The name is taken as a file system path with the local separator converted to "/". The last element of the path will be the simple name of the file.
A source file with an underlying virtual file. The name is taken as a file system path with the local separator converted to "/". The last element of the path will be the simple name of the file.
Attributes
A helper method to create a virtual source file for given URI. It relies on SourceFile#virtual implementation to create the virtual file.
A helper method to create a virtual source file for given URI. It relies on SourceFile#virtual implementation to create the virtual file.