SourceFileMethods
scala.quoted.Quotes.reflectModule.SourceFileMethods
trait SourceFileMethods
Extension methods of SourceFile.
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
Members list
Extensions
Deprecated extensions
extension (self: Quotes.this.reflectModule.this.SourceFile)
Content of this source file.
Path to this source file. May be None for virtual files such as in an IDE or in the REPL.
Path to this source file. May be None for virtual files such as in an IDE or in the REPL.
Attributes
- Deprecated
-
[Since version 3.9.0]This will return `None` for files that are not on disk, such as in an IDE or in the REPL. - Source
- Quotes.scala
Path to this source file. May be null for virtual files such as in an IDE or in the REPL.
Path to this source file. May be null for virtual files such as in an IDE or in the REPL.
Attributes
- Deprecated
-
[Since version 3.9.0]This will return `null` for files that are not on disk, such as in an IDE or in the REPL. - Source
- Quotes.scala
Name of the source file.
Path of the source file, if the file exists on disk. Otherwise, the path will be for a virtual file.
Path of the source file, if the file exists on disk. Otherwise, the path will be for a virtual file.
Attributes
- Source
- Quotes.scala
In this article