TextPosn

ostrat.TextPosn
See theTextPosn companion object
case class TextPosn(fileName: String, lineNum: Int, linePosn: Int)

A location with text, src code or data.

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 addChars(chars: Seq[Char]): TextPosn
def addStr(str: String): TextPosn
def fail(message: String): Fail[Exception]
Implicitly added by TextPosnImplicit

Produce a failure with a plain Exception type.

Produce a failure with a plain Exception type.

Attributes

def failAst(detail: String): Fail[ExcAst]
Implicitly added by TextPosnImplicit

Produce a failure with an ExcLexar type.

Produce a failure with an ExcLexar type.

Attributes

def failLexar(detail: String): Fail[ExcLexar]
Implicitly added by TextPosnImplicit

Produce a failure with an ExcLexar type.

Produce a failure with an ExcLexar type.

Attributes

def failParse(detail: String): Fail[ExcParse]
Implicitly added by TextPosnImplicit

Produce a failure with an ExcLexar type.

Produce a failure with an ExcLexar type.

Attributes

def parseErr(detail: String): String
Implicitly added by TextPosnImplicit
def right(num: Int): TextPosn

moves the value from this TextPosn to the right.

moves the value from this TextPosn to the right.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product