js--font-lock-keywords-3
js--font-lock-keywords-3 is a variable defined in `
js.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Level three font lock for `js-mode'.
Value:
(("^#[ ]*\\(?:error\\|warning\\)[ ]+\\(.+\\)" 1 font-lock-warning-face prepend)
("^#[ ]*\\(?:import\\|include\\)[ ]*\\(<[^>\"\n]*>?\\)" 1 font-lock-string-face prepend)
("^#[ ]*define[ ]+\\([[:alpha:]_][[:alnum:]_$]*\\)("
(1 font-lock-function-name-face prepend)
((lambda
(limit)
(re-search-forward "\\(?:\\([[:alpha:]_][[:alnum:]_]*\\)[,]?\\)"
(or
(save-excursion
(re-search-forward ")" limit t))
limit)
t))
nil nil
(1 font-lock-variable-name-face prepend)))
("^#[ ]*\\(?:elif\\|if\\)\\>"
("\\<\\(defined\\)\\>[ ]*(?\\([[:alpha:]_][[:alnum:]_]*\\)?" nil nil
(1 font-lock-builtin-face prepend)
(2 font-lock-variable-name-face prepend t)))
("^\\(#[ ]*\\(?:define\\|e\\(?:l\\(?:if\\|se\\)\\|ndif\\|rror\\)\\|file\\|i\\(?:f\\(?:n?def\\)?\\|mport\\|nclude\\)\\|line\\|pragma\\|undef\\|warning\\)\\)\\>[ !]*\\([[:alpha:]_][[:alnum:]_]*\\)?"
(1 font-lock-preprocessor-face prepend)
(2 font-lock-variable-name-face nil t))
"\\_"
("^\\s-*function\\s-+\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)" 1 font-lock-function-name-face)
("^\\s-*\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)\\s-*:\\s-*function\\_>" 1 font-lock-function-name-face)
("\\_<\\(abstract\\|break\\|c\\(?:a\\(?:se\\|tch\\)\\|lass\\|on\\(?:st\\|tinue\\)\\)\\|d\\(?:e\\(?:bugger\\|fault\\|lete\\)\\|o\\)\\|e\\(?:lse\\|num\\|x\\(?:port\\|tends\\)\\)\\|f\\(?:inal\\(?:ly\\)?\\|or\\|unction\\)\\|goto\\|i\\(?:mp\\(?:lements\\|ort\\)\\|n\\(?:stanceof\\|terface\\)\\|[fn]\\)\\|let\\|n\\(?:ative\\|ew\\)\\|p\\(?:ackage\\|r\\(?:ivate\\|otected\\)\\|ublic\\)\\|return\\|s\\(?:tatic\\|uper\\|witch\\|ynchronized\\)\\|t\\(?:hrows?\\|r\\(?:ansient\\|y\\)\\|ypeof\\)\\|v\\(?:ar\\|o\\(?:id\\|latile\\)\\)\\|w\\(?:hile\\|ith\\)\\|yield\\)\\_>" 1 font-lock-keyword-face)
("\\_" "\\s-+\\(each\\)\\_>" nil nil
(1 font-lock-keyword-face))
("\\_<\\(b\\(?:oolean\\|yte\\)\\|char\\|double\\|float\\|int\\|long\\|short\\|void\\)\\_>" . font-lock-type-face)
("\\_<\\(Infinity\\|NaN\\|arguments\\|false\\|null\\|t\\(?:his\\|rue\\)\\|undefined\\)\\_>" . font-lock-constant-face)
("\\.\\(prototype\\)\\_>"
(1 font-lock-constant-face))
(js--class-decl-matcher "\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)\\(?:\\.\\|.*$\\)"
(goto-char
(match-beginning 1))
nil
(1 font-lock-type-face))
(js--class-decl-matcher "\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)\\(?:\\.\\|.*$\\)"
(if
(match-beginning 2)
(progn
(setq js--tmp-location
(match-end 2))
(goto-char js--tmp-location)
(insert "=")
(goto-char
(match-beginning 2)))
(setq js--tmp-location nil)
(goto-char
(point-at-eol)))
(when js--tmp-location
(save-excursion
(goto-char js--tmp-location)
(delete-char 1)))
(1 font-lock-type-face))
(js--class-decl-matcher
(2 font-lock-type-face nil t))
(#[(limit)
"\302>\205 \303\304 \305#\207"
[js-enabled-frameworks limit dojo re-search-forward "^\\s-*dojo\\.declare\\s-*(\"\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\(?:\\.[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)*\\)\\(?:\"\\s-*,\\s-*\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\(?:\\.[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)*\\)\\)?" t]
4]
(1 font-lock-type-face t)
(2 font-lock-type-face nil t))
(#[(limit)
"\302>\205 \303\304 \305#\207"
[js-enabled-frameworks limit dojo re-search-forward "^\\s-*dojo\\.declare\\s-*(\"\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\(?:\\.[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)*\\)\"\\s-*,\\s-*\\[" t]
4]
"[[,]\\s-*\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\(?:\\.[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)*\\)\\s-*\\(?:\\].*$\\)?"
(backward-char)
(end-of-line)
(1 font-lock-type-face))
(#[(limit)
"\302>\205 \303\304 \305#\207"
[js-enabled-frameworks limit dojo re-search-forward "^\\s-*[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\(?:\\.[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)*\\s-*[],]" t]
4]
"\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\(?:\\.[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)*\\)\\s-*\\(?:\\].*$\\)?"
(if
(save-excursion
(backward-char)
(js--inside-dojo-class-list-p))
(forward-symbol -1)
(end-of-line))
(end-of-line)
(1 font-lock-type-face))
("\\_<\\(const\\|var\\|let\\)\\_>\\|\\_<\\(b\\(?:oolean\\|yte\\)\\|char\\|double\\|float\\|int\\|long\\|short\\|void\\)\\_>"
(js--variable-decl-matcher nil nil nil))
("\\_\\s-+\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\(?:\\.[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)*\\)"
(1 font-lock-type-face))
("\\_\\s-+\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\(?:\\.[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)*\\)"
(1 font-lock-type-face))
("\\_\\(\\s-+[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)?\\s-*(\\s-*[a-zA-Z_$]"
("\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)\\(\\s-*).*\\)?"
(backward-char)
(end-of-line)
(1 font-lock-variable-name-face)))
("^\\s-*[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\s-*[,)]"
("[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*"
(if
(save-excursion
(backward-char)
(js--inside-param-list-p))
(forward-symbol -1)
(end-of-line))
(end-of-line)
(0 font-lock-variable-name-face))))