Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExpressionNumberState

Implements an Expression-specific number state object.

Hierarchy

Implements

Index

Properties

Methods

Properties

Protected DOT

DOT: number = '.'.charCodeAt(0)

Protected EXP1

EXP1: number = 'e'.charCodeAt(0)

Protected EXP2

EXP2: number = 'E'.charCodeAt(0)

Protected MINUS

MINUS: number = '-'.charCodeAt(0)

Protected PLUS

PLUS: number = '+'.charCodeAt(0)

Methods

nextToken

  • Gets the next token from the stream started from the character linked to this state.

    Parameters

    • scanner: IScanner

      A textual string to be tokenized.

    • tokenizer: ITokenizer

      A tokenizer class that controls the process.

    Returns Token

    The next token from the top of the stream.

Generated using TypeDoc