Function: rng-transform-group-nullable
rng-transform-group-nullable is a byte-compiled function defined in
rng-match.el.gz.
Signature
(rng-transform-group-nullable F CONSER IPATTERN)
Documentation
Given a group x1,...,xn,y1,...,yn where the xs are all
nullable and y1 isn't, return a choice
(conser f(x1) x2,...,xm,y1,...,yn)
|(conser f(x2) x3,...,xm,y1,...,yn)
|...
|(conser f(xm) y1,...,yn)
|(conser f(y1) y2,...,yn)
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/rng-match.el.gz
(defun rng-transform-group-nullable (f conser ipattern)
"Given a group x1,...,xn,y1,...,yn where the xs are all
nullable and y1 isn't, return a choice
(conser f(x1) x2,...,xm,y1,...,yn)
|(conser f(x2) x3,...,xm,y1,...,yn)
|...
|(conser f(xm) y1,...,yn)
|(conser f(y1) y2,...,yn)"
(rng-intern-choice
(rng-transform-group-nullable-gen-choices
f
conser
(rng--ipattern-child ipattern))))