Skip to content
grammarware edited this page Jan 19, 2013 · 5 revisions

This operator behaves like project, but only allows for nillable elements (optional, star) to disappear.

Syntax

disappear:
        marked-production

Example

Given the input:

foo:
        bar wez* qux

After using this transformation:

disappear(
 foo:
        bar <wez*> qux
);

The result will look like this:

foo:
        bar qux

Relevant files

See also

  • Disappear is a part of XBGF

Contributors

Clone this wiki locally