SYMBOL INDEX (290 symbols across 43 files) FILE: src/highlight.js constant NO_MATCH (line 43) | const NO_MATCH = Symbol("nomatch"); constant MAX_KEYWORD_HITS (line 44) | const MAX_KEYWORD_HITS = 7; function shouldNotHighlight (line 88) | function shouldNotHighlight(languageName) { function blockLanguage (line 95) | function blockLanguage(block) { function highlight (line 137) | function highlight(codeOrLanguageName, optionsOrCode, ignoreIllegals) { function _highlight (line 187) | function _highlight(languageName, codeToHighlight, ignoreIllegals, conti... function justTextHighlightResult (line 659) | function justTextHighlightResult(code) { function highlightAuto (line 685) | function highlightAuto(code, languageSubset) { function updateClassName (line 731) | function updateClassName(element, currentLang, resultLang) { function highlightElement (line 743) | function highlightElement(element) { function configure (line 807) | function configure(userOptions) { function initHighlightingOnLoad (line 818) | function initHighlightingOnLoad() { function highlightAll (line 828) | function highlightAll() { function registerLanguage (line 854) | function registerLanguage(languageName, languageDefinition) { function unregisterLanguage (line 883) | function unregisterLanguage(languageName) { function listLanguages (line 895) | function listLanguages() { function getLanguage (line 903) | function getLanguage(name) { function registerAliases (line 913) | function registerAliases(aliasList, { languageName }) { function autoDetection (line 924) | function autoDetection(name) { function upgradePluginAPI (line 934) | function upgradePluginAPI(plugin) { function addPlugin (line 955) | function addPlugin(plugin) { function removePlugin (line 963) | function removePlugin(plugin) { function fire (line 975) | function fire(event, args) { function deprecateHighlightBlock (line 988) | function deprecateHighlightBlock(el) { FILE: src/languages/cos.js function cos (line 9) | function cos(hljs) { FILE: src/languages/crystal.js function recursiveParen (line 52) | function recursiveParen(begin, end) { FILE: src/languages/gcode.js function LETTER_BOUNDARY_CALLBACK (line 69) | function LETTER_BOUNDARY_CALLBACK(matchdata, response) { FILE: src/languages/groovy.js function variants (line 9) | function variants(variants, obj = {}) { FILE: src/languages/java.js function recurRegex (line 21) | function recurRegex(re, substitution, depth) { FILE: src/languages/javascript.js function noneOf (line 380) | function noneOf(list) { FILE: src/languages/lib/css-shared.js constant HTML_TAGS (line 50) | const HTML_TAGS = [ constant SVG_TAGS (line 130) | const SVG_TAGS = [ constant TAGS (line 174) | const TAGS = [ constant MEDIA_FEATURES (line 182) | const MEDIA_FEATURES = [ constant PSEUDO_CLASSES (line 220) | const PSEUDO_CLASSES = [ constant PSEUDO_ELEMENTS (line 283) | const PSEUDO_ELEMENTS = [ constant ATTRIBUTES (line 300) | const ATTRIBUTES = [ constant PSEUDO_SELECTORS (line 819) | const PSEUDO_SELECTORS = PSEUDO_CLASSES.concat(PSEUDO_ELEMENTS).sort().r... FILE: src/languages/lib/ecmascript.js constant IDENT_RE (line 1) | const IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*'; constant EXTENDED_NUMBER_RE (line 2) | const EXTENDED_NUMBER_RE = '([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d... constant EXTENDED_NUMBER_MODE (line 4) | const EXTENDED_NUMBER_MODE = { constant KEYWORDS (line 10) | const KEYWORDS = [ constant LITERALS (line 55) | const LITERALS = [ constant TYPES (line 65) | const TYPES = [ constant ERROR_TYPES (line 117) | const ERROR_TYPES = [ constant BUILT_IN_GLOBALS (line 128) | const BUILT_IN_GLOBALS = [ constant BUILT_IN_VARIABLES (line 150) | const BUILT_IN_VARIABLES = [ constant BUILT_INS (line 163) | const BUILT_INS = [].concat( FILE: src/languages/lib/mathematica.js constant SYSTEM_SYMBOLS (line 1) | const SYSTEM_SYMBOLS = [ FILE: src/languages/sql.js function kws_to_regex (line 629) | function kws_to_regex(list) { function reduceRelevancy (line 646) | function reduceRelevancy(list, { FILE: src/lib/compile_keywords.js constant COMMON_KEYWORDS (line 2) | const COMMON_KEYWORDS = [ constant DEFAULT_KEYWORD_SCOPE (line 16) | const DEFAULT_KEYWORD_SCOPE = "keyword"; function compileKeywords (line 24) | function compileKeywords(rawKeywords, caseInsensitive, scopeName = DEFAU... function scoreForKeyword (line 74) | function scoreForKeyword(keyword, providedScore) { function commonKeyword (line 88) | function commonKeyword(keyword) { FILE: src/lib/compiler_extensions.js function skipIfHasPrecedingDot (line 32) | function skipIfHasPrecedingDot(match, response) { function scopeClassName (line 43) | function scopeClassName(mode, _parent) { function beginKeywords (line 55) | function beginKeywords(mode, parent) { function compileIllegal (line 79) | function compileIllegal(mode, _parent) { function compileMatch (line 89) | function compileMatch(mode, _parent) { function compileRelevance (line 101) | function compileRelevance(mode, _parent) { FILE: src/lib/ext/multi_class.js function remapScopeNames (line 39) | function remapScopeNames(mode, regexes, { key }) { function beginMultiClass (line 62) | function beginMultiClass(mode) { function endMultiClass (line 82) | function endMultiClass(mode) { function scopeSugar (line 110) | function scopeSugar(mode) { function MultiClass (line 120) | function MultiClass(mode) { FILE: src/lib/html_injection_error.js class HTMLInjectionError (line 1) | class HTMLInjectionError extends Error { method constructor (line 2) | constructor(reason, html) { FILE: src/lib/html_renderer.js constant SPAN_CLOSE (line 15) | const SPAN_CLOSE = ''; class HTMLRenderer (line 50) | class HTMLRenderer { method constructor (line 57) | constructor(parseTree, options) { method addText (line 67) | addText(text) { method openNode (line 75) | openNode(node) { method closeNode (line 87) | closeNode(node) { method value (line 96) | value() { method span (line 106) | span(className) { FILE: src/lib/mode_compiler.js function compileLanguage (line 26) | function compileLanguage(language) { function dependencyOnParent (line 388) | function dependencyOnParent(mode) { function expandOrCloneMode (line 404) | function expandOrCloneMode(mode) { FILE: src/lib/modes.js constant MATCH_NOTHING_RE (line 8) | const MATCH_NOTHING_RE = /\b\B/; constant IDENT_RE (line 9) | const IDENT_RE = '[a-zA-Z]\\w*'; constant UNDERSCORE_IDENT_RE (line 10) | const UNDERSCORE_IDENT_RE = '[a-zA-Z_]\\w*'; constant NUMBER_RE (line 11) | const NUMBER_RE = '\\b\\d+(\\.\\d+)?'; constant C_NUMBER_RE (line 12) | const C_NUMBER_RE = '(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d... constant BINARY_NUMBER_RE (line 13) | const BINARY_NUMBER_RE = '\\b(0b[01]+)'; constant RE_STARTERS_RE (line 14) | const RE_STARTERS_RE = '!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/... constant BACKSLASH_ESCAPE (line 41) | const BACKSLASH_ESCAPE = { constant APOS_STRING_MODE (line 44) | const APOS_STRING_MODE = { constant QUOTE_STRING_MODE (line 51) | const QUOTE_STRING_MODE = { constant PHRASAL_WORDS_MODE (line 58) | const PHRASAL_WORDS_MODE = { constant C_LINE_COMMENT_MODE (line 134) | const C_LINE_COMMENT_MODE = COMMENT('//', '$'); constant C_BLOCK_COMMENT_MODE (line 135) | const C_BLOCK_COMMENT_MODE = COMMENT('/\\*', '\\*/'); constant HASH_COMMENT_MODE (line 136) | const HASH_COMMENT_MODE = COMMENT('#', '$'); constant NUMBER_MODE (line 137) | const NUMBER_MODE = { constant C_NUMBER_MODE (line 142) | const C_NUMBER_MODE = { constant BINARY_NUMBER_MODE (line 147) | const BINARY_NUMBER_MODE = { constant REGEXP_MODE (line 152) | const REGEXP_MODE = { constant TITLE_MODE (line 166) | const TITLE_MODE = { constant UNDERSCORE_TITLE_MODE (line 171) | const UNDERSCORE_TITLE_MODE = { constant METHOD_GUARD (line 176) | const METHOD_GUARD = { FILE: src/lib/regex.js function escape (line 5) | function escape(value) { function source (line 13) | function source(re) { function lookahead (line 24) | function lookahead(re) { function anyNumberOfTimes (line 32) | function anyNumberOfTimes(re) { function optional (line 40) | function optional(re) { function concat (line 48) | function concat(...args) { function stripOptionsFromArgs (line 57) | function stripOptionsFromArgs(args) { function either (line 77) | function either(...args) { function countMatchGroups (line 90) | function countMatchGroups(re) { function startsWith (line 99) | function startsWith(re, lexeme) { constant BACKREF_RE (line 111) | const BACKREF_RE = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./; function _rewriteBackreferences (line 124) | function _rewriteBackreferences(regexps, { joinWith }) { FILE: src/lib/response.js class Response (line 5) | class Response { method constructor (line 9) | constructor(mode) { method ignoreMatch (line 17) | ignoreMatch() { FILE: src/lib/token_tree.js class TokenTree (line 16) | class TokenTree { method constructor (line 17) | constructor() { method top (line 23) | get top() { method root (line 27) | get root() { return this.rootNode; } method add (line 30) | add(node) { method openNode (line 35) | openNode(scope) { method closeNode (line 42) | closeNode() { method closeAllNodes (line 50) | closeAllNodes() { method toJSON (line 54) | toJSON() { method walk (line 62) | walk(builder) { method _walk (line 73) | static _walk(builder, node) { method _collapse (line 87) | static _collapse(node) { class TokenTreeEmitter (line 121) | class TokenTreeEmitter extends TokenTree { method constructor (line 125) | constructor(options) { method addText (line 133) | addText(text) { method startScope (line 140) | startScope(scope) { method endScope (line 144) | endScope() { method __addSublanguage (line 152) | __addSublanguage(emitter, name) { method toHTML (line 160) | toHTML() { method finalize (line 165) | finalize() { FILE: src/lib/utils.js function escapeHTML (line 5) | function escapeHTML(value) { function inherit (line 22) | function inherit(original, ...objects) { FILE: test/browser/highlight_block_callbacks.js class ContentAdder (line 7) | class ContentAdder { method constructor (line 8) | constructor(params) { method 'before:highlightElement' (line 12) | 'before:highlightElement'({ el, language}) { class OldPlugin (line 17) | class OldPlugin { method 'before:highlightBlock' (line 18) | 'before:highlightBlock'({ block, language }) {} method 'after:highlightBlock' (line 19) | 'after:highlightBlock'({ block, result, text }) {} FILE: test/builds/browser_build_as_commonjs.js constant API (line 3) | const API = [ FILE: test/builds/cdn_build_as_esm.mjs constant API (line 3) | const API = [ FILE: test/builds/node_build_as_esm.mjs constant API (line 3) | const API = [ FILE: test/detect/index.js function testAutoDetection (line 13) | function testAutoDetection(language, { detectPath }) { FILE: test/markup/index.js function testLanguage (line 13) | function testLanguage(language, {testDir}) { FILE: test/regex/index.js function retrieveRules (line 25) | function retrieveRules(language, { name }) { function forEachPattern (line 32) | function forEachPattern(list, fn) { function testLanguage (line 49) | function testLanguage(languageName) { FILE: test/regex/lib/analysis.js function isAlwaysZeroWidth (line 7) | function isAlwaysZeroWidth(element) { function isFirstMatch (line 32) | function isFirstMatch(element) { function underAStar (line 65) | function underAStar(node) { function firstOf (line 80) | function firstOf(iter) { FILE: test/regex/lib/util.js function matchAny (line 18) | function matchAny(re) { function regexFor (line 22) | function regexFor(mode, { context, depth }) { FILE: tools/build.js constant TARGETS (line 68) | const TARGETS = ["cdn", "browser", "node"]; constant TARGET (line 81) | const TARGET = commander.opts().target.toLowerCase(); function doTarget (line 86) | async function doTarget(target, buildDir) { function doBuild (line 93) | async function doBuild() { FILE: tools/buildSizeReport.js function formatBytes (line 14) | function formatBytes(bytes, decimals = 2) { function computedFile (line 31) | function computedFile(dir, filePath) { function minifiedFiles (line 40) | async function minifiedFiles(dir) { function itemChanges (line 55) | function itemChanges(baseList, newList) { function reportHeader (line 79) | function reportHeader() { function reportAddedFilesSection (line 86) | function reportAddedFilesSection(_base, pr, addedFiles) { function reportRemovedFilesSection (line 103) | function reportRemovedFilesSection(base, _pr, removedFiles) { function reportChangedFilesSection (line 120) | function reportChangedFilesSection(base, pr, changedFiles) { function createReport (line 161) | async function createReport() { FILE: tools/build_browser.js function buildHeader (line 24) | function buildHeader(args = getDefaultHeader()) { function sortByKey (line 32) | function sortByKey(array, key) { function detailedGrammarSizes (line 40) | function detailedGrammarSizes(languages) { function buildBrowser (line 57) | async function buildBrowser(options) { function installDemo (line 91) | async function installDemo(languages, { minify }) { function renderIndex (line 102) | async function renderIndex(languages, minify) { function installDocs (line 157) | async function installDocs() { function installDemoStyles (line 165) | function installDemoStyles() { method resolveId (line 185) | resolveId(source) { method load (line 191) | load(id) { function buildCore (line 202) | async function buildCore(name, languages, options) { FILE: tools/build_cdn.js function installPackageJSON (line 15) | async function installPackageJSON(options) { function buildCDN (line 31) | async function buildCDN(options) { function buildSRIDigests (line 99) | async function buildSRIDigests(shas) { function installLanguages (line 114) | async function installLanguages(languages, options) { function installStyles (line 135) | function installStyles() { function buildDistributable (line 153) | async function buildDistributable(language, options) { function buildCDNLanguage (line 165) | async function buildCDNLanguage(language, options) { FILE: tools/build_node.js function buildESMStub (line 12) | async function buildESMStub(name) { function buildCJSIndex (line 21) | async function buildCJSIndex(name, languages) { function buildNodeLanguage (line 37) | async function buildNodeLanguage(language, options) { constant EXCLUDE (line 68) | const EXCLUDE = ["join"]; function buildESMUtils (line 70) | async function buildESMUtils() { function buildNodeHighlightJS (line 87) | async function buildNodeHighlightJS(options) { function dual (line 97) | function dual(file) { function buildPackageJSON (line 117) | function buildPackageJSON(options) { function writePackageJSON (line 124) | function writePackageJSON(packageJson) { function buildLanguages (line 128) | async function buildLanguages(languages, options) { constant CORE_FILES (line 139) | const CORE_FILES = [ function buildNode (line 150) | async function buildNode(options) { FILE: tools/checkAutoDetect.js function testAutoDetection (line 19) | function testAutoDetection(language, index, languages) { FILE: tools/checkTheme.js constant CODE (line 10) | const CODE = { constant OTHER (line 37) | const OTHER = { constant HIGH_FIDELITY (line 45) | const HIGH_FIDELITY = { constant CONFIG (line 58) | const CONFIG = { constant MARKUP (line 72) | const MARKUP = { constant CSS (line 87) | const CSS = { constant TEMPLATES (line 103) | const TEMPLATES = { constant DIFF (line 116) | const DIFF = { function matching_rules (line 127) | function matching_rules(selector, rules) { function has_rule (line 138) | function has_rule(selector, rules) { function skips_rule (line 144) | function skips_rule(selector, rules) { function scopeToSelector (line 160) | function scopeToSelector(name) { function check_group (line 164) | function check_group(group, rules) { class CSSRule (line 192) | class CSSRule { method constructor (line 193) | constructor(rule, body) { method background (line 216) | get background() { method foreground (line 220) | get foreground() { method hasColor (line 223) | get hasColor() { method toString (line 227) | toString() { method contrastRatio (line 231) | contrastRatio() { function contrast_report (line 238) | function contrast_report(rules) { function validate (line 266) | function validate(data) { FILE: tools/lib/bundling.js function rollupCode (line 4) | async function rollupCode(inputOptions, outputOptions) { function generate (line 9) | async function generate(inputOptions, outputOptions) { function rollupWrite (line 15) | async function rollupWrite(inputOptions, outputOptions) { function sha384 (line 21) | function sha384(contents) { FILE: tools/lib/external_language.js constant MODULE_DEFINER (line 6) | const MODULE_DEFINER = /module\.exports\.definer\s*=/; class LanguagePackage (line 8) | class LanguagePackage { method constructor (line 9) | constructor(packageDir) { method trySrcLanguages (line 14) | async trySrcLanguages() { method markupTestPaths (line 26) | get markupTestPaths() { method detectTestPaths (line 34) | get detectTestPaths() { method tryPackageJSON (line 43) | async tryPackageJSON() { method bundle (line 68) | get bundle() { return this._bundle; } method detect (line 70) | async detect() { method valid (line 82) | async valid() { function getThirdPartyPackages (line 92) | async function getThirdPartyPackages() { FILE: tools/lib/language.js constant REQUIRES_REGEX (line 8) | const REQUIRES_REGEX = /\/\*.*?Requires: (.*?)\r?\n/s; constant CATEGORY_REGEX (line 9) | const CATEGORY_REGEX = /\/\*.*?Category: (.*?)\r?\n/s; constant LANGUAGE_REGEX (line 10) | const LANGUAGE_REGEX = /\/\*.*?Language: (.*?)\r?\n/s; class Language (line 14) | class Language { method constructor (line 15) | constructor(name, path) { method compile (line 31) | async compile(options) { method sample (line 36) | get sample() { method samplePath (line 44) | get samplePath() { method loadMetadata (line 54) | loadMetadata() { method fromFile (line 71) | static fromFile(filename) { function compileLanguage (line 80) | async function compileLanguage(language, options) { function getLanguages (line 106) | async function getLanguages() { FILE: tools/lib/makestuff.js function clean (line 7) | async function clean(directory) { function install (line 13) | function install(file, dest = file) { constant DEFAULT_CSS (line 17) | const DEFAULT_CSS = ` function installCleanCSS (line 29) | function installCleanCSS(file, dest, opts = {}) { function mkdir (line 40) | function mkdir(dirname) { function renderTemplate (line 44) | function renderTemplate(src, dest, data) { FILE: types/index.d.ts type MatchType (line 9) | type MatchType = "begin" | "end" | "illegal" type EnhancedMatch (line 10) | type EnhancedMatch = RegExpMatchArray & {rule: CompiledMode, type: Match... type AnnotatedError (line 11) | type AnnotatedError = Error & {mode?: Mode | Language, languageName?: st... type KeywordData (line 13) | type KeywordData = [string, number]; type KeywordDict (line 14) | type KeywordDict = Record type HLJSApi (line 20) | type HLJSApi = PublicApi & ModesAPI type VuePlugin (line 22) | interface VuePlugin { type RegexEitherOptions (line 27) | type RegexEitherOptions = { type PublicApi (line 31) | interface PublicApi { type ModesAPI (line 65) | interface ModesAPI { type LanguageFn (line 93) | type LanguageFn = (hljs: HLJSApi) => Language type CompilerExt (line 94) | type CompilerExt = (mode: Mode, parent: Mode | Language | null) => void type HighlightResult (line 96) | interface HighlightResult { type AutoHighlightResult (line 110) | interface AutoHighlightResult extends HighlightResult {} type illegalData (line 112) | interface illegalData { type BeforeHighlightContext (line 120) | type BeforeHighlightContext = { type PluginEvent (line 125) | type PluginEvent = keyof HLJSPlugin; type HLJSPlugin (line 126) | type HLJSPlugin = { type EmitterConstructor (line 136) | interface EmitterConstructor { type HighlightOptions (line 140) | interface HighlightOptions { type HLJSOptions (line 145) | interface HLJSOptions { type CallbackResponse (line 156) | interface CallbackResponse { type ModeCallback (line 162) | type ModeCallback = (match: RegExpMatchArray, response: CallbackResponse... type Language (line 163) | type Language = LanguageDetail & Partial type Mode (line 164) | interface Mode extends ModeCallbacks, ModeDetails {} type LanguageDetail (line 166) | interface LanguageDetail { type Emitter (line 184) | interface Emitter { type HighlightedHTMLElement (line 193) | type HighlightedHTMLElement = HTMLElement & {result?: object, secondBest... type ModeCallbacks (line 197) | interface ModeCallbacks { type CompiledLanguage (line 202) | interface CompiledLanguage extends LanguageDetail, CompiledMode { type CompiledScope (line 208) | type CompiledScope = Record & {_emit?: Record & type ModeDetails (line 231) | interface ModeDetails {