Variable: vhdl-hs-start-regexp

vhdl-hs-start-regexp is a variable defined in vhdl-mode.el.gz.

Value

"\\(^\\)\\s-*\\(\\(generic\\|port\\)[   \n
\f]*(\\|component\\>\\|\\(\\w\\|\\s_\\)+[        \n
\f]*:[      \n
\f]*\\(\\(component\\|configuration\\|entity\\)[    \n
\f]+\\)?\\(\\w\\|\\s_\\)+\\([       \n
\f]*(\\(\\w\\|\\s_\\)+)\\)?[        \n
\f]*\\(generic\\|port\\)[   \n
\f]+map[    \n
\f]*(\\|\\(function\\|procedure\\)\\>\\|\\(\\(\\w\\|\\s_\\)+[    \n
\f]*:[      \n
\f]*\\)?\\(process\\|block\\)\\>\\|configuration\\>\\)"

Documentation

Regexp to match start of construct to hide.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Hideshow
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; (using `hideshow.el')

(defconst vhdl-hs-start-regexp
  (concat
   "\\(^\\)\\s-*\\("
   ;; generic/port clause
   "\\(generic\\|port\\)[ \t\n\r\f]*(\\|"
   ;; component
   "component\\>\\|"
   ;; component instantiation
   "\\(\\w\\|\\s_\\)+[ \t\n\r\f]*:[ \t\n\r\f]*"
   "\\(\\(component\\|configuration\\|entity\\)[ \t\n\r\f]+\\)?"
   "\\(\\w\\|\\s_\\)+\\([ \t\n\r\f]*(\\(\\w\\|\\s_\\)+)\\)?[ \t\n\r\f]*"
   "\\(generic\\|port\\)[ \t\n\r\f]+map[ \t\n\r\f]*(\\|"
   ;; subprogram
   "\\(function\\|procedure\\)\\>\\|"
   ;; process, block
   "\\(\\(\\w\\|\\s_\\)+[ \t\n\r\f]*:[ \t\n\r\f]*\\)?\\(process\\|block\\)\\>\\|"
   ;; configuration declaration
   "configuration\\>"
   "\\)")
  "Regexp to match start of construct to hide.")