Skip to main contentCrate gracile
Source - ast
- Abstract syntax tree types for Gracile templates.
- error
- Error types and diagnostics for lexing, parsing, and rendering.
- lexer
- Tokenizer that converts raw template source into a stream of tokens.
- parser
- Hand-written recursive descent parser that builds the AST from tokens.
- renderer
- Template renderer that evaluates the AST against a context to produce output.
- value
- Runtime value types used during template evaluation.
- context
- Build a
HashMap<String, Value> context from key => value pairs.
- Engine
- The Gracile templating engine.
- Error
- All errors produced by Gracile.
- Value
- A runtime value in the Gracile template engine.
- FilterFn
- Signature for user-supplied filter functions.
- LoaderFn
- Signature for a template loader function.
- Result