SourceFileMethods

scala.quoted.runtime.impl.QuotesImpl.reflect$.SourceFileMethods$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Extensions

Extensions

extension (self: SourceFile)
def content: Option[String]

Content of this source file

Content of this source file

Attributes

def getJPath: Option[Path]

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

def name: String

Name of the source file

Name of the source file

Attributes

def path: String

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