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: string | null, 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(): string | null
  • Returns the text of this symbol, or null if the text is unknown.

    Returns string | null