ScalusSourcePos

scalus.utils.ScalusSourcePos
See theScalusSourcePos companion object
case class ScalusSourcePos(file: String, startLine: Int, startColumn: Int, endLine: Int, endColumn: Int, inlinedFrom: List[ScalusSourcePos] = ...)

Source position in Scala code, used by both SIR and UPLC Term for tracing.

Value parameters

endColumn

0-based end column

endLine

0-based end line

file

file path. Empty string means position is unknown.

inlinedFrom

chain of positions from which this was inlined

startColumn

0-based start column

startLine

0-based start line

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isEmpty: Boolean
def show: String
def showSingle: String

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product