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.

Value parameters

end

the end offset in the source file

sourceFile

the source file for the position

start

the start offset in the source 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