• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/lisp/progmodes/

Lines Matching defs:keywords

267     ;; regexp string in a `font-lock-keywords' matcher, except that
287 ;; a matcher element in `font-lock-keywords'. It cuts out a little
300 ;; `font-lock-keywords', with these limitations: The face is always
398 (let* ((re (c-make-keywords-re nil
409 (let* ((re (c-make-keywords-re nil
491 (let ((ced-re (c-make-keywords-re t
493 (cef-re (c-make-keywords-re t
566 "Font lock matchers for basic keywords, labels, references and various
588 (let ((re (c-make-keywords-re nil (c-lang-const c-constant-kwds))))
597 ;; Fontify all keywords except the primitive types.
601 "\\<" (c-lang-const c-regular-keywords-regexp))
603 `(,(concat "\\<" (c-lang-const c-regular-keywords-regexp))
1078 (looking-at c-not-decl-init-keywords))
1258 (let* ((prefix-re (c-make-keywords-re nil
1314 (c-make-keywords-re t
1339 ,(let ((re (c-make-keywords-re nil
1366 (c-make-keywords-re nil
1491 (c-make-keywords-re nil (c-lang-const c-brace-id-list-kwds))
1516 (c-make-keywords-re nil
1527 ;; Fontify the clauses after various keywords.
1534 (c-make-keywords-re nil
1560 (defun c-compose-keywords-list (base-list)
1564 ;; `*-font-lock-keywords-*' symbols since we have to build the list
1570 (let* ((doc-keywords
1580 "-font-lock-keywords"))))
1585 (if (listp doc-keywords)
1586 doc-keywords
1587 (list doc-keywords))))
1600 (defun c-override-default-keywords (def-var)
1601 ;; This is used to override the value on a `*-font-lock-keywords'
1603 ;; `*-font-lock-keywords-*' variables. Older font-lock packages
1604 ;; define a default value for `*-font-lock-keywords' which we want
1625 (c-override-default-keywords 'c-font-lock-keywords)
1627 (defconst c-font-lock-keywords-1 (c-lang-const c-matchers-1 c)
1632 (defconst c-font-lock-keywords-2 (c-lang-const c-matchers-2 c)
1634 In addition to `c-font-lock-keywords-1', this adds fontification of
1635 keywords, simple types, declarations that are easy to recognize, the
1639 (defconst c-font-lock-keywords-3 (c-lang-const c-matchers-3 c)
1641 Like `c-font-lock-keywords-2' but detects declarations in a more
1645 (defvar c-font-lock-keywords c-font-lock-keywords-3
1648 (defun c-font-lock-keywords-2 ()
1649 (c-compose-keywords-list c-font-lock-keywords-2))
1650 (defun c-font-lock-keywords-3 ()
1651 (c-compose-keywords-list c-font-lock-keywords-3))
1652 (defun c-font-lock-keywords ()
1653 (c-compose-keywords-list c-font-lock-keywords))
1780 (c-override-default-keywords 'c++-font-lock-keywords)
1782 (defconst c++-font-lock-keywords-1 (c-lang-const c-matchers-1 c++)
1787 (defconst c++-font-lock-keywords-2 (c-lang-const c-matchers-2 c++)
1789 In addition to `c++-font-lock-keywords-1', this adds fontification of
1790 keywords, simple types, declarations that are easy to recognize, the
1794 (defconst c++-font-lock-keywords-3 (c-lang-const c-matchers-3 c++)
1796 Like `c++-font-lock-keywords-2' but detects declarations in a more
1800 (defvar c++-font-lock-keywords c++-font-lock-keywords-3
1803 (defun c++-font-lock-keywords-2 ()
1804 (c-compose-keywords-list c++-font-lock-keywords-2))
1805 (defun c++-font-lock-keywords-3 ()
1806 (c-compose-keywords-list c++-font-lock-keywords-3))
1807 (defun c++-font-lock-keywords ()
1808 (c-compose-keywords-list c++-font-lock-keywords))
1887 (c-override-default-keywords 'objc-font-lock-keywords)
1889 (defconst objc-font-lock-keywords-1 (c-lang-const c-matchers-1 objc)
1894 (defconst objc-font-lock-keywords-2 (c-lang-const c-matchers-2 objc)
1896 In addition to `objc-font-lock-keywords-1', this adds fontification of
1897 keywords, simple types, declarations that are easy to recognize, the
1901 (defconst objc-font-lock-keywords-3 (c-lang-const c-matchers-3 objc)
1903 Like `objc-font-lock-keywords-2' but detects declarations in a more
1907 (defvar objc-font-lock-keywords objc-font-lock-keywords-3
1910 (defun objc-font-lock-keywords-2 ()
1911 (c-compose-keywords-list objc-font-lock-keywords-2))
1912 (defun objc-font-lock-keywords-3 ()
1913 (c-compose-keywords-list objc-font-lock-keywords-3))
1914 (defun objc-font-lock-keywords ()
1915 (c-compose-keywords-list objc-font-lock-keywords))
1931 (c-override-default-keywords 'java-font-lock-keywords)
1933 (defconst java-font-lock-keywords-1 (c-lang-const c-matchers-1 java)
1938 (defconst java-font-lock-keywords-2 (c-lang-const c-matchers-2 java)
1940 In addition to `java-font-lock-keywords-1', this adds fontification of
1941 keywords, simple types, declarations that are easy to recognize, the
1945 (defconst java-font-lock-keywords-3 (c-lang-const c-matchers-3 java)
1947 Like `java-font-lock-keywords-2' but detects declarations in a more
1951 (defvar java-font-lock-keywords java-font-lock-keywords-3
1954 (defun java-font-lock-keywords-2 ()
1955 (c-compose-keywords-list java-font-lock-keywords-2))
1956 (defun java-font-lock-keywords-3 ()
1957 (c-compose-keywords-list java-font-lock-keywords-3))
1958 (defun java-font-lock-keywords ()
1959 (c-compose-keywords-list java-font-lock-keywords))
1965 (c-override-default-keywords 'idl-font-lock-keywords)
1967 (defconst idl-font-lock-keywords-1 (c-lang-const c-matchers-1 idl)
1972 (defconst idl-font-lock-keywords-2 (c-lang-const c-matchers-2 idl)
1974 In addition to `idl-font-lock-keywords-1', this adds fontification of
1975 keywords, simple types, declarations that are easy to recognize, the
1979 (defconst idl-font-lock-keywords-3 (c-lang-const c-matchers-3 idl)
1981 Like `idl-font-lock-keywords-2' but detects declarations in a more
1985 (defvar idl-font-lock-keywords idl-font-lock-keywords-3
1988 (defun idl-font-lock-keywords-2 ()
1989 (c-compose-keywords-list idl-font-lock-keywords-2))
1990 (defun idl-font-lock-keywords-3 ()
1991 (c-compose-keywords-list idl-font-lock-keywords-3))
1992 (defun idl-font-lock-keywords ()
1993 (c-compose-keywords-list idl-font-lock-keywords))
1999 (c-override-default-keywords 'pike-font-lock-keywords)
2001 (defconst pike-font-lock-keywords-1 (c-lang-const c-matchers-1 pike)
2006 (defconst pike-font-lock-keywords-2 (c-lang-const c-matchers-2 pike)
2008 In addition to `pike-font-lock-keywords-1', this adds fontification of
2009 keywords, simple types, declarations that are easy to recognize, the
2013 (defconst pike-font-lock-keywords-3 (c-lang-const c-matchers-3 pike)
2015 Like `pike-font-lock-keywords-2' but detects declarations in a more
2019 (defvar pike-font-lock-keywords pike-font-lock-keywords-3
2022 (defun pike-font-lock-keywords-2 ()
2023 (c-compose-keywords-list pike-font-lock-keywords-2))
2024 (defun pike-font-lock-keywords-3 ()
2025 (c-compose-keywords-list pike-font-lock-keywords-3))
2026 (defun pike-font-lock-keywords ()
2027 (c-compose-keywords-list pike-font-lock-keywords))
2033 (defun c-font-lock-doc-comments (prefix limit keywords)
2041 ;; `font-lock-keywords' except that anchored matches and eval
2095 (keylist keywords) keyword matcher highlights)
2165 (defconst gtkdoc-font-lock-keywords
2195 (defconst javadoc-font-lock-keywords
2202 (defconst autodoc-decl-keywords
2203 ;; Adorned regexp matching the keywords that introduce declarations
2206 (c-make-keywords-re t '("@decl" "@elem" "@index" "@member") 'pike-mode)))
2208 (defconst autodoc-decl-type-keywords
2209 ;; Adorned regexp matching the keywords that are followed by a type.
2211 (c-make-keywords-re t '("@elem" "@member") 'pike-mode)))
2214 ;; Fontify all line oriented keywords between the point and LIMIT.
2227 (if (looking-at autodoc-decl-keywords)
2268 ;; Fontify types after keywords that always are followed
2271 (when (looking-at autodoc-decl-type-keywords)
2303 (defun autodoc-font-lock-keywords ()
2310 ;; end of the `autodoc-decl-keywords' occurrences to fontify the
2320 ;; 2006-07-10: awk-font-lock-keywords has been moved back to cc-awk.el.