PositionModule

Methods of the module object val Position

Source:
Quotes.scala
class Object
trait Matchable
class Any

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.

Source:
Quotes.scala

Position of the expansion site of the macro

Position of the expansion site of the macro

Source:
Quotes.scala