Options
All
  • Public
  • Public/Protected
  • All
Menu

An Ion symbol token (used to represent field names, annotations, and symbol values) providing both the symbol text and the assigned symbol ID.

Hierarchy

  • SymbolToken

Index

Constructors

Methods

Constructors

constructor

  • new SymbolToken(text: null | string, sid?: number): SymbolToken

Methods

getSid

  • getSid(): number
  • Returns the symbol ID (sid) of this symbol, or -1 if the sid is unknown.

    Returns number

getText

  • getText(): null | string
  • Returns the text of this symbol, or null if the text is unknown.

    Returns null | string