case class SourcePosition
extends SourcePosition

A source position is comprised of a position in a source file

Constructors

SourcePosition ( source: SourceFile , pos: Position , outer: SourcePosition )

Members

val outer : SourcePosition
val pos : Position
val source : SourceFile
def _1 : T1
def _2 : T2
def _3 : T3
def beforeAndAfterPoint : ( List [ Int ], List [ Int ] )
def column : Int

The column of the position, starting at 0

The column of the position, starting at 0

def copy ( source: SourceFile , pos: Position , outer: SourcePosition ) : SourcePosition
def copy$default$1 : SourceFile
def copy$default$2 : Position
def copy$default$3 : SourcePosition
def end : Int
def endColumn : Int
def endLine : Int
def exists : Boolean
def line : Int

The line of the position, starting at 0

The line of the position, starting at 0

def lineContent : String
def lineOffsets : List [ Int ]
def lines : List [ Int ]

The lines of the position

The lines of the position

def linesSlice : Array [ Char ]

Extracts the lines from the underlying source file as Array[Char]

Extracts the lines from the underlying source file as Array[Char]

def point : Int
def start : Int
def startColumn : Int
def startLine : Int
override def toString : String
def withOuter ( outer: SourcePosition ) : SourcePosition