type

Symbol

@Js
abstract const class Symbol : Obj

Symbol is a name to a def in the meta-model namespace

constructors

fromStr

Construct from string

methods

equals

Equality is based on string representation

hash

Hash code is based on string representation

name

Simple name

toCode

Code representation with leading "^" caret.

toStr

String representation

Slot Details

equals

virtual override Bool equals(Obj? that)

Equality is based on string representation

fromStr

static new fromStr(Str s, Bool checked := true)

Construct from string

hash

virtual override Int hash()

Hash code is based on string representation

name

abstract Str name()

Simple name

toCode

Str toCode()

Code representation with leading "^" caret.

toStr

virtual override Str toStr()

String representation