Expand description
Interactive AST (Abstract Syntax Tree) visualization.
Renders a collapsible tree view of parsed expressions with syntax-highlighted node types. Useful for understanding sentence structure and debugging.
§Props
ast- Optional AST node to display (shows placeholder if None)
§Node Types
Different node types are color-coded:
- Quantifiers (purple): ∀, ∃
- Predicates (green): Property names
- Binary operators (purple): ∧, ∨, →, ↔
- Variables (blue): x, y, z
- Constants (yellow): Named entities
Re-exports§
pub use AstTree_completions::Component::AstTree;
Structs§
- AstTree
Props - Properties for the
AstTreecomponent.
Functions§
- AstTree
- Props