ada-imenu-generic-expression
ada-imenu-generic-expression is a variable defined in `
ada-mode.el
'.
Its value is
((nil "^[ ]*\\(overriding[ ]*\\)?\\(procedure\\|function\\)[ \n]+\\(\\(\\sw\\|_\\)+\\)[ \n]*\\([ \n]\\|([^)]+)\\([ ]*--.*\\)?\\)[ \n]*\\(return[ \n]+\\(\\sw\\|[_.]\\)+[ \n]*\\)?is[ \n]" 3)
("*Specs*" "^[ ]*\\(procedure\\|function\\)[ \n]+\\(\\(\\sw\\|_\\)+\\)\\(\\(\\([ ]*--.*\\)?[ \n]+\\|[ \n]*([^)]+)\\([ ]*--.*\\)?\\)\\([ \n]*return[ \n]+\\(\\sw\\|[_.]\\)+[ \n]*\\)?\\)?;" 2)
("*Tasks*" "^[ ]*task[ ]+\\(type[ ]+\\)?\\(\\(body[ ]+\\)?\\(\\sw\\|_\\)+\\)" 2)
("*Type Defs*" "^[ ]*\\(sub\\)?type[ ]+\\(\\(\\sw\\|_\\)+\\)" 2)
("*Protected*" "^[ ]*protected[ ]+\\(type[ ]+\\)?\\(\\(body[ ]+\\)?\\(\\sw\\|_\\)+\\)" 2)
("*Packages*" "^[ ]*package[ ]+\\(\\(body[ ]+\\)?\\(\\sw\\|[_.]\\)+\\)" 1))
Documentation:
Imenu generic expression for Ada mode.
See `imenu-generic-expression'. This variable will create several submenus for
each type of entity that can be found in an Ada file.