Function: wisent-grammar-EXPANDFULL
wisent-grammar-EXPANDFULL is a byte-compiled function defined in
grammar.el.gz.
Signature
(wisent-grammar-EXPANDFULL SYMB NONTERM)
Documentation
Expand call to EXPANDFULL grammar macro.
Return the form to recursively parse an area. SYMB is a $I placeholder symbol that gives the bounds of the area. NONTERM is the nonterminal symbol to start with.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/grammar.el.gz
(defun wisent-grammar-EXPANDFULL (symb nonterm)
"Expand call to EXPANDFULL grammar macro.
Return the form to recursively parse an area.
SYMB is a $I placeholder symbol that gives the bounds of the area.
NONTERM is the nonterminal symbol to start with."
(unless (member nonterm (semantic-grammar-start))
(error "EXPANDFULL macro called with %s, but not used with %%start"
nonterm))
(let (($ri (wisent-grammar-region-placeholder symb)))
(if $ri
`(semantic-parse-region
(car ,$ri) (cdr ,$ri) ',nonterm 1)
(error "Invalid form (EXPANDFULL %s %s)" symb nonterm))))