PositionModule

scala.quoted.Quotes.reflectModule.PositionModule

Methods of the module object val Position

Attributes

Source
Quotes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

def apply(sourceFile: SourceFile, start: Int, end: Int): Position

Create a new position in the source with the given range. The range must be contained in the file.

Create a new position in the source with the given range. The range must be contained in the file.

Attributes

Source
Quotes.scala

Position of the expansion site of the macro

Position of the expansion site of the macro

Attributes

Source
Quotes.scala