pip_services3_expressions.mustache.parsers.MustacheParser module

class pip_services3_expressions.mustache.parsers.MustacheParser.MustacheParser

Bases: object

Implements an mustache parser class.

clear()

Clears parsing results.

property initial_tokens

The list of original mustache tokens.

property original_tokens
parse_string(mustache: str)

Sets a new mustache string and parses it into internal byte code.

Parameters

mustache – A new mustache string.

parse_tokens(tokens: List[pip_services3_expressions.tokenizers.Token.Token])
property result_tokens

The list of parsed mustache tokens.

property template

The mustache template.

property variable_names

The list of found variable names.