Variable: csharp-font-lock-keywords-2
csharp-font-lock-keywords-2 is a variable defined in
csharp-mode.el.gz.
Value
Large value
(c-maybe-font-lock-wrong-style-comments c-font-lock-cpp-messages
("\\(\\=\\|\\(\\=\\|[^\\]\\)[\n
]\\)\\(\\`a\\`\\)\\(\\s \\|[\n
]\\)*\\(\\(//[^\n
]*[\n
]\\|/\\*[^*\n
]*\\(\\*+[^*\n
/][^*\n
]*\\)*\\*+/\\|\\\\[\n
]\\|\\s!\\S!*\\s!\\)\\(\\s \\|[\n
]\\)*\\)*\\(<\\([^>\n
]*\\)>?\\)"
9 font-lock-string-face t)
(#[257
"\302\300!\303!\210`W\203z\304\305\306#\203z\307\224b\210\303!\204\307\225b\210\310 \311\312\"\216\313\224\203l\214\314\315\224\315\225\316\317$\210\313\225b\210e}\210\320 \210\321 !\203h\314\307\224\307\225\316\322$\210\307\225b\210\320 \210\323f\324=\203h\323u\210\202B)\202u\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\315\"\216\312\225\307\310\323#\203\201\316\317\224\317\225\320\n$\210\202m)\266\202D)\324\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\\)\\_>" 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\\)\\_>\\(\\\\\\(.\\|[\n
]\\)\\|[^\n
]\\)*"
3 move nil]
8 "\n\n(fn LIMIT)"])
(#[257
"\302\300!\303!\210`W\2039\304\305\306#\2039\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
"\\<\\(\\_<\\(false\\|null\\|\\(?:tr\\|val\\)ue\\)\\_>\\)\\>"
1 c-constant-face-name)
("\\<\\_<\\(a\\(?:bstract\\|s\\(?:cending\\|ync\\)?\\|wait\\)\\|b\\(?:ase\\|reak\\|y\\)\\|c\\(?:a\\(?:se\\|tch\\)\\|hecked\\|lass\\|on\\(?:st\\|tinue\\)\\)\\|d\\(?:e\\(?:fault\\|legate\\|scending\\)\\|o\\)\\|e\\(?:lse\\|num\\|quals\\|vent\\|x\\(?:plicit\\|te\\(?:nds\\|rn\\)\\)\\)\\|f\\(?:i\\(?:nal\\(?:ly\\)?\\|xed\\)\\|or\\(?:each\\)?\\|rom\\)\\|g\\(?:et\\|oto\\|roup\\)\\|i\\(?:mpl\\(?:ements\\|icit\\)\\|n\\(?:stanceof\\|t\\(?:er\\(?:face\\|nal\\)\\|o\\)\\)\\|[fns]\\)\\|join\\|l\\(?:et\\|ock\\)\\|n\\(?:a\\(?:\\(?:mespac\\|tiv\\)e\\)\\|ew\\)\\|o\\(?:n\\|perator\\|rderby\\|ut\\|verride\\)\\|p\\(?:ar\\(?:ams\\|tial\\)\\|r\\(?:ivate\\|otected\\)\\|ublic\\)\\|re\\(?:adonly\\|f\\|turn\\)\\|s\\(?:e\\(?:aled\\|\\(?:lec\\)?t\\)\\|t\\(?:atic\\|ruct\\)\\|uper\\|witch\\)\\|t\\(?:h\\(?:is\\|rows?\\)\\|r\\(?:ansient\\|y\\)\\|ypeof\\)\\|u\\(?:n\\(?:checked\\|safe\\)\\|sing\\)\\|v\\(?:irtual\\|olatile\\)\\|wh\\(?:e\\(?:n\\|re\\)\\|ile\\)\\|yield\\)\\_>"
1 font-lock-keyword-face)
(#[257
"\301\300!\302!\210`W\2038\303\304\305#\2038\306\224b\210\302!\204\306\225b\210\307 \310\311\"\216\312\313!)\266\306\225b\210\202)\314\207"
[parse-sexp-lookup-properties
boundp
c-skip-comments-and-strings
re-search-forward
"^using\\|namespace\\s *\\([A-Z][A-Za-z0-9_]*\\)"
t 0 match-data
make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
csharp--color-forwards
font-lock-variable-name-face
nil]
5 "\n\n(fn LIMIT)"])
(eval list "\\(!\\)[^=]" 1
c-negation-char-face-name)
(eval list
(concat "\\<new\\> *"
csharp--regex-type-name-matcher)
1 font-lock-type-face)
(eval list
(concat "\\["
csharp--regex-type-name-matcher
"\\][^;]")
1
'font-lock-variable-name-face
t)
(eval list
"\\([A-Za-z0-9_]+\\)\\(<[a-zA-Z0-9, ]+>\\)?("
1
font-lock-function-name-face)
(eval list
(concat
"\\(\\<nameof\\>\\) *(")
1
font-lock-function-name-face)
(eval list
(concat
"\\<nameof\\> *( *"
csharp--regex-identifier-matcher
" *) *")
1
'font-lock-variable-name-face)
(eval list
(concat
"\\<catch\\> *( *"
csharp--regex-type-name-matcher
" *) *")
1 font-lock-type-face)
(eval list
#[257
"\302\300!\303!\210`W\203]\304 \305#\203]\306\224b\210\303!\204\306\225b\210\307 \310\311\"\216\312\313\224\313\225\314\315$)\266\307 \310\311\"\216\313\225b\210\316 )\266\307 \310\311\"\216\317\305\320\211$)\266\313\225b\210\202)\320\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
c-forward-sws
c-font-lock-declarators
nil]
7 "\n\n(fn LIMIT)"])
(#[257
"\301\300!\302!\210`W\203]\303\304\305#\203]\306\224b\210\302!\204\306\225b\210\307 \310\311\"\216\312\313\224\313\225\314\315$)\266\307 \310\311\"\216\313\225b\210\316 )\266\307 \310\311\"\216\317\305\320\211$)\266\313\225b\210\202)\320\207"
[parse-sexp-lookup-properties
boundp
c-skip-comments-and-strings
re-search-forward
"\\_<\\(\\_<\\(class\\|interface\\|struct\\)\\_>\\)\\(\\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 4 face
font-lock-type-face
c-forward-sws
c-font-lock-declarators
nil]
7 "\n\n(fn LIMIT)"])
(#[257
"\301\300!\302!\210`W\203K\303\304\305#\203K\306\224b\210\302!\204\306\225b\210\307 \310\311\"\216\312\225b\210\313 )\266\307 \310\311\"\216\314\305\315\211$)\266\312\225b\210\202)\315\207"
[parse-sexp-lookup-properties
boundp
c-skip-comments-and-strings
re-search-forward
"\\_<\\(class\\|enum\\|interface\\|struct\\)\\_>"
t 0 match-data
make-closure
#[0 "\301\300\302\"\207"
[V0 set-match-data t]
3]
1 c-forward-sws
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
"\\_<\\(\\_<\\(break\\|continue\\|goto\\)\\_>\\)\\_>\\s *\\([[:alpha:]_@][[:alnum:]_$]\\{,1000\\}\\)"
(list 3
c-label-face-name
nil t))
(#[257
"\304 \211\203 \211b\210\210\305\300!\306\307!`\310!@\311=\203\210`b\210\312!\210\313\314\315#\203\\\316\224b\210\312!\204$\316\225b\210\317 \320\321\"\216\315\322\315\323\324!\210`V\203Tb\210\325 ,\266\202$)\322\207"
[parse-sexp-lookup-properties
c-record-type-identifiers
c-record-ref-identifiers
c-promote-possible-types
c-literal-start boundp
c-determine-limit 1000
c-beginning-of-decl-1 same
c-skip-comments-and-strings
re-search-forward
"\\_<\\(\\_<\\(class\\|interface\\|struct\\)\\_>\\)\\_>"
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]
8 "\n\n(fn LIMIT)"])
(eval list
"\\_<\\(@[a-zA-Z0-9]+\\)\\_>"
1 c-annotation-face))
Documentation
Fast normal font locking for C# mode.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/csharp-mode.el.gz
(defconst csharp-font-lock-keywords-2 (c-lang-const c-matchers-2 csharp)
"Fast normal font locking for C# mode.")