Function: peg-normalize

peg-normalize is a byte-compiled function defined in peg.el.gz.

Signature

(peg-normalize EXP)

Documentation

Return a "normalized" form of EXP.

Implementations

(peg-normalize (EXP cons)) in `peg.el'.

Undocumented

(peg-normalize (EXP vector)) in `peg.el'.

Undocumented

(peg-normalize (EXP symbol)) in `peg.el'.

Undocumented

(peg-normalize (EXP string)) in `peg.el'.

Undocumented

(peg-normalize EXP) in `peg.el'.

Undocumented

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/peg.el.gz
;; Internally we use a regularized syntax, e.g. we only have binary OR
;; nodes.  Regularized nodes are lists of the form (OP ARGS...).
(cl-defgeneric peg-normalize (exp)
  "Return a \"normalized\" form of EXP."
  (error "Invalid parsing expression: %S" exp))