Symbol

class Symbol

An abstract symbol which is registered/tracked within a SymbolTable.

  • The symbol’s name.

    Declaration

    var name: String { get }
  • The symbol’s type.

    Declaration

    var type: String { get }
  • id

    The symbol’s unique identifier.

    Declaration

    var id: String { get }
  • The symbol’s context.

    Declaration

    var context: String { get }
  • The object’s description

    Declaration

    var description: String { get }