rrevenantt / antlr4rust

ANTLR4 parser generator runtime for Rust programming laguage
Other
398 stars 70 forks source link

Allow access to Ext from base parser #62

Closed Destroyerrrocket closed 1 year ago

Destroyerrrocket commented 1 year ago

Hi! In my parser, I need access to a field in the Ext of the generated grammar. Would it be ok to just make that filed public? Thank you very much!

rrevenantt commented 1 year ago

IIRC you should already be able to access it via deref/deref_mut.

Destroyerrrocket commented 1 year ago

You're right. Closing this down! Thank you a lot for your time