Expand description
Traits and types representing a transformation rule to a tree.
See the Rule trait for more information.
Structs§
- Named
Rule - We can create a rule using this struct and pass it into our list of rules directly,
For debugging and tracing, it is helpful to see rules by a meaningful name.
or we can make use of the
named_rulemacro (see [tree-morph-macros]). - Rule
Groups - TODO
- RuleSet
- A view into the rules applicable to a specific node, split into two slices.
Traits§
- Rule
- Trait implemented by rules to transform parts of a tree.