Variable: objc-font-lock-keywords-2
objc-font-lock-keywords-2 is a variable defined in cc-fonts.el.gz.
Value
Large value
(c-maybe-font-lock-wrong-style-comments
("\\(\\=\\|\\(\\=\\|[^\\]\\)[\n
]\\)\\s *#\\s *\\(\\(?:\\(?:error\\|warning\\)\\>\\)\\)\\s +\\(.*\\)$" 4 font-lock-string-face t)
(#[257 "\302\300!\303!\210\304\305\306#\203d\307\224b\210\303!\204\307\225b\210\310 \311\312\"\216\313\314\224\314\225\315 $)\266\310 \311\316\"\216\314\224\314\225S\211f\317=\203W\313\211T\320\321$\210\313\211T\320\322$\266\202_\323\211T\324#\266)\210\202)\325\207"
[parse-sexp-lookup-properties font-lock-string-face boundp c-skip-comments-and-strings re-search-forward "\\(\\=\\|\\(\\=\\|[^\\]\\)[\n
]\\)\\s *#\\s *\\(?:i\\(?:mport\\|nclude\\)\\)\\(\\s \\|[\n
]\\)*\\(\\(//[^\n
]*[\n
]\\|/\\*[^*\n
]*\\(\\*+[^*\n
/][^*\n
]*\\)*\\*+/\\|\\\\[\n
]\\|\\s!\\S!*\\s!\\)\\(\\s \\|[\n
]\\)*\\)*\\(<\\([^>\n
]*\\)>?\\)" t 0 match-data make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
put-text-property 8 face
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
62 category c-<-as-paren-syntax c->-as-paren-syntax remove-text-properties
(category nil)
nil]
9 "\n\n(fn LIMIT)"])
(#[257 "\302\300!\303!\210\304\305\306#\203t\307\224b\210\303!\204\307\225b\210\310 \311\312\"\216\313\224\203f\214\314\315\224\315\225\316\317$\210\313\225b\210e}\210\320 \210\321 !\203b\314\307\224\307\225\316\322$\210\307\225b\210\320 \210\323f\324=\203b\323u\210\202<)\202o\314\315\224\315\225\316\322$\210)\210\202)\323\207"
[parse-sexp-lookup-properties c-symbol-key boundp c-skip-comments-and-strings re-search-forward "\\(\\=\\|\\(\\=\\|[^\\]\\)[\n
]\\)\\s *#\\s *define\\(\\(\\s \\|[\n
]\\)\\|//[^\n
]*[\n
]\\|/\\*[^*\n
]*\\(\\*+[^*\n
/][^*\n
]*\\)*\\*+/\\|\\\\[\n
]\\|\\s!\\S!*\\s!\\)+\\([[:alpha:]_@][[:alnum:]_$@]\\{,1000\\}\\)\\(\\((\\)\\|\\([^(]\\|$\\)\\)" t 0 match-data make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
8 put-text-property 6 face font-lock-function-name-face c-forward-sws looking-at font-lock-variable-name-face nil 44]
7 "\n\n(fn LIMIT)"])
(#[257 "\303\300! \304=\203@\212\305 \210`)\306!\210\307\310\311#\203?\312\224b\210\306!\204\312\225b\210\313 \314\315\"\216\316\317\224\317\225\320\n$)\266\202\210\306!\210`W\203\207\307\321\311#\203\207\312\224b\210\306!\204D\312\225b\210\322\225b\210\313 \314\323\"\216\312\225\307\310\324#\203\201\316\317\224\317\225\320\n$\210\202m)\266\202D)\325\207"
[parse-sexp-lookup-properties c-font-lock-context c-preprocessor-face-name boundp in-cpp-expr c-end-of-macro c-skip-comments-and-strings re-search-forward "\\(\\(?:defined\\)\\)\\([^[:alnum:]_$@]\\|$\\)" t 0 match-data make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
put-text-property 1 face "\\(\\=\\|\\(\\=\\|[^\\]\\)[\n
]\\)\\s *#\\s *\\(\\(?:\\(?:el\\)?if\\)\\)\\([^[:alnum:]_$@]\\|$\\)\\(\\\\\\(.\\|[\n
]\\)\\|[^\n
]\\)*" 3
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
move nil]
8 "\n\n(fn LIMIT)"])
(#[257 "\302\300!\303!\210\304\305\306#\2033\307\224b\210\303!\204\307\225b\210\310 \311\312\"\216\313\314\224\314\225\315 $)\266\202)\316\207"
[parse-sexp-lookup-properties c-preprocessor-face-name boundp c-skip-comments-and-strings re-search-forward "\\(\\=\\|\\(\\=\\|[^\\]\\)[\n
]\\)\\(\\s *#\\s *[[:alnum:]_$@]+\\)" t 0 match-data make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
put-text-property 3 face nil]
7 "\n\n(fn LIMIT)"])
(eval list
#[257 "\300\301!\210\302\303\304#\211\262\203\305\224b\210\301!\204\305\225b\210\207"
[nil c-skip-comments-and-strings re-search-forward "\\(\\=\\|\\(\\=\\|[^\\]\\)[\n
]\\)\\s *#\\s *if\\(n\\)def\\>" t 0]
6 "\n\n(fn LIMIT)"]
3 c-negation-char-face-name 'append)
(eval list "\240" 0
(progn
(unless
(c-face-name-p 'c-nonbreakable-space-face)
(c-make-inverse-face 'font-lock-warning-face 'c-nonbreakable-space-face))
''c-nonbreakable-space-face))
("\\s|" 0 font-lock-warning-face t nil)
c-font-lock-invalid-single-quotes
(eval list "\\<\\(\\(?:IB\\(?:Action\\|Outlet\\)\\|N\\(?:O\\|S_\\(?:DURING\\|\\(?:END\\)?HANDLER\\)\\|il\\)\\|YES\\|nil\\)\\)\\>" 1 c-constant-face-name)
("\\<\\(\\(?:@\\(?:autoreleasepool\\|c\\(?:atch\\|\\(?:las\\|ompatibility_alia\\)s\\)\\|d\\(?:efs\\|ynamic\\)\\|en\\(?:code\\|d\\)\\|finally\\|i\\(?:mplementation\\|nterface\\)\\|optional\\|p\\(?:ackage\\|r\\(?:ivate\\|o\\(?:perty\\|t\\(?:ected\\|ocol\\)\\)\\)\\|ublic\\)\\|required\\|s\\(?:elector\\|yn\\(?:chronized\\|thesize\\)\\)\\|t\\(?:hrow\\|ry\\)\\)\\|auto\\|b\\(?:reak\\|y\\(?:copy\\|ref\\)\\)\\|c\\(?:ase\\|on\\(?:st\\|tinue\\)\\)\\|d\\(?:efault\\|o\\)\\|e\\(?:lse\\|num\\|xtern\\)\\|for\\|goto\\|i\\(?:nout\\|[fn]\\)\\|o\\(?:neway\\|ut\\)\\|return\\|s\\(?:elf\\|t\\(?:atic\\|ruct\\)\\|uper\\|witch\\)\\|typedef\\|union\\|\\(?:volat\\|wh\\)ile\\)\\)\\([^[:alnum:]_$@]\\|$\\)" 1 font-lock-keyword-face)
#[257 "\304\300!\305!\210\306\307\310#\203c\311\224b\210\305!\204\311\225b\210\312 \313\314\"\216\310\315`\206/dW\203@\214e\206:d}\210\316 )\210`\317 \320=\203Q\211b\210\310\317 )\210\210`V\203[b\210\321 +\266\202)\315\207"
[parse-sexp-lookup-properties c-record-ref-identifiers c-record-type-identifiers c-promote-possible-types boundp c-skip-comments-and-strings re-search-forward "\\[" t 0 match-data make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
nil c-forward-sws c-forward-type known c-fontify-recorded-types-and-refs]
5 "\n\n(fn LIMIT)"]
#[257 "\303\300!\304!\210\305\306\307#\203<\310\224b\210\304!\204\310\225b\210\310\224b\210\311 \312\313\"\216\307\314\303\300!\315 \210\316 ,\266\202)\314\207"
[parse-sexp-lookup-properties c-record-ref-identifiers c-record-type-identifiers boundp c-skip-comments-and-strings re-search-forward "\\<\\(@\\(?:i\\(?:mplementation\\|nterface\\)\\|protocol\\)\\)\\>" t 0 match-data make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
nil c-forward-objc-directive c-fontify-recorded-types-and-refs]
6 "\n\n(fn LIMIT)"]
(eval list "\\(!\\)[^=]" 1 c-negation-char-face-name)
("^\\s *\\([+-]\\)\\(\\s \\|[\n
]\\)*\\(([^)]*)\\(\\s \\|[\n
]\\)*\\)?\\([[:alpha:]_@][[:alnum:]_$@]\\{,1000\\}\\)"
(#[257 "\301\214e}\210\302 *\210\303\207"
[parse-sexp-lookup-properties t c-font-lock-objc-method nil]
3 "\n\n(fn LIMIT)"]
(goto-char
(match-end 1))))
(eval list
#[257 "\302\300!\303!\210\304 \305#\203W\306\224b\210\303!\204\306\225b\210\307 \310\311\"\216\312\313\224\313\225\314\315$)\266\307 \310\316\"\216\313\225b\210\317 )\266\307 \310\320\"\216\321\305\322\211$)\266\313\225b\210\202)\322\207"
[parse-sexp-lookup-properties c-known-type-key boundp c-skip-comments-and-strings re-search-forward t 0 match-data make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
put-text-property 1 face font-lock-type-face
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
c-forward-sws
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
c-font-lock-declarators nil]
7 "\n\n(fn LIMIT)"])
(#[257 "\301\300!\302!\210\303\304\305#\203W\306\224b\210\302!\204\306\225b\210\307 \310\311\"\216\312\313\224\313\225\314\315$)\266\307 \310\316\"\216\313\225b\210\317 )\266\307 \310\320\"\216\321\305\322\211$)\266\313\225b\210\202)\322\207"
[parse-sexp-lookup-properties boundp c-skip-comments-and-strings re-search-forward "\\<\\(\\(?:enum\\|struct\\|union\\)\\)\\(\\s \\|[\n
]\\)+\\([[:alpha:]_@][[:alnum:]_$@]\\{,1000\\}\\)" t 0 match-data make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
put-text-property 3 face font-lock-type-face
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
c-forward-sws
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
c-font-lock-declarators nil]
7 "\n\n(fn LIMIT)"])
(#[257 "\301\300!\302!\210\303\304\305#\203E\306\224b\210\302!\204\306\225b\210\307 \310\311\"\216\312\225b\210\313 )\266\307 \310\314\"\216\315\305\316\211$)\266\312\225b\210\202)\316\207"
[parse-sexp-lookup-properties boundp c-skip-comments-and-strings re-search-forward "\\<\\(\\(?:@\\(?:i\\(?:mplementation\\|nterface\\)\\|protocol\\)\\|enum\\|struct\\|union\\)\\)\\>" t 0 match-data make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
1 c-forward-sws
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
c-font-lock-declarators nil]
7 "\n\n(fn LIMIT)"])
c-font-lock-labels c-font-lock-enum-tail c-font-lock-enum-body
(eval list "\\<\\(\\(?:goto\\)\\)\\>\\s *\\([[:alpha:]_@][[:alnum:]_$@]\\{,1000\\}\\)"
(list 2 c-label-face-name nil t))
(#[257 "\304 \211\203 \211b\210\210\305\300!\306\307!`\310!@\311=\203 `\202!\211\262b\210\312!\210\313\314\315#\203a\316\224b\210\312!\204)\316\225b\210\317 \320\321\"\216\315\322\315\323\324!\210`V\203Yb\210\325 ,\266\202))\266\322\207"
[parse-sexp-lookup-properties c-promote-possible-types c-record-ref-identifiers c-record-type-identifiers c-literal-start boundp c-determine-limit 1000 c-beginning-of-decl-1 same c-skip-comments-and-strings re-search-forward "\\<\\(\\(?:@class\\)\\)\\>" t 0 match-data make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
nil c-forward-keyword-clause 1 c-fontify-recorded-types-and-refs]
7 "\n\n(fn LIMIT)"])
(#[257 "\304\300!\305!\210\306\307\310#\203@\311\224b\210\305!\204\311\225b\210\312 \313\314\"\216\310\315\310\316\317!\210`V\2038b\210\320 ,\266\202)\315\207"
[parse-sexp-lookup-properties c-promote-possible-types c-record-ref-identifiers c-record-type-identifiers boundp c-skip-comments-and-strings re-search-forward "\\<\\(\\(?:@defs\\)\\)\\>" t 0 match-data make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
nil c-forward-keyword-clause 1 c-fontify-recorded-types-and-refs]
5 "\n\n(fn LIMIT)"]))
Documentation
Fast normal font locking for Objective-C mode.
In addition to objc-font-lock-keywords-1, this adds fontification of
keywords, simple types, declarations that are easy to recognize, the
user defined types on objc-font-lock-extra-types, and the doc
comment styles specified by c-doc-comment-style.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-fonts.el.gz
(defconst objc-font-lock-keywords-2 (c-lang-const c-matchers-2 objc)
"Fast normal font locking for Objective-C mode.
In addition to `objc-font-lock-keywords-1', this adds fontification of
keywords, simple types, declarations that are easy to recognize, the
user defined types on `objc-font-lock-extra-types', and the doc
comment styles specified by `c-doc-comment-style'.")