Function: peg-parse-at-point

peg-parse-at-point is a byte-compiled function defined in peg.el.gz.

This function is obsolete since peg-1.0; use peg-run instead.

Signature

(peg-parse-at-point PEG-MATCHER)

Documentation

Parse text at point according to the PEG rule PEG-MATCHER.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/peg.el.gz
(defun peg-parse-at-point (peg-matcher)
  "Parse text at point according to the PEG rule PEG-MATCHER."
  (declare (obsolete peg-run "peg-1.0"))
  (peg-run peg-matcher
           #'peg-signal-failure
           (lambda (f) (let ((r (funcall f))) (if (listp r) r)))))