SourceFile

oxygen.quoted.SourceFile
See theSourceFile companion object
final class SourceFile

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

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 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

def unwrapWithin(using newQuotes: Quotes): newQuotes.reflect.SourceFile

Concrete fields

val unwrap: quotes.reflect.SourceFile

Givens

Givens

given quotes: Quotes