logo
class

compiler::TokenVal

sys::Obj
  compiler::Location
    compiler::TokenVal

TokenVal stores an instance of a Token at a specific Location.

Slots

equals

virtual Bool equals(Obj obj)

hash

virtual Int hash()

kind

Token kind

make

new make(Token kind, Obj val := def)

newline

Bool newline

toStr

virtual Str toStr()

val

Obj val