MustacheSpecialState

Implements a quote string state object for Mustache templates.

Extends: ITokenizerState

Description

The MustacheSpecialState class allows you to implement a quote string state object for Mustache templates.

Instance methods

nextToken

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

@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.