Positional

scala.util.parsing.input.Positional
trait Positional

A trait for objects that have a source position.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def setPos(newpos: Position): this.type

If current source position is undefined, update it with given position newpos

If current source position is undefined, update it with given position newpos

Attributes

Returns

the object itself

Concrete fields

var pos: Position

The source position of this object, initially set to undefined.

The source position of this object, initially set to undefined.

Attributes