Skip to content
Snippets Groups Projects
Commit 01fa9ca2 authored by Jesper's avatar Jesper
Browse files

Always cache abstract grammar declared NTAs

* Renamed the AttrDecl.isLazy() attribute to AttrDecl.isMemoized().
* AttrDecl.hasCache() was removed since it was equivalent to AttrDecl.isMemoized().
* Inlined AttrDecl.shouldCache(CacheMode) into AttrDecl.isMemoized().
* Simplified boolean conditionals (isMemoized() || isCircular()) using the
  fact that isCircular() is implied by isMemoized().

fixes #72 (bitbucket)
parent 4fd5ee9c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment