Module template_parser

Source

Structs§

LambdaNode
MethodCallNode
TemplateAliasParser
TemplateParseError

Enums§

BinaryOp
ExpressionKind
Rule
TemplateParseErrorKind
UnaryOp

Functions§

catch_aliases
Applies the given function to the innermost node by unwrapping alias expansion nodes. Appends alias expansion stack to error and diagnostics.
expect_lambda
Unwraps inner node if the given node is a lambda.
expect_string_literal
Unwraps inner value if the given node is a string literal.
lookup_function
Looks up table by the given function name.
lookup_method
Looks up table by the given method name.
parse
Parses text into AST nodes, and expands aliases.
parse_template
Parses text into AST nodes. No type/name checking is made at this stage.

Type Aliases§

ExpressionNode
FunctionCallNode
TemplateAliasesMap
TemplateDiagnostics
Manages diagnostic messages emitted during template parsing and building.
TemplateParseResult