unlabel - grammarware/slps GitHub Wiki
This is a reverse of designate that strips an existing production from a label.
unlabel:
label
Unlike designate, this transformation relies on the fact that all labels are unique within a grammar. This assumption allowed us to simplify the calling syntax. So, given the input:
[intexpr] expr:
int
After using this transformation:
unlabel([intexpr]);
Will look like this:
expr:
int
- Unlabel is a part of XBGF