Positional

trait Positional

A trait for objects that have a source position.

A trait for objects that have a source position.

class Object
trait Matchable
class Any

Value members

Concrete methods

def setPos(newpos: Position): Positional

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

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

Returns

the object itself

Concrete fields

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

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