SourceFile

oxygen.meta.Meta.SourceFile
See theSourceFile companion object
final case class SourceFile(raw: quotes.reflect.SourceFile)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product