Variable: evil-ex-grammar

evil-ex-grammar is a variable without a source file.

Value

Large value
((expression (count command argument #'evil-ex-call-command)
	     ((\? range) command argument #'evil-ex-call-command)
	     (line #'evil-goto-line) (sexp #'eval-expression))
 (count number) (command #'evil-ex-parse-command)
 (binding "[~&*@<>=:#]+\\|[[:alpha:]_]+\\|!")
 (emacs-binding "[[:alpha:]-][[:alnum:][:punct:]]*")
 (argument ((\? "\\(?:.\\|\n\\)+") #'$1))
 (range ("%" #'(evil-ex-full-range))
	("*" #'(evil-ex-last-visual-range))
	((\? line) "[,;]" (\? line)
	 #'(let ((l1 $1))
	     (save-excursion
	       (and l1 (string= $2 ";") (goto-line l1))
	       (evil-ex-range l1 $3))))
	(line #'evil-ex-range)
	("`" marker-name ",`" marker-name
	 #'(evil-ex-char-marker-range $2 $4)))
 (line
  ((\? base) (\? offset) search (\? offset)
   #'(save-excursion (goto-line (evil-ex-line $1 $2))
		     (evil-ex-line $3 $4)))
  (base (\? offset) #'evil-ex-line) (nil offset #'evil-ex-line))
 (base number ("'" marker-name #'(evil-ex-marker $2)) search
       ("\\^" #'(evil-ex-first-line)) ("\\$" #'(evil-ex-last-line))
       ("\\." #'(evil-ex-current-line)))
 (offset (+ signed-number #'+))
 (search forward backward next prev subst)
 (forward ("/" "\\(?:\\\\.\\|[^/]\\)+" "/\\|$" #'(evil-ex-re-fwd $2)))
 (backward ("?" "\\(?:\\\\.\\|[^?]\\)+" "?\\|$" #'(evil-ex-re-bwd $2)))
 (marker-name "[]\\[-a-zA-Z_<>'}{)(]")
 (next "\\\\/" #'(evil-ex-prev-search))
 (prev "\\\\\\?" #'(evil-ex-prev-search))
 (subst "\\\\&" #'(evil-ex-prev-search))
 (signed-number (sign (\? number) #'evil-ex-signed-number))
 (sign "[+-]" #'intern) (number "[0-9]+" #'string-to-number)
 (sexp "(.*)?" #'(car (read-from-string $0))))

Documentation

Grammar for Ex.

An association list of syntactic symbols and their definitions. The first entry is the start symbol. A symbol's definition may reference other symbols, but the grammar cannot contain left recursion. See evil-parser for a detailed explanation of the syntax.