BuilderCache

Trait BuilderCache 

Source
pub trait BuilderCache<L: Language>: ParseCache<L> { }
Expand description

Cache trait for builder operations used by lexers and parsers.

This trait defines the interface for building green tree nodes incrementally. It provides methods for adding tokens and nodes to the tree structure.

Implementations on Foreign Types§

Source§

impl<'a, L: Language, C: BuilderCache<L> + ?Sized> BuilderCache<L> for &'a mut C

Implementors§

Source§

impl<L: Language + Send + Sync + 'static> BuilderCache<L> for ParseSession<L>