Variable: js--keyword-re

js--keyword-re is a variable defined in js.el.gz.

Value

"\\_<\\(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\\)\\_>"

Documentation

Regexp matching any JavaScript keyword.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defconst js--keyword-re
  (js--regexp-opt-symbol
   '("abstract" "async" "await" "break" "case" "catch" "class" "const"
     "continue" "debugger" "default" "delete" "do" "else"
     "enum" "export" "extends" "final" "finally" "for"
     "function" "goto" "if" "implements" "import" "in"
     "instanceof" "interface" "native" "new" "of" "package"
     "private" "protected" "public" "return" "static"
     "super" "switch" "synchronized" "throw"
     "throws" "transient" "try" "typeof" "var" "void" "let"
     "yield" "volatile" "while" "with"))
  "Regexp matching any JavaScript keyword.")