Function: ebnf-generate-production
ebnf-generate-production is a byte-compiled function defined in
ebnf2ps.el.gz.
Signature
(ebnf-generate-production PRODUCTION)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ebnf2ps.el.gz
;; [production width-fun dim-fun entry height width name production action]
(defun ebnf-generate-production (production)
(ebnf-message-info "Generating")
(run-hooks 'ebnf-production-hook)
(ps-output-string (if ebnf-production-name-p
(ebnf-node-name production)
""))
(ps-output " "
(ebnf-format-float
(ebnf-node-width production)
(+ (if ebnf-production-name-p
ebnf-basic-height
0.0)
(ebnf-node-entry (ebnf-node-production production))))
" BOP\n")
(ebnf-node-generation (ebnf-node-production production))
(ps-output "EOS\n"))