Expand description
Macros for derive_deftly
Import derive_deftly instead.
ModulesΒ§
- _doc_
hacking π - Hacking on derive-deftly (
HACKING.md) - _doc_
notes π - Notes and plans (
NOTES.md) - accum π
derive_deftly_engine!(), parsing accumulations- adhoc π
- Macro impl for adhoc template application
derive_deftly_adhoc! - adviseable π
- errors with compatibility advice
- approx_
equal π - Implementation of
${approx_equal ..}, and support functions - beta π
- Handle
beta_deftlytemplate option, whenbetacargo feature enabled - boolean π
- Handling of boolean evaluation (conditions)
- check π
- Implementation of the
expectoption - compat_
syn_ π2 - Definitions for compatibility with syn 2
- compat_
syn_ πcommon - Definitions for compatibility with syn, common to 1 and 2
- concat π
- Implementation of string concatenation
${concat } - dbg_
allkw π - define π
- Macro impl for defining a template
define_derive_deftly! - derive π
- Macro impl for capturing the driver
#[derive(Deftly)] - engine π
derive_deftly_engine!()- expand π
- Expansion of a template into output tokens
- framework π
- Core types and traits for parsing and expansion
- general_
context π - Contexts that might not include a driver
- meta π
#[deftly(...)]meta attributes- modules π
- Macro modules,
define_derive_deftly_module - options π
- βOptionsβ, keyword modifiers for an expansion
- paste π
- Implementation of identifier pasting expansion
${paste } - prelude π
- private prelude for proc macro stuff
- repeat π
- Handling of repetition, and also useful methods on context
- semver π
- Macro impl for
template_export_semver_check! - syntax π
- Template syntax
- utils π
- Utilities for proc macro implementation
MacrosΒ§
- define_
derive_ deftly - Define a reuseable template
- define_
derive_ deftly_ module - Define a module with reuseable template definitions (beta)
- derive_
deftly_ adhoc - Expand an ad-hoc template, on a data structure decorated
#[derive_deftly_adhoc] - derive_
deftly_ engine - Template expansion engine, internal
- template_
export_ semver_ check - Check semver compatibility, for a crate which exports macros
FunctionsΒ§
- wrap_
macro_ πfunc - Wraps an actual macro implementation function that uses a proc_macro2 implementation to expose a proc_macro implementation instead.
Derive MacrosΒ§
- Deftly
- Perform ad-hoc templating driven by a data structure