Crate sipha_tree

Crate sipha_tree 

Source
Expand description

CST/AST construction and node arena management.

This crate provides:

  • NodeArena for efficient CST node storage
  • CstNode and CstKind for representing concrete syntax trees
  • NodeChildren for managing node relationships
  • RawNodeId and NodeId implementations
  • LowerCtx and AstNode trait for AST lowering

Re-exports§

pub use crate::arena::NodeArena;
pub use crate::children::NodeChildren;
pub use crate::id::RawNodeId;
pub use crate::lowering::AstNode;
pub use crate::lowering::LowerCtx;
pub use crate::node::CstKind;
pub use crate::node::CstNode;

Modules§

arena
Node arena for efficient CST storage.
children
Node children collection.
id
Node identifier implementations.
lowering
AST lowering infrastructure.
node
CST node types.
prelude
Prelude module containing commonly used types.