rust-analyzer / rowan

Apache License 2.0
715 stars 61 forks source link

Expose NodeCache's methods #177

Open Colecf opened 1 week ago

Colecf commented 1 week ago

I'm building Rowan trees using LALRPOP. LALRPOP actions are run bottom up, so I can't use GreenNodeBuilder. I'd like to use NodeCache here, but its node() and token() methods are pub(crate). Could they be exposed?