Function: semantic-bovinate-from-nonterminal

semantic-bovinate-from-nonterminal is a byte-compiled function defined in semantic.el.gz.

Signature

(semantic-bovinate-from-nonterminal START END NONTERM &optional DEPTH LENGTH)

Documentation

Bovinate from within a nonterminal lambda from START to END.

Argument NONTERM is the nonterminal symbol to start with. Optional argument DEPTH is the depth of lists to dive into. When used in a lambda of a MATCH-LIST, there is no need to include a START and END part. Optional argument LENGTH specifies we are only interested in LENGTH tokens.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic.el.gz
;;; Compatibility:
;;
;; Semantic 1.x parser action helper functions, used by some parsers.
;; Please move away from these functions, and try using semantic 2.x
;; interfaces instead.
;;

(defsubst semantic-bovinate-from-nonterminal
  (start end nonterm &optional depth length)
  "Bovinate from within a nonterminal lambda from START to END.
Argument NONTERM is the nonterminal symbol to start with.
Optional argument DEPTH is the depth of lists to dive into.  When used
in a `lambda' of a MATCH-LIST, there is no need to include a START and
END part.
Optional argument LENGTH specifies we are only interested in LENGTH
tokens."
  (car-safe (cdr (semantic-parse-stream
		  (semantic-lex start end (or depth 1) length)
		  nonterm))))