Variable: sql-mode-linter-font-lock-keywords

sql-mode-linter-font-lock-keywords is a variable defined in sql.el.gz.

Value

(("\\b\\(auto\\(?:commit\\|inc\\|rowid\\)\\|c\\(?:a\\(?:ncel\\|scade\\)\\|hannel\\|o\\(?:mmitted\\|unt\\(?:blob\\)?\\)\\|ross\\|urrent\\)\\|d\\(?:at\\(?:a\\(?:base\\|files?\\)?\\|esplit\\)\\|b\\(?:a\\|name\\)\\|e\\(?:f\\(?:ault\\|erred\\)\\|nied\\|scription\\|vice\\)\\|i\\(?:fference\\|rectory\\)\\)\\|e\\(?:rror\\|scape\\|uc\\|x\\(?:clusive\\|t\\(?:ernal\\|file\\)\\)\\)\\|f\\(?:alse\\|i\\(?:l\\(?:e\\(?:\\(?:nam\\|siz\\|tim\\)e\\)?\\|ter\\)\\|ndblob\\|rst\\)\\|oreign\\|u\\(?:ll\\|zzy\\)\\)\\|g\\(?:lobal\\|ranted\\)\\|i\\(?:gnore\\|mmediate\\|n\\(?:crement\\|dex\\(?:es\\|files?\\|time\\)\\|itial\\|te\\(?:grity\\|rnal\\)\\)\\)\\|key\\|l\\(?:ast_\\(?:autoinc\\|rowid\\)\\|i\\(?:mit\\|nter\\(?:_\\(?:file_\\(?:\\(?:devic\\|siz\\)e\\)\\|name_length\\)\\)?\\)\\|n\\|o\\(?:cal\\|gin\\)\\)\\|m\\(?:ax\\(?:isn\\|row\\(?:id\\)?\\|value\\)\\|\\(?:essag\\|invalu\\|odul\\)e\\)\\|n\\(?:a\\(?:mes\\|t\\(?:\\(?:ion\\|ur\\)al\\)\\)\\|ew\\(?:_table\\)?\\|o\\(?:de\\|neuc\\)?\\|u\\(?:lliferror\\|mbers\\)\\)\\|o\\(?:ff\\|ld\\(?:_table\\)?\\|nly\\|p\\(?:eration\\|ti\\(?:mistic\\|on\\)\\)\\)\\|p\\(?:a\\(?:ge\\|rtially\\|ssword\\)\\|hrase\\|lan\\|r\\(?:ecision\\|i\\(?:mary\\|ority\\|vileges\\)\\|o\\(?:c_\\(?:info_size\\|par_name_len\\)\\|tocol\\)\\)\\)\\|quant\\|r\\(?:a\\(?:nge\\|w\\)\\|e\\(?:ad\\|cords?\\|ferences\\|mote\\|name\\|plication\\|start\\|write\\)\\|o\\(?:ot\\|w\\)\\|ule\\)\\|s\\(?:avepoint\\|e\\(?:curity\\|nsitive\\|quence\\|r\\(?:ializable\\|ver\\)\\)\\|i\\(?:\\(?:nc\\|z\\)e\\)\\|ome\\|ta\\(?:rtup\\|t\\(?:ement\\|ion\\)\\)\\|uccess\\|ys_guid\\)\\|t\\(?:ables\\|est\\|imeout\\|r\\(?:a\\(?:ce\\|ns\\(?:\\(?:ac\\|la\\)tion\\)\\)\\|igger\\(?:_info_size\\)?\\|u\\(?:e\\|nc\\)\\)\\)\\|u\\(?:n\\(?:committed\\|icode\\|known\\|li\\(?:\\(?:mi\\|s\\)ted\\)\\)\\|ser\\|tf8\\)\\|v\\(?:a\\(?:lue\\|rying\\)\\|olumes\\)\\|w\\(?:ait\\|\\(?:indows_cod\\|orkspac\\|rit\\)e\\)\\|xml\\)\\b"
  . font-lock-keyword-face)
 ("\\b\\(a\\(?:c\\(?:cess\\|tion\\)\\|dd\\(?:ress\\)?\\|fter\\|l\\(?:l\\|ter\\|ways\\)\\|n[dy]\\|ppend\\|s\\(?:\\(?:ci\\|yn\\)?c\\)?\\|t_\\(?:begin\\|end\\)\\|ud\\(?:_obj_name_len\\|it\\)\\)\\|b\\(?:a\\(?:ckup\\|se\\)\\|e\\(?:fore\\|tween\\)\\|lob\\(?:files?\\|pct\\)\\|r\\(?:ief\\|owse\\)\\|y\\)\\|c\\(?:as[et]\\|heck\\|l\\(?:ear\\|ose\\)\\|o\\(?:lumn\\|mm\\(?:\\(?:en\\|i\\)t\\)\\|n\\(?:nect\\|tains\\)\\|rrect\\)\\|reate\\)\\|d\\(?:e\\(?:lete\\|sc\\)\\|is\\(?:able\\|\\(?:conne\\|tin\\)ct\\)\\|rop\\)\\|e\\(?:ach\\|f\\|lse\\|n\\(?:able\\|d\\)\\|vent\\|x\\(?:c\\(?:ept\\|lude\\)\\|ecute\\|ists\\|tract\\)\\)\\|f\\(?:etch\\|inish\\|or\\|rom\\)\\|g\\(?:et\\|r\\(?:ant\\|oup\\)\\)\\|having\\|i\\(?:dentified\\|n\\(?:dex\\|ner\\|s\\(?:ert\\|tead\\)\\|t\\(?:ersect\\|o\\)\\)\\|solation\\|[ns]\\)\\|join\\|l\\(?:e\\(?:ft\\|vel\\)\\|ike\\|ock\\)\\|mod\\(?:e\\|ify\\)\\|n\\(?:o\\(?:\\(?:wai\\)?t\\)\\|ull\\)\\|o\\(?:pen\\|\\(?:rd\\|ut\\|wn\\)er\\|[fnr]\\)\\|p\\(?:r\\(?:ess\\|ior\\|ocedure\\)\\|u\\(?:blic\\|rge\\)\\)\\|r\\(?:e\\(?:build\\|s\\(?:ource\\|trict\\)\\|voke\\)\\|ight\\|o\\(?:l\\(?:e\\|lback\\)\\|wnum\\)\\)\\|s\\(?:e\\(?:lect\\|ssion\\|t\\)\\|h\\(?:are\\|utdown\\)\\|t\\(?:art\\|op\\)\\|y\\(?:n\\(?:c\\(?:hronize\\)?\\|onym\\)\\|sdate\\)\\)\\|t\\(?:able\\|hen\\|o\\)\\|u\\(?:n\\(?:i\\(?:on\\|que\\)\\|lock\\|til\\)\\|pdate\\|sing\\)\\|v\\(?:alues\\|iew\\)\\|w\\(?:he\\(?:n\\|re\\)\\|ith\\(?:out\\)?\\)\\)\\b"
  . font-lock-keyword-face)
 ("\\b\\(a\\(?:bs\\|cos\\|sin\\|tan2?\\|vg\\)\\|c\\(?:eil\\|hr\\|osh?\\)\\|d\\(?:ay\\(?:name\\|s\\)\\|\\(?:ecod\\|ivtim\\)e\\)\\|exp\\|floor\\|g\\(?:et\\(?:b\\(?:its\\|lob\\|yte\\)\\|long\\|raw\\|str\\|text\\|word\\)\\|reatest\\)\\|hex\\(?:toraw\\)?\\|in\\(?:itcap\\|str\\)\\|l\\(?:e\\(?:ast\\|n\\(?:blob\\|gth\\)\\)\\|o\\(?:g\\|wer\\)\\|pad\\|trim\\)\\|m\\(?:ax\\|in\\|o\\(?:d\\|nthname\\)\\|ultime\\)\\|nvl\\|octet_length\\|power\\|r\\(?:a\\(?:nd\\|wtohex\\)\\|ep\\(?:eat_string\\|lace\\)\\|ight_substr\\|ound\\|pad\\|trim\\)\\|s\\(?:i\\(?:gn\\|nh?\\)\\|oundex\\|qrt\\|u\\(?:bstr\\(?:ing\\)?\\|m\\)\\)\\|t\\(?:anh?\\|imeint_to_days\\|o_\\(?:char\\|date\\|gmtime\\|localtime\\|number\\)\\|rim\\)\\|upper\\|width\\)\\b"
  . font-lock-builtin-face)
 ("\\b\\(b\\(?:i\\(?:gint\\|tmap\\)\\|lob\\|oolean\\|yte\\)\\|c\\(?:\\(?:ha\\(?:racte\\)?\\|urso\\)r\\)\\|d\\(?:ate\\(?:time\\)?\\|ec\\(?:imal\\)?\\|ouble\\)\\|float\\|int\\(?:eger\\)?\\|long\\|n\\(?:char\\|um\\(?:ber\\|eric\\)\\)\\|real\\|smallint\\|var\\(?:byte\\|char\\)\\)\\b"
  . font-lock-type-face))

Documentation

Linter SQL keywords used by font-lock.

This variable is used by sql-mode and sql-interactive-mode. The regular expressions are created during compilation by calling the function regexp-opt.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sql.el.gz
(defvar sql-mode-linter-font-lock-keywords
  (eval-when-compile
    (list
     ;; Linter Keywords
     (sql-font-lock-keywords-builder 'font-lock-keyword-face nil
"autocommit" "autoinc" "autorowid" "cancel" "cascade" "channel"
"committed" "count" "countblob" "cross" "current" "data" "database"
"datafile" "datafiles" "datesplit" "dba" "dbname" "default" "deferred"
"denied" "description" "device" "difference" "directory" "error"
"escape" "euc" "exclusive" "external" "extfile" "false" "file"
"filename" "filesize" "filetime" "filter" "findblob" "first" "foreign"
"full" "fuzzy" "global" "granted" "ignore" "immediate" "increment"
"indexes" "indexfile" "indexfiles" "indextime" "initial" "integrity"
"internal" "key" "last_autoinc" "last_rowid" "limit" "linter"
"linter_file_device" "linter_file_size" "linter_name_length" "ln"
"local" "login" "maxisn" "maxrow" "maxrowid" "maxvalue" "message"
"minvalue" "module" "names" "national" "natural" "new" "new_table"
"no" "node" "noneuc" "nulliferror" "numbers" "off" "old" "old_table"
"only" "operation" "optimistic" "option" "page" "partially" "password"
"phrase" "plan" "precision" "primary" "priority" "privileges"
"proc_info_size" "proc_par_name_len" "protocol" "quant" "range" "raw"
"read" "record" "records" "references" "remote" "rename" "replication"
"restart" "rewrite" "root" "row" "rule" "savepoint" "security"
"sensitive" "sequence" "serializable" "server" "since" "size" "some"
"startup" "statement" "station" "success" "sys_guid" "tables" "test"
"timeout" "trace" "transaction" "translation" "trigger"
"trigger_info_size" "true" "trunc" "uncommitted" "unicode" "unknown"
"unlimited" "unlisted" "user" "utf8" "value" "varying" "volumes"
"wait" "windows_code" "workspace" "write" "xml"
)

     ;; Linter Reserved
     (sql-font-lock-keywords-builder 'font-lock-keyword-face nil
"access" "action" "add" "address" "after" "all" "alter" "always" "and"
"any" "append" "as" "asc" "ascic" "async" "at_begin" "at_end" "audit"
"aud_obj_name_len" "backup" "base" "before" "between" "blobfile"
"blobfiles" "blobpct" "brief" "browse" "by" "case" "cast" "check"
"clear" "close" "column" "comment" "commit" "connect" "contains"
"correct" "create" "delete" "desc" "disable" "disconnect" "distinct"
"drop" "each" "ef" "else" "enable" "end" "event" "except" "exclude"
"execute" "exists" "extract" "fetch" "finish" "for" "from" "get"
"grant" "group" "having" "identified" "in" "index" "inner" "insert"
"instead" "intersect" "into" "is" "isolation" "join" "left" "level"
"like" "lock" "mode" "modify" "not" "nowait" "null" "of" "on" "open"
"or" "order" "outer" "owner" "press" "prior" "procedure" "public"
"purge" "rebuild" "resource" "restrict" "revoke" "right" "role"
"rollback" "rownum" "select" "session" "set" "share" "shutdown"
"start" "stop" "sync" "synchronize" "synonym" "sysdate" "table" "then"
"to" "union" "unique" "unlock" "until" "update" "using" "values"
"view" "when" "where" "with" "without"
)

     ;; Linter Functions
     (sql-font-lock-keywords-builder 'font-lock-builtin-face nil
"abs" "acos" "asin" "atan" "atan2" "avg" "ceil" "cos" "cosh" "divtime"
"exp" "floor" "getbits" "getblob" "getbyte" "getlong" "getraw"
"getstr" "gettext" "getword" "hextoraw" "lenblob" "length" "log"
"lower" "lpad" "ltrim" "max" "min" "mod" "monthname" "nvl"
"octet_length" "power" "rand" "rawtohex" "repeat_string"
"right_substr" "round" "rpad" "rtrim" "sign" "sin" "sinh" "soundex"
"sqrt" "sum" "tan" "tanh" "timeint_to_days" "to_char" "to_date"
"to_gmtime" "to_localtime" "to_number" "trim" "upper" "decode"
"substr" "substring" "chr" "dayname" "days" "greatest" "hex" "initcap"
"instr" "least" "multime" "replace" "width"
)

     ;; Linter Data Types
     (sql-font-lock-keywords-builder 'font-lock-type-face nil
"bigint" "bitmap" "blob" "boolean" "char" "character" "date"
"datetime" "dec" "decimal" "double" "float" "int" "integer" "nchar"
"number" "numeric" "real" "smallint" "varbyte" "varchar" "byte"
"cursor" "long"
)))

  "Linter SQL keywords used by font-lock.

This variable is used by `sql-mode' and `sql-interactive-mode'.  The
regular expressions are created during compilation by calling the
function `regexp-opt'.")