Variable: js--font-lock-keywords-2

js--font-lock-keywords-2 is a variable defined in js.el.gz.

Value

("\\_<import\\_>"
 ("^\\s-*function\\(?:\\s-\\|\\*\\)+\\([[:alpha:]_$]\\(?:\\s_\\|\\sw\\)*\\)"
  1 font-lock-function-name-face)
 ("^\\s-*\\([[:alpha:]_$]\\(?:\\s_\\|\\sw\\)*\\)\\s-*:\\s-*function\\_>"
  1 font-lock-function-name-face)
 ("\\_<\\(a\\(?:bstract\\|sync\\|wait\\)\\|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\\)\\|of\\|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)
 ("\\_<\\(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))

Documentation

Level two font lock keywords for js-mode.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defconst js--font-lock-keywords-2
  (append js--font-lock-keywords-1
          (list (list js--keyword-re 1 'font-lock-keyword-face)
                (cons js--basic-type-re 'font-lock-type-face)
                (cons js--constant-re 'font-lock-constant-face)))
  "Level two font lock keywords for `js-mode'.")