SourceFileMethods

scala.quoted.Quotes.reflectModule.SourceFileMethods

Extension methods of SourceFile

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Extensions

Deprecated extensions

extension (self: SourceFile)

Content of this source file

Content of this source file

Attributes

Path to this source file. May be None for virtual files such as in the REPL.

Path to this source file. May be None for virtual files such as in the REPL.

Attributes

def jpath: Path

Path to this source file. May be null for virtual files such as in the REPL.

Path to this source file. May be null for virtual files such as in the REPL.

Attributes

Deprecated
true

Name of the source file

Name of the source file

Attributes

Path of the source file.

Path of the source file.

It does not necessarily point to a path in the filesystem, it could be the path of a virtual file. Use getJPath to get paths to the filesystem.

Attributes