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
Quotes.this.reflectModule.this.Position.type

Members list

Value members

Abstract methods

def apply(sourceFile: Quotes.this.reflectModule.this.SourceFile, start: Int, end: Int): Quotes.this.reflectModule.this.Position

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

Creates 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