Undefine - grammarware/slps GitHub Wiki
This operator allows to undefine a nonterminal, i.e., remove all its production rules. The nonterminal must have using occurrences elsewhere than just in its own definition. If there are no such using occurrences, then the less disruptive eliminate operator is to be used.
Syntax
undefine:
nonterminal+
Relevant files
shared/prolog/xbgf1.pro
shared/prolog/xbgf2.pro
shared/rascal/src/transform/library/Productions.rsc
shared/xsd/xbgf.xsd
See also
- Undefine is a part of XBGF