Positional

trait Positional
A trait for objects that have a source position.
class Object
trait Matchable
class Any

Value members

Methods

def setPos(newpos: Position): Positional
If current source position is undefined, update it with given position newpos
Returns
the object itself

Fields

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