igordejanovic / parglare

A pure Python LR/GLR parser - http://www.igordejanovic.net/parglare/
MIT License
135 stars 32 forks source link

_pg_extras field stores an arbitrary user-defined object. #140

Closed vladaindjic closed 2 years ago

vladaindjic commented 2 years ago

Code review checklist

Hi, @igordejanovic ,

As we discussed, I have introduced a slot (_pg_extras) for storing an arbitrary user-defined object.

Kind regards, Vladimir

igordejanovic commented 2 years ago

@vladaindjic Added docs, test, and merged.