ExpressionNumberState

Implements an Expression-specific number state object.

Inherits: GenericNumberState

Description

The ExpressionNumberState implements an expression-specific number state object.

Instance methods

NextToken

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

public override Token NextToken(IScanner scanner, ITokenizer tokenizer)

  • scanner: IScanner - textual string to be tokenized.
  • tokenizer: ITokenizer - tokenizer class that controls the process.
  • returns: Token - next token from the top of the stream.