SourceFileMethods

scala.quoted.Quotes.reflectModule.SourceFileMethods

Extension methods of SourceFile

Attributes

Source:
Quotes.scala
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

Source:
Quotes.scala

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

Source:
Quotes.scala
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
Source:
Quotes.scala

Name of the source file

Name of the source file

Attributes

Source:
Quotes.scala

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

Source:
Quotes.scala