Function: cc-imenu-java-build-type-args-regex
cc-imenu-java-build-type-args-regex is a byte-compiled function
defined in cc-menus.el.gz.
Signature
(cc-imenu-java-build-type-args-regex DEPTH)
Documentation
Build regexp for type arguments list with DEPTH allowed nested angle brackets constructs.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-menus.el.gz
(defun cc-imenu-java-build-type-args-regex (depth)
"Build regexp for type arguments list with DEPTH allowed
nested angle brackets constructs."
(if (> depth 0)
(concat "<"
"[][.," c-alnum "_? \t\n\r]+"
(if (> depth 1)
"\\(")
(cc-imenu-java-build-type-args-regex (1- depth))
(if (> depth 1)
(concat "[][.," c-alnum "_? \t\n\r]*"
"\\)*"))
">")))