-
Notifications
You must be signed in to change notification settings - Fork 15
Concretize
grammarware edited this page Jan 18, 2013
·
5 revisions
Just as abstractize is a preconditioned version of project, this operator is a variation of inject. The XBGF engine checks if the marked part only consists of terminal symbols: if yes, injection happens; if not, the transformation is inapplicable.
concretize:
marked-production
Given the input:
A:
b c
After using this transformation:
concretize(
A:
b <"x"> c
);
Will look like this:
A:
b "x" c
shared/xsd/xbgf.xsd
shared/prolog/xbgf1.pro
shared/prolog/xbgf2.pro
shared/rascal/src/transform/library/Terminals.rsc
- Concretize is a part of XBGF