Structs§
- Build
Context - Environment (locals and self) in a stack frame.
- Core
Template Build FnTable - Symbol table of functions and methods available in the core template.
- Expression
- Opaque struct that represents a template value.
Enums§
Traits§
- Core
Template Property Var - Wrapper for the core template property types.
- Template
Language - Callbacks to build usage-context-specific evaluation objects from AST nodes.
Functions§
- build
- Builds template evaluation tree from AST nodes, with fresh build context.
- build_
expression - Builds intermediate expression tree from AST nodes.
- builtin_
formattable_ list_ methods - Creates new symbol table for printable list property.
- builtin_
unformattable_ list_ methods - Creates new symbol table for unprintable list property.
- expect_
boolean_ expression - expect_
integer_ expression - expect_
isize_ expression - If the given expression
nodeis ofIntegertype, converts it toisize. - expect_
serialize_ expression - expect_
stringify_ expression - expect_
template_ expression - expect_
usize_ expression - If the given expression
nodeis ofIntegertype, converts it tousize. - merge_
fn_ map - parse
- Parses text, expands aliases, then builds template evaluation tree.
Type Aliases§
- Build
List Template Method Fn - Function that translates method call node of
ListTemplate. - Build
List Template Method FnMap - Table of functions that translate method call node of
ListTemplate. - Build
Template Method Fn - Function that translates method call node of
Template. - Build
Template Method FnMap - Table of functions that translate method call node of
Template. - Template
Build Function Fn - Function that translates global function call node.
- Template
Build Function FnMap - Table of functions that translate global function call node.
- Template
Build Method Fn - Function that translates method call node of self type
T. - Template
Build Method FnMap - Table of functions that translate method call node of self type
T.