Remove negative options (noXxx)
Issue #155
resolved
The noXxx
options should be made deprecated, then removed from JastAdd. We can use value options instead i.e. xxx={true|false}
.
Comments (2)
-
reporter -
reporter - changed status to resolved
Refactored JastAdd options and configuration
Deprecated options:
- doc (unused)
- java1.4 (not tested)
- noLazyMaps (equivalent to lazyMaps=false)
- noVisitCheck (equivalent to visitCheck=flase)
- noCacheCycle (equivalent to cacheCycle=false)
- noRefineLegacy (equivalent to refineLegacy=false)
- noComponentCheck (componentCheck was already off by default)
- noInhEqCheck (equivalent to inhEqCheck=false)
- noStatic (the name was misleading, renamed to staticState)
- deterministic (collection attributes are now always deterministic)
New or updated options:
- staticState (replaces noStatic)
- incremental: added 'all' option
Code generation changes
- Don't generate ASTNode$State.IdentityHashSet
Template variable chnages:
- removed Deterministic (no longer relevant)
- removed CircularEnabled (was always enabled)
- removed NoStatic
- added StaticState (replaces NoStatic)
Improved JastAddTask. Should now be closer to the command-line interface.
fixes issue
#155(bitbucket)→ <<cset f1466f19c423>>
- Log in to comment
Added TODOs for negative (noXxx) options
see issue
#155(bitbucket)→ <<cset 0e27395a849c>>