MustacheSpecialState

Implements a quote string state object for Mustache templates.

Inherits: 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.

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