From bf8950a76bdcd71825b11bbc4a70bf71e5e13580 Mon Sep 17 00:00:00 2001 From: Evan Jacobs Date: Mon, 29 May 2023 17:52:30 -0400 Subject: [PATCH] chore: more visual tweaks, use consistent prism theme --- components/Code.tsx | 2 +- components/CodeBlock.tsx | 7 +- components/Layout.tsx | 20 +- components/LiveEdit.tsx | 30 +- components/Nav/MobileNavbar.tsx | 25 +- components/prismTheme.ts | 89 + pages/index.tsx | 11 +- .../__snapshots__/MobileNavbar.spec.tsx.snap | 20 +- .../NavBar/__snapshots__/Navbar.spec.tsx.snap | 20 +- .../NavBar/__snapshots__/index.spec.tsx.snap | 20 +- .../__snapshots__/Anchor.spec.tsx.snap | 6 +- .../__snapshots__/Code.spec.tsx.snap | 2 +- .../__snapshots__/DocsLayout.spec.tsx.snap | 26 +- .../__snapshots__/Layout.spec.tsx.snap | 18 +- .../__snapshots__/LiveEdit.spec.tsx.snap | 66826 ++++++++-------- 15 files changed, 33762 insertions(+), 33360 deletions(-) create mode 100644 components/prismTheme.ts diff --git a/components/Code.tsx b/components/Code.tsx index f89b95dc..373be55a 100644 --- a/components/Code.tsx +++ b/components/Code.tsx @@ -3,7 +3,7 @@ import { monospace } from '../utils/fonts'; const Code = styled.code` border-radius: 3px; - background: rgba(10, 10, 10, 0.1); + background: rgba(50, 50, 150, 0.1); display: inline-block; font-family: ${monospace}; font-size: 90%; diff --git a/components/CodeBlock.tsx b/components/CodeBlock.tsx index 9ca055b3..6c22adf0 100644 --- a/components/CodeBlock.tsx +++ b/components/CodeBlock.tsx @@ -1,10 +1,9 @@ -import React from 'react'; import { Language, CodeBlock as RLR, CodeBlockProps as RLRProps } from 'react-live-runner'; import styled from 'styled-components'; -import { darkGrey } from '../utils/colors'; import { monospace } from '../utils/fonts'; import rem from '../utils/rem'; import { Note } from './Note'; +import theme from './prismTheme'; export interface CodeBlockProps extends RLRProps { code: string; @@ -14,18 +13,18 @@ const CodeBlock = styled(({ code, ...rest }: CodeBlockProps) => { const language = (rest.language || 'clike').toLowerCase().trim() as Language; return ( - + {code} ); })` - background: ${darkGrey}; border-radius: ${rem(3)}; box-shadow: 1px 1px 20px rgba(20, 20, 20, 0.27); font-family: ${monospace}; font-size: 0.8rem; font-weight: 300; margin: ${rem(35)} 0; + padding: 1.5em !important; overflow-x: hidden; white-space: pre-wrap; width: 100%; diff --git a/components/Layout.tsx b/components/Layout.tsx index f0a545df..f2129c97 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -30,7 +30,7 @@ export const Content = styled.div<{ $hero?: boolean; $moveRight?: boolean }>` ${p => mobile(css` - padding: ${rem(100)} ${rem(20)} ${rem(30)} ${rem(20)}; + padding: ${rem(100)} ${rem(36)} ${rem(30)} ${rem(36)}; transform: translateX(${p.$moveRight ? rem(sidebarWidth) : 0}); `)}; @@ -48,24 +48,36 @@ export const Title = styled.h1` font-size: ${rem(42)}; font-weight: bold; font-family: ${headerFont}; + + + h2 { + margin-top: -0.5em; + } `; export const Header = styled.h2` font-size: ${rem(32)}; font-weight: 600; font-family: ${headerFont}; - margin: 1.5em 0 0.5em; + margin: 2em 0 1em; + + + h3 { + margin-top: -0.5em; + } `; export const SubHeader = styled.h3` - margin: 1.5em 0 0.5em; + margin: 2em 0 1em; font-size: ${rem(24)}; font-weight: 600; font-family: ${headerFont}; + + + h4 { + margin-top: -0.5em; + } `; export const TertiaryHeader = styled.h4` - margin: 1.5em 0 0.5em; + margin: 2em 0 1em; font-size: ${rem(18)}; font-weight: 600; font-family: ${headerFont}; diff --git a/components/LiveEdit.tsx b/components/LiveEdit.tsx index 709fe4e4..301ec15a 100644 --- a/components/LiveEdit.tsx +++ b/components/LiveEdit.tsx @@ -1,10 +1,18 @@ -import { LiveEditor, LiveError, LivePreview, LiveProvider, LiveProviderProps } from 'react-live-runner'; +import { + LiveEditor, + LiveEditorProps, + LiveError, + LivePreview, + LiveProvider, + LiveProviderProps, +} from 'react-live-runner'; import styled, { css } from 'styled-components'; -import { darkGrey, red } from '../utils/colors'; +import { red } from '../utils/colors'; import { headerFont, monospace } from '../utils/fonts'; import { phone } from '../utils/media'; import rem from '../utils/rem'; import baseScope from '../utils/scope'; +import theme from './prismTheme'; export interface LiveEditProps extends Pick {} @@ -12,10 +20,12 @@ export default function LiveEdit({ code, scope = {} }: LiveEditProps) { return ( @@ -65,7 +75,7 @@ const Code = styled.code` `; export const editorMixin = ` - background: ${darkGrey}; + border-radius: 3px; color: white; cursor: text; font-family: ${monospace}; @@ -78,8 +88,20 @@ export const editorMixin = ` white-space: pre-wrap; `; -const StyledEditor = styled(LiveEditor)` +const StyledEditor = styled((props: Partial) => ( + +))` ${editorMixin}; + + pre, + textarea { + font-family: ${monospace} !important; + padding: 1.5em 1.5em !important; + } `; const StyledPreview = styled(LivePreview)` diff --git a/components/Nav/MobileNavbar.tsx b/components/Nav/MobileNavbar.tsx index bf6aaa56..d4e591eb 100644 --- a/components/Nav/MobileNavbar.tsx +++ b/components/Nav/MobileNavbar.tsx @@ -60,6 +60,11 @@ const Wrapper = styled.div` flex-grow: 1; height: ${rem(navbarHeight)}; justify-content: space-between; + margin-left: 16px; + + > ${NavButton} { + margin-left: -8px; + } `)}; `; @@ -76,20 +81,20 @@ const SecondaryMenu = styled.div<{ $isOpen?: boolean }>` ` : css` height: 0; - `} display: flex; - flex-wrap: nowrap; + `}; + -webkit-overflow-scrolling: touch; align-items: center; - justify-content: space-between; + background: rgba(33, 33, 33, 0.9); + backdrop-filter: blur(5px); + color: #fff; + display: flex; + flex-wrap: nowrap; + justify-content: center; + overflow-x: overlay; + overflow-y: hidden; padding: 0 ${rem(20)}; transition: height 0.1s; - user-select: none; - -webkit-overflow-scrolling: touch; - overflow-x: scroll; - overflow-y: hidden; - - background: ${blmGrey}; - color: #fff; `; const LogoLink = styled(Link).attrs((/* props */) => ({ diff --git a/components/prismTheme.ts b/components/prismTheme.ts new file mode 100644 index 00000000..b2d9d29f --- /dev/null +++ b/components/prismTheme.ts @@ -0,0 +1,89 @@ +import { Theme } from 'react-live-runner'; + +export default { + plain: { + backgroundColor: '#27212e', + color: '#ffffff', + padding: '0.25em', + }, + styles: [ + { + types: ['prolog', 'comment', 'cdata'], + style: { + color: '#91889b', + }, + }, + { + types: ['punctuation'], + style: { + color: '#7b6995', + }, + }, + { + types: ['builtin', 'constant', 'boolean'], + style: { + color: '#7b6995', + }, + }, + { + types: ['number'], + style: { + color: '#b381c5', + }, + }, + { + types: ['important', 'atrule', 'property', 'keyword'], + style: { + color: '#40b4c4', + }, + }, + { + types: ['doctype', 'operator', 'inserted', 'tag', 'class-name', 'symbol'], + style: { + color: '#74dfc4', + }, + }, + { + types: ['attr-name', 'function', 'deleted', 'selector'], + style: { + color: '#eb64b9', + }, + }, + { + types: ['attr-value', 'regex', 'char', 'string'], + style: { + color: '#b4dce7', + }, + }, + { + types: ['entity', 'url', 'variable'], + style: { + color: '#ffffff', + }, + }, + { + types: ['bold'], + style: { + fontWeight: 'bold', + }, + }, + { + types: ['italic'], + style: { + fontStyle: 'italic', + }, + }, + { + types: ['entity'], + style: { + cursor: 'help', + }, + }, + { + types: ['namespace'], + style: { + opacity: 0.7, + }, + }, + ], +} as Theme; diff --git a/pages/index.tsx b/pages/index.tsx index 36b731d3..189ccae1 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -15,6 +15,7 @@ import { blmBlack, blmGrey } from '../utils/colors'; import { headerFont } from '../utils/fonts'; import rem from '../utils/rem'; import baseScope from '../utils/scope'; +import theme from '../components/prismTheme'; export default function Index() { const [isMobileNavFolded, setIsMobileNavFolded] = React.useState(true); @@ -33,7 +34,13 @@ export default function Index() { - + <Tagline> CSS for the <code><Component></code> Age @@ -46,7 +53,7 @@ export default function Index() { </Links> <EditorContainer> - <Editor /> + <Editor theme={theme} /> <StyledError /> </EditorContainer> </LiveProvider> diff --git a/test/components/NavBar/__snapshots__/MobileNavbar.spec.tsx.snap b/test/components/NavBar/__snapshots__/MobileNavbar.spec.tsx.snap index fb5203ee..e3b55e88 100644 --- a/test/components/NavBar/__snapshots__/MobileNavbar.spec.tsx.snap +++ b/test/components/NavBar/__snapshots__/MobileNavbar.spec.tsx.snap @@ -93,18 +93,19 @@ exports[`MobileNavbar renders correctly 1`] = ` left: 0; right: 0; height: 3.3333333333333335rem; + -webkit-overflow-scrolling: touch; + align-items: center; + background: rgba(33, 33, 33, 0.9); + backdrop-filter: blur(5px); + color: #fff; display: flex; flex-wrap: nowrap; - align-items: center; - justify-content: space-between; + justify-content: center; + overflow-x: overlay; + overflow-y: hidden; padding: 0 1.1111111111111112rem; transition: height 0.1s; user-select: none; - -webkit-overflow-scrolling: touch; - overflow-x: scroll; - overflow-y: hidden; - background: rgb(33, 33, 33); - color: #fff; } .c4 { @@ -130,6 +131,11 @@ exports[`MobileNavbar renders correctly 1`] = ` flex-grow: 1; height: 3.3333333333333335rem; justify-content: space-between; + margin-left: 16px; + } + + .c0 >.c1 { + margin-left: -8px; } } diff --git a/test/components/NavBar/__snapshots__/Navbar.spec.tsx.snap b/test/components/NavBar/__snapshots__/Navbar.spec.tsx.snap index 953e8d26..6a9a4b9a 100644 --- a/test/components/NavBar/__snapshots__/Navbar.spec.tsx.snap +++ b/test/components/NavBar/__snapshots__/Navbar.spec.tsx.snap @@ -93,18 +93,19 @@ exports[`Navbar renders correctly 1`] = ` left: 0; right: 0; height: 3.3333333333333335rem; + -webkit-overflow-scrolling: touch; + align-items: center; + background: rgba(33, 33, 33, 0.9); + backdrop-filter: blur(5px); + color: #fff; display: flex; flex-wrap: nowrap; - align-items: center; - justify-content: space-between; + justify-content: center; + overflow-x: overlay; + overflow-y: hidden; padding: 0 1.1111111111111112rem; transition: height 0.1s; user-select: none; - -webkit-overflow-scrolling: touch; - overflow-x: scroll; - overflow-y: hidden; - background: rgb(33, 33, 33); - color: #fff; } .c5 { @@ -213,6 +214,11 @@ exports[`Navbar renders correctly 1`] = ` flex-grow: 1; height: 3.3333333333333335rem; justify-content: space-between; + margin-left: 16px; + } + + .c1 >.c2 { + margin-left: -8px; } } diff --git a/test/components/NavBar/__snapshots__/index.spec.tsx.snap b/test/components/NavBar/__snapshots__/index.spec.tsx.snap index 313e1ada..f460a051 100644 --- a/test/components/NavBar/__snapshots__/index.spec.tsx.snap +++ b/test/components/NavBar/__snapshots__/index.spec.tsx.snap @@ -101,18 +101,19 @@ exports[`Nav renders correctly 1`] = ` left: 0; right: 0; height: 3.3333333333333335rem; + -webkit-overflow-scrolling: touch; + align-items: center; + background: rgba(33, 33, 33, 0.9); + backdrop-filter: blur(5px); + color: #fff; display: flex; flex-wrap: nowrap; - align-items: center; - justify-content: space-between; + justify-content: center; + overflow-x: overlay; + overflow-y: hidden; padding: 0 1.1111111111111112rem; transition: height 0.1s; user-select: none; - -webkit-overflow-scrolling: touch; - overflow-x: scroll; - overflow-y: hidden; - background: rgb(33, 33, 33); - color: #fff; } .c5 { @@ -272,6 +273,11 @@ exports[`Nav renders correctly 1`] = ` flex-grow: 1; height: 3.3333333333333335rem; justify-content: space-between; + margin-left: 16px; + } + + .c1 >.c2 { + margin-left: -8px; } } diff --git a/test/components/__snapshots__/Anchor.spec.tsx.snap b/test/components/__snapshots__/Anchor.spec.tsx.snap index 5f0d69f7..ed48a0fd 100644 --- a/test/components/__snapshots__/Anchor.spec.tsx.snap +++ b/test/components/__snapshots__/Anchor.spec.tsx.snap @@ -5,7 +5,11 @@ exports[`Anchor renders correctly 1`] = ` font-size: 1.7777777777777777rem; font-weight: 600; font-family: "Karla",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; - margin: 1.5em 0 0.5em; + margin: 2em 0 1em; +} + +.c0 +h3 { + margin-top: -0.5em; } .c2 { diff --git a/test/components/__snapshots__/Code.spec.tsx.snap b/test/components/__snapshots__/Code.spec.tsx.snap index d9af23c8..5676da34 100644 --- a/test/components/__snapshots__/Code.spec.tsx.snap +++ b/test/components/__snapshots__/Code.spec.tsx.snap @@ -3,7 +3,7 @@ exports[`Code renders correctly 1`] = ` .c0 { border-radius: 3px; - background: rgba(10, 10, 10, 0.1); + background: rgba(50, 50, 150, 0.1); display: inline-block; font-family: dm,monospace; font-size: 90%; diff --git a/test/components/__snapshots__/DocsLayout.spec.tsx.snap b/test/components/__snapshots__/DocsLayout.spec.tsx.snap index 3a695d69..330f28e6 100644 --- a/test/components/__snapshots__/DocsLayout.spec.tsx.snap +++ b/test/components/__snapshots__/DocsLayout.spec.tsx.snap @@ -23,6 +23,10 @@ exports[`DocsLayout renders correctly 1`] = ` font-family: "Karla",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; } +.c28 +h2 { + margin-top: -0.5em; +} + .c25 { display: inline-block; color: inherit; @@ -123,18 +127,19 @@ exports[`DocsLayout renders correctly 1`] = ` left: 0; right: 0; height: 0; + -webkit-overflow-scrolling: touch; + align-items: center; + background: rgba(33, 33, 33, 0.9); + backdrop-filter: blur(5px); + color: #fff; display: flex; flex-wrap: nowrap; - align-items: center; - justify-content: space-between; + justify-content: center; + overflow-x: overlay; + overflow-y: hidden; padding: 0 1.1111111111111112rem; transition: height 0.1s; user-select: none; - -webkit-overflow-scrolling: touch; - overflow-x: scroll; - overflow-y: hidden; - background: rgb(33, 33, 33); - color: #fff; } .c6 { @@ -283,7 +288,7 @@ exports[`DocsLayout renders correctly 1`] = ` @media (max-width: 62.5em) { .c27 { - padding: 5.555555555555555rem 1.1111111111111112rem 1.6666666666666667rem 1.1111111111111112rem; + padding: 5.555555555555555rem 2rem 1.6666666666666667rem 2rem; transform: translateX(0); } } @@ -305,6 +310,11 @@ exports[`DocsLayout renders correctly 1`] = ` flex-grow: 1; height: 3.3333333333333335rem; justify-content: space-between; + margin-left: 16px; + } + + .c2 >.c3 { + margin-left: -8px; } } diff --git a/test/components/__snapshots__/Layout.spec.tsx.snap b/test/components/__snapshots__/Layout.spec.tsx.snap index b32c11c2..5addc0f4 100644 --- a/test/components/__snapshots__/Layout.spec.tsx.snap +++ b/test/components/__snapshots__/Layout.spec.tsx.snap @@ -28,7 +28,7 @@ exports[`Content renders correctly 1`] = ` @media (max-width: 62.5em) { .c0 { - padding: 5.555555555555555rem 1.1111111111111112rem 1.6666666666666667rem 1.1111111111111112rem; + padding: 5.555555555555555rem 2rem 1.6666666666666667rem 2rem; transform: translateX(0); } } @@ -43,7 +43,11 @@ exports[`Header renders correctly 1`] = ` font-size: 1.7777777777777777rem; font-weight: 600; font-family: "Karla",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; - margin: 1.5em 0 0.5em; + margin: 2em 0 1em; +} + +.c0 +h3 { + margin-top: -0.5em; } <h2 @@ -53,12 +57,16 @@ exports[`Header renders correctly 1`] = ` exports[`SubHeader renders correctly 1`] = ` .c0 { - margin: 1.5em 0 0.5em; + margin: 2em 0 1em; font-size: 1.3333333333333333rem; font-weight: 600; font-family: "Karla",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; } +.c0 +h4 { + margin-top: -0.5em; +} + <h3 className="c0" /> @@ -74,6 +82,10 @@ exports[`Title renders correctly 1`] = ` font-family: "Karla",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; } +.c0 +h2 { + margin-top: -0.5em; +} + <h1 className="c0" /> diff --git a/test/components/__snapshots__/LiveEdit.spec.tsx.snap b/test/components/__snapshots__/LiveEdit.spec.tsx.snap index 5c71a51d..a6785b6a 100644 --- a/test/components/__snapshots__/LiveEdit.spec.tsx.snap +++ b/test/components/__snapshots__/LiveEdit.spec.tsx.snap @@ -22,7 +22,7 @@ exports[`LiveEdit renders correctly 1`] = ` } .c3 { - background: #1d1f27; + border-radius: 3px; color: white; cursor: text; font-family: dm,monospace; @@ -35,6 +35,12 @@ exports[`LiveEdit renders correctly 1`] = ` white-space: pre-wrap; } +.c3 pre, +.c3 textarea { + font-family: dm,monospace!important; + padding: 1.5em 1.5em!important; +} + .c4 { position: relative; padding: 0.5rem; @@ -85,6 +91,7 @@ exports[`LiveEdit renders correctly 1`] = ` <LiveEdit> <Styled(Component) + language="tsx" scope={ { "StyleSheetManager": [Function], @@ -97,9 +104,145 @@ exports[`LiveEdit renders correctly 1`] = ` "withTheme": [Function], } } + theme={ + { + "plain": { + "backgroundColor": "#27212e", + "color": "#ffffff", + "padding": "0.25em", + }, + "styles": [ + { + "style": { + "color": "#91889b", + }, + "types": [ + "prolog", + "comment", + "cdata", + ], + }, + { + "style": { + "color": "#7b6995", + }, + "types": [ + "punctuation", + ], + }, + { + "style": { + "color": "#7b6995", + }, + "types": [ + "builtin", + "constant", + "boolean", + ], + }, + { + "style": { + "color": "#b381c5", + }, + "types": [ + "number", + ], + }, + { + "style": { + "color": "#40b4c4", + }, + "types": [ + "important", + "atrule", + "property", + "keyword", + ], + }, + { + "style": { + "color": "#74dfc4", + }, + "types": [ + "doctype", + "operator", + "inserted", + "tag", + "class-name", + "symbol", + ], + }, + { + "style": { + "color": "#eb64b9", + }, + "types": [ + "attr-name", + "function", + "deleted", + "selector", + ], + }, + { + "style": { + "color": "#b4dce7", + }, + "types": [ + "attr-value", + "regex", + "char", + "string", + ], + }, + { + "style": { + "color": "#ffffff", + }, + "types": [ + "entity", + "url", + "variable", + ], + }, + { + "style": { + "fontWeight": "bold", + }, + "types": [ + "bold", + ], + }, + { + "style": { + "fontStyle": "italic", + }, + "types": [ + "italic", + ], + }, + { + "style": { + "cursor": "help", + }, + "types": [ + "entity", + ], + }, + { + "style": { + "opacity": 0.7, + }, + "types": [ + "namespace", + ], + }, + ], + } + } > <Component className="c0" + language="tsx" scope={ { "StyleSheetManager": [Function], @@ -125,100 +268,103 @@ exports[`LiveEdit renders correctly 1`] = ` <Component className="c3" > - <g + <Component className="c3" - language="jsx" - onChange={[Function]} theme={ { "plain": { - "backgroundColor": "#282c34", + "backgroundColor": "#27212e", "color": "#ffffff", + "padding": "0.25em", }, "styles": [ { "style": { - "color": "#b2b2b2", + "color": "#91889b", }, "types": [ - "comment", - "block-comment", "prolog", - "doctype", + "comment", "cdata", ], }, { "style": { - "color": "#5a9bcf", + "color": "#7b6995", }, "types": [ - "property", - "number", - "function-name", - "constant", - "symbol", - "deleted", + "punctuation", ], }, { "style": { - "color": "#ff8b50", + "color": "#7b6995", }, "types": [ + "builtin", + "constant", "boolean", ], }, { "style": { - "color": "#fc929e", + "color": "#b381c5", }, "types": [ - "tag", + "number", ], }, { "style": { - "color": "#8dc891", + "color": "#40b4c4", }, "types": [ - "string", - "attr-value", + "important", + "atrule", + "property", + "keyword", ], }, { "style": { - "color": "#88c6Be", + "color": "#74dfc4", }, "types": [ - "punctuation", + "doctype", + "operator", + "inserted", + "tag", + "class-name", + "symbol", ], }, { "style": { - "color": "#d8dee9", + "color": "#eb64b9", }, "types": [ + "attr-name", + "function", + "deleted", "selector", - "char", - "builtin", - "inserted", ], }, { "style": { - "color": "#79b6f2", + "color": "#b4dce7", }, "types": [ - "function", + "attr-value", + "regex", + "char", + "string", ], }, { "style": { - "color": "#d7deea", + "color": "#ffffff", }, "types": [ - "operator", "entity", "url", "variable", @@ -226,32 +372,7 @@ exports[`LiveEdit renders correctly 1`] = ` }, { "style": { - "color": "#c5a5c5", - }, - "types": [ - "keyword", - ], - }, - { - "style": { - "color": "#fac863", - }, - "types": [ - "atrule", - "class-name", - ], - }, - { - "style": { - "fontWeight": "400", - }, - "types": [ - "important", - ], - }, - { - "style": { - "fontWeight": "700", + "fontWeight": "bold", }, "types": [ "bold", @@ -284,2309 +405,2100 @@ exports[`LiveEdit renders correctly 1`] = ` ], } } - value="" > - <Editor + <g className="c3" - highlight={[Function]} - ignoreTabKey={false} - insertSpaces={true} - onValueChange={[Function]} - padding={10} - style={ + language="tsx" + onChange={[Function]} + theme={ { - "backgroundColor": "#282c34", - "color": "#ffffff", + "plain": { + "backgroundColor": "#27212e", + "color": "#ffffff", + "padding": "0.25em", + }, + "styles": [ + { + "style": { + "color": "#91889b", + }, + "types": [ + "prolog", + "comment", + "cdata", + ], + }, + { + "style": { + "color": "#7b6995", + }, + "types": [ + "punctuation", + ], + }, + { + "style": { + "color": "#7b6995", + }, + "types": [ + "builtin", + "constant", + "boolean", + ], + }, + { + "style": { + "color": "#b381c5", + }, + "types": [ + "number", + ], + }, + { + "style": { + "color": "#40b4c4", + }, + "types": [ + "important", + "atrule", + "property", + "keyword", + ], + }, + { + "style": { + "color": "#74dfc4", + }, + "types": [ + "doctype", + "operator", + "inserted", + "tag", + "class-name", + "symbol", + ], + }, + { + "style": { + "color": "#eb64b9", + }, + "types": [ + "attr-name", + "function", + "deleted", + "selector", + ], + }, + { + "style": { + "color": "#b4dce7", + }, + "types": [ + "attr-value", + "regex", + "char", + "string", + ], + }, + { + "style": { + "color": "#ffffff", + }, + "types": [ + "entity", + "url", + "variable", + ], + }, + { + "style": { + "fontWeight": "bold", + }, + "types": [ + "bold", + ], + }, + { + "style": { + "fontStyle": "italic", + }, + "types": [ + "italic", + ], + }, + { + "style": { + "cursor": "help", + }, + "types": [ + "entity", + ], + }, + { + "style": { + "opacity": 0.7, + }, + "types": [ + "namespace", + ], + }, + ], } } - tabSize={2} value="" > - <div + <Editor className="c3" + highlight={[Function]} + ignoreTabKey={false} + insertSpaces={true} + onValueChange={[Function]} + padding={10} style={ { - "backgroundColor": "#282c34", - "boxSizing": "border-box", + "backgroundColor": "#27212e", "color": "#ffffff", - "overflow": "hidden", - "padding": 0, - "position": "relative", - "textAlign": "left", + "padding": "0.25em", } } + tabSize={2} + value="" > - <pre - aria-hidden="true" + <div + className="c3" style={ { - "background": "none", - "border": 0, - "boxSizing": "inherit", - "display": "inherit", - "fontFamily": "inherit", - "fontSize": "inherit", - "fontStyle": "inherit", - "fontVariantLigatures": "inherit", - "fontWeight": "inherit", - "letterSpacing": "inherit", - "lineHeight": "inherit", - "margin": 0, - "overflowWrap": "break-word", - "paddingBottom": 10, - "paddingLeft": 10, - "paddingRight": 10, - "paddingTop": 10, - "pointerEvents": "none", + "backgroundColor": "#27212e", + "boxSizing": "border-box", + "color": "#ffffff", + "overflow": "hidden", + "padding": "0.25em", "position": "relative", - "tabSize": "inherit", - "textIndent": "inherit", - "textRendering": "inherit", - "textTransform": "inherit", - "whiteSpace": "pre-wrap", - "wordBreak": "keep-all", + "textAlign": "left", } } > - <y - language="jsx" - noWrapper={true} - theme={ + <pre + aria-hidden="true" + style={ { - "plain": { - "backgroundColor": "#282c34", - "color": "#ffffff", - }, - "styles": [ - { - "style": { - "color": "#b2b2b2", - }, - "types": [ - "comment", - "block-comment", - "prolog", - "doctype", - "cdata", - ], - }, - { - "style": { - "color": "#5a9bcf", - }, - "types": [ - "property", - "number", - "function-name", - "constant", - "symbol", - "deleted", - ], - }, - { - "style": { - "color": "#ff8b50", - }, - "types": [ - "boolean", - ], - }, - { - "style": { - "color": "#fc929e", - }, - "types": [ - "tag", - ], - }, - { - "style": { - "color": "#8dc891", - }, - "types": [ - "string", - "attr-value", - ], - }, - { - "style": { - "color": "#88c6Be", - }, - "types": [ - "punctuation", - ], - }, - { - "style": { - "color": "#d8dee9", - }, - "types": [ - "selector", - "char", - "builtin", - "inserted", - ], - }, - { - "style": { - "color": "#79b6f2", - }, - "types": [ - "function", - ], - }, - { - "style": { - "color": "#d7deea", - }, - "types": [ - "operator", - "entity", - "url", - "variable", - ], - }, - { - "style": { - "color": "#c5a5c5", - }, - "types": [ - "keyword", - ], - }, - { - "style": { - "color": "#fac863", - }, - "types": [ - "atrule", - "class-name", - ], - }, - { - "style": { - "fontWeight": "400", - }, - "types": [ - "important", - ], - }, - { - "style": { - "fontWeight": "700", - }, - "types": [ - "bold", - ], - }, - { - "style": { - "fontStyle": "italic", - }, - "types": [ - "italic", - ], - }, - { - "style": { - "cursor": "help", - }, - "types": [ - "entity", - ], - }, - { - "style": { - "opacity": 0.7, - }, - "types": [ - "namespace", - ], - }, - ], + "background": "none", + "border": 0, + "boxSizing": "inherit", + "display": "inherit", + "fontFamily": "inherit", + "fontSize": "inherit", + "fontStyle": "inherit", + "fontVariantLigatures": "inherit", + "fontWeight": "inherit", + "letterSpacing": "inherit", + "lineHeight": "inherit", + "margin": 0, + "overflowWrap": "break-word", + "paddingBottom": 10, + "paddingLeft": 10, + "paddingRight": 10, + "paddingTop": 10, + "pointerEvents": "none", + "position": "relative", + "tabSize": "inherit", + "textIndent": "inherit", + "textRendering": "inherit", + "textTransform": "inherit", + "whiteSpace": "pre-wrap", + "wordBreak": "keep-all", } } > - <Highlight - Prism={ + <y + language="tsx" + noWrapper={true} + theme={ { - "Token": [Function], - "highlight": [Function], - "hooks": { - "add": [Function], - "run": [Function], + "plain": { + "backgroundColor": "#27212e", + "color": "#ffffff", + "padding": "0.25em", }, - "languages": { - "DFS": [Function], - "atom": { - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { - "greedy": true, - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, - }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { - "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, - }, - }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, + "styles": [ + { + "style": { + "color": "#91889b", }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + "types": [ + "prolog", + "comment", + "cdata", ], - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { - "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], - }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, - }, - "punctuation": /\\\\/\\?>/, - "tag": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, - }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, - }, - }, - "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, - }, }, - "bash": { - "assign-left": { - "alias": "variable", - "inside": { - "environment": { - "alias": "constant", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, - }, - "boolean": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "builtin": { - "alias": "class-name", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, - }, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "file-descriptor": { - "alias": "important", - "pattern": /\\\\B&\\\\d\\\\b/, + { + "style": { + "color": "#7b6995", }, - "for-or-select": { - "alias": "variable", - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, + "types": [ + "punctuation", + ], + }, + { + "style": { + "color": "#7b6995", }, - "function": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + "types": [ + "builtin", + "constant", + "boolean", + ], + }, + { + "style": { + "color": "#b381c5", }, - "function-name": [ - { - "alias": "function", - "lookbehind": true, - "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, - }, - { - "alias": "function", - "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, + "types": [ + "number", ], - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + { + "style": { + "color": "#40b4c4", }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + "types": [ + "important", + "atrule", + "property", + "keyword", + ], + }, + { + "style": { + "color": "#74dfc4", }, - "operator": { - "inside": { - "file-descriptor": { - "alias": "important", - "pattern": /\\^\\\\d/, - }, - }, - "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, + "types": [ + "doctype", + "operator", + "inserted", + "tag", + "class-name", + "symbol", + ], + }, + { + "style": { + "color": "#eb64b9", }, - "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, - "shebang": { - "alias": "important", - "pattern": /\\^#!\\\\s\\*\\\\/\\.\\*/, + "types": [ + "attr-name", + "function", + "deleted", + "selector", + ], + }, + { + "style": { + "color": "#b4dce7", }, - "string": [ - { + "types": [ + "attr-value", + "regex", + "char", + "string", + ], + }, + { + "style": { + "color": "#ffffff", + }, + "types": [ + "entity", + "url", + "variable", + ], + }, + { + "style": { + "fontWeight": "bold", + }, + "types": [ + "bold", + ], + }, + { + "style": { + "fontStyle": "italic", + }, + "types": [ + "italic", + ], + }, + { + "style": { + "cursor": "help", + }, + "types": [ + "entity", + ], + }, + { + "style": { + "opacity": 0.7, + }, + "types": [ + "namespace", + ], + }, + ], + } + } + > + <Highlight + Prism={ + { + "Token": [Function], + "highlight": [Function], + "hooks": { + "add": [Function], + "run": [Function], + }, + "languages": { + "DFS": [Function], + "atom": { + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, + "doctype": { "greedy": true, "inside": { - "bash": { - "alias": "punctuation", + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { + "greedy": true, "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, }, - "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { + "greedy": true, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, }, - "variable": [ - { - "greedy": true, - "inside": { - "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, - "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, - "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, - "variable": [ - { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, - }, - /\\^\\\\\\$\\\\\\(\\\\\\(/, - ], - }, - "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, + }, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, + }, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, }, - { - "greedy": true, - "inside": { - "assign-left": { - "alias": "variable", - "inside": { - "environment": { - "alias": "constant", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, - }, - "boolean": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "builtin": { - "alias": "class-name", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, - }, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "file-descriptor": { - "alias": "important", - "pattern": /\\\\B&\\\\d\\\\b/, - }, - "for-or-select": { - "alias": "variable", - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, - }, - "function": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "function-name": [ - { - "alias": "function", - "lookbehind": true, - "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, - }, - { - "alias": "function", - "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, + }, + "attr-value": { + "inside": { + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, }, - "operator": { - "inside": { - "file-descriptor": { - "alias": "important", - "pattern": /\\^\\\\d/, - }, - }, - "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, }, - "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, - "string": [Circular], - "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, - }, - "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, + /"\\|'/, + ], }, - { - "greedy": true, - "inside": { - "environment": { - "alias": "constant", - "lookbehind": true, - "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, - "punctuation": /\\[\\\\\\[\\\\\\]\\]/, - }, - "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, + }, + "punctuation": /\\\\/\\?>/, + "tag": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, }, - /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, - ], + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, + }, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\\\w\\+\\?\\)\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\2/, + "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, }, - { - "greedy": true, + }, + "bash": { + "assign-left": { + "alias": "variable", "inside": { - "bash": { - "alias": "punctuation", - "inside": [Circular], + "environment": { + "alias": "constant", "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\["'\\]\\)\\(\\\\w\\+\\)\\\\2\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\3/, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, }, - { - "greedy": true, + "boolean": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "builtin": { + "alias": "class-name", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, + }, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "file-descriptor": { + "alias": "important", + "pattern": /\\\\B&\\\\d\\\\b/, + }, + "for-or-select": { + "alias": "variable", + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, + }, + "function": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "function-name": [ + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, + }, + { + "alias": "function", + "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + }, + "operator": { "inside": { - "bash": { - "alias": "punctuation", - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, - }, - "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + "file-descriptor": { + "alias": "important", + "pattern": /\\^\\\\d/, }, - "variable": [ - { - "greedy": true, - "inside": { - "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, - "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, - "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, - "variable": [ - { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, - }, - /\\^\\\\\\$\\\\\\(\\\\\\(/, - ], - }, - "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, + }, + "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, + }, + "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, + "shebang": { + "alias": "important", + "pattern": /\\^#!\\\\s\\*\\\\/\\.\\*/, + }, + "string": [ + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, }, - { - "greedy": true, - "inside": { - "assign-left": { - "alias": "variable", - "inside": { - "environment": { - "alias": "constant", + "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "variable": [ + { + "greedy": true, + "inside": { + "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, + "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, + "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, + "variable": [ + { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, - }, - "boolean": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "builtin": { - "alias": "class-name", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, - }, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "file-descriptor": { - "alias": "important", - "pattern": /\\\\B&\\\\d\\\\b/, - }, - "for-or-select": { - "alias": "variable", - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, - }, - "function": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + /\\^\\\\\\$\\\\\\(\\\\\\(/, + ], }, - "function-name": [ - { - "alias": "function", + "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, + }, + { + "greedy": true, + "inside": { + "assign-left": { + "alias": "variable", + "inside": { + "environment": { + "alias": "constant", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + }, "lookbehind": true, - "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, }, - { - "alias": "function", - "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "boolean": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, }, - ], - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, - }, - "operator": { - "inside": { - "file-descriptor": { - "alias": "important", - "pattern": /\\^\\\\d/, - }, + "builtin": { + "alias": "class-name", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, }, - "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, - }, - "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, - "string": [Circular], - "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, - }, - "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, - }, - { - "greedy": true, - "inside": { - "environment": { - "alias": "constant", - "lookbehind": true, - "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, - "punctuation": /\\[\\\\\\[\\\\\\]\\]/, + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, + }, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "file-descriptor": { + "alias": "important", + "pattern": /\\\\B&\\\\d\\\\b/, + }, + "for-or-select": { + "alias": "variable", + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, + }, + "function": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "function-name": [ + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, + }, + { + "alias": "function", + "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + }, + "operator": { + "inside": { + "file-descriptor": { + "alias": "important", + "pattern": /\\^\\\\d/, + }, + }, + "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, + }, + "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, + "string": [Circular], + "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, + }, + "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, }, - "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, - }, - /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, - ], + { + "greedy": true, + "inside": { + "environment": { + "alias": "constant", + "lookbehind": true, + "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, + "punctuation": /\\[\\\\\\[\\\\\\]\\]/, + }, + "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, + }, + /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, + ], + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\\\w\\+\\?\\)\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\2/, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\(\\?:\\\\\\\\\\\\\\\\\\)\\*\\)\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\\\\\$\\(\\?!\\\\\\(\\)\\|\`\\[\\^\`\\]\\+\`\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\`\\$\\]\\)\\*\\\\2/, - }, - ], - "variable": [ - { - "greedy": true, - "inside": { - "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, - "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, - "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, - "variable": [ - { + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, }, - /\\^\\\\\\$\\\\\\(\\\\\\(/, - ], - }, - "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, - }, - { - "greedy": true, - "inside": { - "assign-left": { - "alias": "variable", - "inside": { - "environment": { - "alias": "constant", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, - }, - "boolean": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "builtin": { - "alias": "class-name", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, }, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, - }, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "file-descriptor": { - "alias": "important", - "pattern": /\\\\B&\\\\d\\\\b/, - }, - "for-or-select": { - "alias": "variable", - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, - }, - "function": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "function-name": [ - { - "alias": "function", + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\["'\\]\\)\\(\\\\w\\+\\)\\\\2\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\3/, + }, + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, }, - { - "alias": "function", - "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, }, - ], - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + "variable": [ + { + "greedy": true, + "inside": { + "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, + "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, + "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, + "variable": [ + { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, + }, + /\\^\\\\\\$\\\\\\(\\\\\\(/, + ], + }, + "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, + }, + { + "greedy": true, + "inside": { + "assign-left": { + "alias": "variable", + "inside": { + "environment": { + "alias": "constant", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, + }, + "boolean": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "builtin": { + "alias": "class-name", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, + }, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "file-descriptor": { + "alias": "important", + "pattern": /\\\\B&\\\\d\\\\b/, + }, + "for-or-select": { + "alias": "variable", + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, + }, + "function": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "function-name": [ + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, + }, + { + "alias": "function", + "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + }, + "operator": { + "inside": { + "file-descriptor": { + "alias": "important", + "pattern": /\\^\\\\d/, + }, + }, + "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, + }, + "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, + "string": [Circular], + "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, + }, + "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, + }, + { + "greedy": true, + "inside": { + "environment": { + "alias": "constant", + "lookbehind": true, + "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, + "punctuation": /\\[\\\\\\[\\\\\\]\\]/, + }, + "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, + }, + /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, + ], }, - "operator": { - "inside": { - "file-descriptor": { - "alias": "important", - "pattern": /\\^\\\\d/, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\(\\?:\\\\\\\\\\\\\\\\\\)\\*\\)\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\\\\\$\\(\\?!\\\\\\(\\)\\|\`\\[\\^\`\\]\\+\`\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\`\\$\\]\\)\\*\\\\2/, + }, + ], + "variable": [ + { + "greedy": true, + "inside": { + "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, + "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, + "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, + "variable": [ + { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, }, - }, - "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, + /\\^\\\\\\$\\\\\\(\\\\\\(/, + ], }, - "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, - "string": [ - { - "greedy": true, + "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, + }, + { + "greedy": true, + "inside": { + "assign-left": { + "alias": "variable", "inside": { - "bash": { - "alias": "punctuation", - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, - }, - "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, "environment": { "alias": "constant", - "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, }, - "variable": [Circular], }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\\\w\\+\\?\\)\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\2/, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, }, - { - "greedy": true, - "inside": { - "bash": { - "alias": "punctuation", - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, - }, + "boolean": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "builtin": { + "alias": "class-name", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, + }, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "file-descriptor": { + "alias": "important", + "pattern": /\\\\B&\\\\d\\\\b/, + }, + "for-or-select": { + "alias": "variable", + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, + }, + "function": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "function-name": [ + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, + }, + { + "alias": "function", + "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, }, + ], + "keyword": { "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\["'\\]\\)\\(\\\\w\\+\\)\\\\2\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\3/, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, }, - { - "greedy": true, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + }, + "operator": { "inside": { - "bash": { - "alias": "punctuation", - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + "file-descriptor": { + "alias": "important", + "pattern": /\\^\\\\d/, }, - "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, + }, + "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, + "string": [ + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + }, + "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "variable": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\\\w\\+\\?\\)\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\2/, + }, + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\["'\\]\\)\\(\\\\w\\+\\)\\\\2\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\3/, + }, + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + }, + "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "variable": [Circular], }, - "variable": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\(\\?:\\\\\\\\\\\\\\\\\\)\\*\\)\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\\\\\$\\(\\?!\\\\\\(\\)\\|\`\\[\\^\`\\]\\+\`\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\`\\$\\]\\)\\*\\\\2/, }, + ], + "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, + }, + "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, + }, + { + "greedy": true, + "inside": { + "environment": { + "alias": "constant", "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\(\\?:\\\\\\\\\\\\\\\\\\)\\*\\)\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\\\\\$\\(\\?!\\\\\\(\\)\\|\`\\[\\^\`\\]\\+\`\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\`\\$\\]\\)\\*\\\\2/, + "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, }, - ], - "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, + "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, + "punctuation": /\\[\\\\\\[\\\\\\]\\]/, + }, + "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, }, - "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, + /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, + ], + }, + "c": { + "class-name": { + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, + }, + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - { + "constant": /\\\\b\\(\\?:__FILE__\\|__LINE__\\|__DATE__\\|__TIME__\\|__TIMESTAMP__\\|__func__\\|EOF\\|NULL\\|SEEK_CUR\\|SEEK_END\\|SEEK_SET\\|stdin\\|stdout\\|stderr\\)\\\\b/, + "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, + "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, + "macro": { + "alias": "property", "greedy": true, "inside": { - "environment": { - "alias": "constant", + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + "directive": { + "alias": "keyword", "lookbehind": true, - "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + "pattern": /\\^\\(#\\\\s\\*\\)\\[a-z\\]\\+/, }, - "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, - "punctuation": /\\[\\\\\\[\\\\\\]\\]/, - }, - "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, - }, - /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, - ], - }, - "c": { - "class-name": { - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, - }, - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "constant": /\\\\b\\(\\?:__FILE__\\|__LINE__\\|__DATE__\\|__TIME__\\|__TIMESTAMP__\\|__func__\\|EOF\\|NULL\\|SEEK_CUR\\|SEEK_END\\|SEEK_SET\\|stdin\\|stdout\\|stderr\\)\\\\b/, - "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, - "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, - "macro": { - "alias": "property", - "greedy": true, - "inside": { - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "directive": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\^\\(#\\\\s\\*\\)\\[a-z\\]\\+/, - }, - "directive-hash": /\\^#/, - "expression": { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": { + "directive-hash": /\\^#/, + "expression": { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": { + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, + }, + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, + "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, + "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, + "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "pattern": /\\\\S\\[\\\\s\\\\S\\]\\*/, + }, + "macro-name": [ + { "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, + "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?!\\\\\\(\\)/i, }, - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?=\\\\\\(\\)/i, }, - "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, - "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, - "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, - "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { + ], + "punctuation": /##\\|\\\\\\\\\\(\\?=\\[\\\\r\\\\n\\]\\)/, + "string": [ + { + "lookbehind": true, + "pattern": /\\^\\(#\\\\s\\*include\\\\s\\*\\)<\\[\\^>\\]\\+>/, + }, + { "greedy": true, "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "pattern": /\\\\S\\[\\\\s\\\\S\\]\\*/, + ], }, - "macro-name": [ - { - "lookbehind": true, - "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?!\\\\\\(\\)/i, - }, - { - "alias": "function", - "lookbehind": true, - "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?=\\\\\\(\\)/i, - }, - ], - "punctuation": /##\\|\\\\\\\\\\(\\?=\\[\\\\r\\\\n\\]\\)/, - "string": [ - { - "lookbehind": true, - "pattern": /\\^\\(#\\\\s\\*include\\\\s\\*\\)<\\[\\^>\\]\\+>/, - }, - { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - ], - }, - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)#\\\\s\\*\\[a-z\\]\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\/\\]\\|\\\\/\\(\\?!\\\\\\*\\)\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*/im, - }, - "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, - "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, - "clike": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - "comment": [ - { - "greedy": true, "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\^\\\\s\\*\\)#\\\\s\\*\\[a-z\\]\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\/\\]\\|\\\\/\\(\\?!\\\\\\*\\)\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*/im, }, - { + "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, + "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /\\\\w\\+\\(\\?=\\\\\\(\\)/, - "keyword": /\\\\b\\(\\?:if\\|else\\|while\\|do\\|for\\|return\\|in\\|instanceof\\|function\\|new\\|try\\|throw\\|catch\\|finally\\|null\\|break\\|continue\\)\\\\b/, - "number": /\\\\b0x\\[\\\\da-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?/i, - "operator": /\\[<>\\]=\\?\\|\\[!=\\]=\\?=\\?\\|--\\?\\|\\\\\\+\\\\\\+\\?\\|&&\\?\\|\\\\\\|\\\\\\|\\?\\|\\[\\?\\*/~\\^%\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, - "coffee": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "block-regex": { - "alias": "regex", - "inside": { - "comment": /#\\(\\?!\\\\\\{\\)\\.\\+/, - "interpolation": { - "alias": "variable", - "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, - }, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "pattern": /\\\\/\\{3\\}\\[\\\\s\\\\S\\]\\*\\?\\\\/\\{3\\}/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-member": { - "alias": "variable", - "pattern": /@\\(\\?!\\\\d\\)\\\\w\\+/, }, - "class-name": [ - { + "clike": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": { "inside": { "punctuation": /\\[\\.\\\\\\\\\\]/, }, "lookbehind": true, "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /\\\\w\\+\\(\\?=\\\\\\(\\)/, + "keyword": /\\\\b\\(\\?:if\\|else\\|while\\|do\\|for\\|return\\|in\\|instanceof\\|function\\|new\\|try\\|throw\\|catch\\|finally\\|null\\|break\\|continue\\)\\\\b/, + "number": /\\\\b0x\\[\\\\da-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?/i, + "operator": /\\[<>\\]=\\?\\|\\[!=\\]=\\?=\\?\\|--\\?\\|\\\\\\+\\\\\\+\\?\\|&&\\?\\|\\\\\\|\\\\\\|\\?\\|\\[\\?\\*/~\\^%\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "comment": /#\\(\\?!\\\\\\{\\)\\.\\+/, - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "coffee": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "block-regex": { + "alias": "regex", + "inside": { + "comment": /#\\(\\?!\\\\\\{\\)\\.\\+/, + "interpolation": { + "alias": "variable", + "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, + }, + }, + "pattern": /\\\\/\\{3\\}\\[\\\\s\\\\S\\]\\*\\?\\\\/\\{3\\}/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "inline-javascript": { - "inside": { - "delimiter": { - "alias": "punctuation", - "pattern": /\\^\`\\|\`\\$/, - }, - "script": { - "alias": "language-javascript", + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-member": { + "alias": "variable", + "pattern": /@\\(\\?!\\\\d\\)\\\\w\\+/, + }, + "class-name": [ + { "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": /#\\(\\?!\\\\\\{\\)\\.\\+/, + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, + }, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, + }, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, + }, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, + }, + "inline-javascript": { + "inside": { + "delimiter": { + "alias": "punctuation", + "pattern": /\\^\`\\|\`\\$/, + }, + "script": { + "alias": "language-javascript", + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { - "greedy": true, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, + ], + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { + "method": { "alias": [ - "null", - "nil", + "function", + "property-access", ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { + { "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - "keyword": /\\\\b\\(\\?:and\\|break\\|by\\|catch\\|class\\|continue\\|debugger\\|delete\\|do\\|each\\|else\\|extend\\|extends\\|false\\|finally\\|for\\|if\\|in\\|instanceof\\|is\\|isnt\\|let\\|loop\\|namespace\\|new\\|no\\|not\\|null\\|of\\|off\\|on\\|or\\|own\\|return\\|super\\|switch\\|then\\|this\\|throw\\|true\\|try\\|typeof\\|undefined\\|unless\\|until\\|when\\|while\\|window\\|with\\|yes\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "keyword": /\\\\b\\(\\?:and\\|break\\|by\\|catch\\|class\\|continue\\|debugger\\|delete\\|do\\|each\\|else\\|extend\\|extends\\|false\\|finally\\|for\\|if\\|in\\|instanceof\\|is\\|isnt\\|let\\|loop\\|namespace\\|new\\|no\\|not\\|null\\|of\\|off\\|on\\|or\\|own\\|return\\|super\\|switch\\|then\\|this\\|throw\\|true\\|try\\|typeof\\|undefined\\|unless\\|until\\|when\\|while\\|window\\|with\\|yes\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "multiline-comment": { - "alias": "comment", - "pattern": /###\\[\\\\s\\\\S\\]\\+\\?###/, - }, - "multiline-string": [ - { - "alias": "string", - "greedy": true, - "pattern": /'''\\[\\\\s\\\\S\\]\\*\\?'''/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { - "alias": "string", - "greedy": true, + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "interpolation": { - "alias": "variable", - "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "pattern": /"""\\[\\\\s\\\\S\\]\\*\\?"""/, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + "multiline-comment": { + "alias": "comment", + "pattern": /###\\[\\\\s\\\\S\\]\\+\\?###/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "multiline-string": [ + { + "alias": "string", + "greedy": true, + "pattern": /'''\\[\\\\s\\\\S\\]\\*\\?'''/, + }, + { + "alias": "string", + "greedy": true, + "inside": { + "interpolation": { + "alias": "variable", + "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /"""\\[\\\\s\\\\S\\]\\*\\?"""/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "property": /\\(\\?!\\\\d\\)\\\\w\\+\\(\\?=\\\\s\\*:\\(\\?!:\\)\\)/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": [ - { - "greedy": true, - "pattern": /'\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'/, - }, - { - "greedy": true, - "inside": { - "interpolation": { - "alias": "variable", - "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, - }, - }, - "pattern": /"\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"/, - }, - ], - }, - "coffeescript": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "block-regex": { - "alias": "regex", - "inside": { - "comment": /#\\(\\?!\\\\\\{\\)\\.\\+/, - "interpolation": { - "alias": "variable", - "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, - }, - }, - "pattern": /\\\\/\\{3\\}\\[\\\\s\\\\S\\]\\*\\?\\\\/\\{3\\}/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-member": { - "alias": "variable", - "pattern": /@\\(\\?!\\\\d\\)\\\\w\\+/, - }, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": /#\\(\\?!\\\\\\{\\)\\.\\+/, - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "inline-javascript": { - "inside": { - "delimiter": { - "alias": "punctuation", - "pattern": /\\^\`\\|\`\\$/, - }, - "script": { - "alias": "language-javascript", + { "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, "class-name": [ { @@ -2613,38 +2525,7 @@ exports[`LiveEdit renders correctly 1`] = ` "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, }, ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, "keyword": [ { "alias": "module", @@ -2674,21769 +2555,21941 @@ exports[`LiveEdit renders correctly 1`] = ` "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, ], - "known-class-name": [ + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, }, ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ { "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "punctuation": /\\[\\.\\\\\\\\\\]/, }, "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, }, + ], + "comment": [ { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, + "greedy": true, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, + "greedy": true, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, }, ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, "string": { "greedy": true, "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property": /\\(\\?!\\\\d\\)\\\\w\\+\\(\\?=\\\\s\\*:\\(\\?!:\\)\\)/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": [ + { + "greedy": true, + "pattern": /'\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'/, + }, + { + "greedy": true, + "inside": { + "interpolation": { + "alias": "variable", + "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, + }, + }, + "pattern": /"\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"/, + }, + ], + }, + "coffeescript": { + "arrow": { + "alias": "operator", + "pattern": /=>/, + }, + "block-regex": { + "alias": "regex", + "inside": { + "comment": /#\\(\\?!\\\\\\{\\)\\.\\+/, + "interpolation": { + "alias": "variable", + "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, + }, + }, + "pattern": /\\\\/\\{3\\}\\[\\\\s\\\\S\\]\\*\\?\\\\/\\{3\\}/, + }, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-member": { + "alias": "variable", + "pattern": /@\\(\\?!\\\\d\\)\\\\w\\+/, + }, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": /#\\(\\?!\\\\\\{\\)\\.\\+/, + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, + }, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, + }, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, + }, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, + }, + "inline-javascript": { + "inside": { + "delimiter": { + "alias": "punctuation", + "pattern": /\\^\`\\|\`\\$/, + }, + "script": { + "alias": "language-javascript", + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, + }, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, + }, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, + }, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, + }, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, + ], + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, + }, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "punctuation": /\\[\\.\\\\\\\\\\]/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, + }, + }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, + }, + }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\\`\\]\\)\\*\`/, + }, + "keyword": /\\\\b\\(\\?:and\\|break\\|by\\|catch\\|class\\|continue\\|debugger\\|delete\\|do\\|each\\|else\\|extend\\|extends\\|false\\|finally\\|for\\|if\\|in\\|instanceof\\|is\\|isnt\\|let\\|loop\\|namespace\\|new\\|no\\|not\\|null\\|of\\|off\\|on\\|or\\|own\\|return\\|super\\|switch\\|then\\|this\\|throw\\|true\\|try\\|typeof\\|undefined\\|unless\\|until\\|when\\|while\\|window\\|with\\|yes\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, + ], + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, + }, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "multiline-comment": { + "alias": "comment", + "pattern": /###\\[\\\\s\\\\S\\]\\+\\?###/, + }, + "multiline-string": [ + { + "alias": "string", + "greedy": true, + "pattern": /'''\\[\\\\s\\\\S\\]\\*\\?'''/, + }, + { + "alias": "string", + "greedy": true, + "inside": { + "interpolation": { + "alias": "variable", + "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, + }, + }, + "pattern": /"""\\[\\\\s\\\\S\\]\\*\\?"""/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, - }, - }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - "keyword": /\\\\b\\(\\?:and\\|break\\|by\\|catch\\|class\\|continue\\|debugger\\|delete\\|do\\|each\\|else\\|extend\\|extends\\|false\\|finally\\|for\\|if\\|in\\|instanceof\\|is\\|isnt\\|let\\|loop\\|namespace\\|new\\|no\\|not\\|null\\|of\\|off\\|on\\|or\\|own\\|return\\|super\\|switch\\|then\\|this\\|throw\\|true\\|try\\|typeof\\|undefined\\|unless\\|until\\|when\\|while\\|window\\|with\\|yes\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "multiline-comment": { - "alias": "comment", - "pattern": /###\\[\\\\s\\\\S\\]\\+\\?###/, - }, - "multiline-string": [ - { - "alias": "string", - "greedy": true, - "pattern": /'''\\[\\\\s\\\\S\\]\\*\\?'''/, - }, - { - "alias": "string", - "greedy": true, - "inside": { - "interpolation": { - "alias": "variable", - "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, - }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /"""\\[\\\\s\\\\S\\]\\*\\?"""/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property": /\\(\\?!\\\\d\\)\\\\w\\+\\(\\?=\\\\s\\*:\\(\\?!:\\)\\)/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - { + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": [ + { + "greedy": true, + "pattern": /'\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'/, + }, + { + "greedy": true, + "inside": { + "interpolation": { + "alias": "variable", + "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /"\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { + ], + }, + "cpp": { + "base-clause": { + "greedy": true, "inside": { "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "class-name": /\\\\b\\[a-z_\\]\\\\w\\*\\\\b\\(\\?!\\\\s\\*::\\)/i, + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + "constant": /\\\\b\\(\\?:__FILE__\\|__LINE__\\|__DATE__\\|__TIME__\\|__TIMESTAMP__\\|__func__\\|EOF\\|NULL\\|SEEK_CUR\\|SEEK_END\\|SEEK_SET\\|stdin\\|stdout\\|stderr\\)\\\\b/, + "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, + "keyword": /\\\\b\\(\\?:alignas\\|alignof\\|asm\\|auto\\|bool\\|break\\|case\\|catch\\|char\\|char8_t\\|char16_t\\|char32_t\\|class\\|compl\\|concept\\|const\\|consteval\\|constexpr\\|constinit\\|const_cast\\|continue\\|co_await\\|co_return\\|co_yield\\|decltype\\|default\\|delete\\|do\\|double\\|dynamic_cast\\|else\\|enum\\|explicit\\|export\\|extern\\|float\\|for\\|friend\\|goto\\|if\\|inline\\|int\\|int8_t\\|int16_t\\|int32_t\\|int64_t\\|uint8_t\\|uint16_t\\|uint32_t\\|uint64_t\\|long\\|mutable\\|namespace\\|new\\|noexcept\\|nullptr\\|operator\\|private\\|protected\\|public\\|register\\|reinterpret_cast\\|requires\\|return\\|short\\|signed\\|sizeof\\|static\\|static_assert\\|static_cast\\|struct\\|switch\\|template\\|this\\|thread_local\\|throw\\|try\\|typedef\\|typeid\\|typename\\|union\\|unsigned\\|using\\|virtual\\|void\\|volatile\\|wchar_t\\|while\\)\\\\b/, + "macro": { + "alias": "property", + "greedy": true, + "inside": { + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", + "directive": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\^\\(#\\\\s\\*\\)\\[a-z\\]\\+/, + }, + "directive-hash": /\\^#/, + "expression": { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": { + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, + }, + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, + "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, + "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, + "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "pattern": /\\\\S\\[\\\\s\\\\S\\]\\*/, + }, + "macro-name": [ + { + "lookbehind": true, + "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?!\\\\\\(\\)/i, + }, + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?=\\\\\\(\\)/i, + }, + ], + "punctuation": /##\\|\\\\\\\\\\(\\?=\\[\\\\r\\\\n\\]\\)/, + "string": [ + { + "lookbehind": true, + "pattern": /\\^\\(#\\\\s\\*include\\\\s\\*\\)<\\[\\^>\\]\\+>/, + }, + { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)#\\\\s\\*\\[a-z\\]\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\/\\]\\|\\\\/\\(\\?!\\\\\\*\\)\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*/im, + }, + "number": { + "greedy": true, + "pattern": /\\(\\?:\\\\b0b\\[01'\\]\\+\\|\\\\b0x\\(\\?:\\[\\\\da-f'\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f'\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f'\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\[\\\\d'\\]\\+\\)\\?\\|\\(\\?:\\\\b\\[\\\\d'\\]\\+\\(\\?:\\\\\\.\\[\\\\d'\\]\\*\\)\\?\\|\\\\B\\\\\\.\\[\\\\d'\\]\\+\\)\\(\\?:e\\[\\+-\\]\\?\\[\\\\d'\\]\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, + }, + "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|<=>\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\b\\(\\?:and\\|and_eq\\|bitand\\|bitor\\|not\\|not_eq\\|or\\|or_eq\\|xor\\|xor_eq\\)\\\\b/, "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "raw-string": { + "alias": "string", + "greedy": true, + "pattern": /R"\\(\\[\\^\\(\\)\\\\\\\\ \\]\\{0,16\\}\\)\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\1"/, + }, "string": { "greedy": true, "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "property": /\\(\\?!\\\\d\\)\\\\w\\+\\(\\?=\\\\s\\*:\\(\\?!:\\)\\)/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\b\\(\\?:class\\|struct\\)\\\\s\\+\\\\w\\+\\\\s\\*:\\\\s\\*\\)\\[\\^;\\{\\}"'\\\\s\\]\\+\\(\\?:\\\\s\\+\\[\\^;\\{\\}"'\\\\s\\]\\+\\)\\*\\(\\?=\\\\s\\*\\[;\\{\\]\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "pattern": /\\(\\\\b\\(\\?:class\\|concept\\|enum\\|struct\\|typename\\)\\\\s\\+\\)\\(\\?!\\\\b\\(\\?:alignas\\|alignof\\|asm\\|auto\\|bool\\|break\\|case\\|catch\\|char\\|char8_t\\|char16_t\\|char32_t\\|class\\|compl\\|concept\\|const\\|consteval\\|constexpr\\|constinit\\|const_cast\\|continue\\|co_await\\|co_return\\|co_yield\\|decltype\\|default\\|delete\\|do\\|double\\|dynamic_cast\\|else\\|enum\\|explicit\\|export\\|extern\\|float\\|for\\|friend\\|goto\\|if\\|inline\\|int\\|int8_t\\|int16_t\\|int32_t\\|int64_t\\|uint8_t\\|uint16_t\\|uint32_t\\|uint64_t\\|long\\|mutable\\|namespace\\|new\\|noexcept\\|nullptr\\|operator\\|private\\|protected\\|public\\|register\\|reinterpret_cast\\|requires\\|return\\|short\\|signed\\|sizeof\\|static\\|static_assert\\|static_cast\\|struct\\|switch\\|template\\|this\\|thread_local\\|throw\\|try\\|typedef\\|typeid\\|typename\\|union\\|unsigned\\|using\\|virtual\\|void\\|volatile\\|wchar_t\\|while\\)\\\\b\\)\\\\w\\+/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": [ - { + /\\\\b\\[A-Z\\]\\\\w\\*\\(\\?=\\\\s\\*::\\\\s\\*\\\\w\\+\\\\s\\*\\\\\\(\\)/, + /\\\\b\\[A-Z_\\]\\\\w\\*\\(\\?=\\\\s\\*::\\\\s\\*~\\\\w\\+\\\\s\\*\\\\\\(\\)/i, + /\\\\w\\+\\(\\?=\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\\\s\\*::\\\\s\\*\\\\w\\+\\\\s\\*\\\\\\(\\)/, + ], + "comment": { "greedy": true, - "pattern": /'\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'/, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - { + "constant": /\\\\b\\(\\?:__FILE__\\|__LINE__\\|__DATE__\\|__TIME__\\|__TIMESTAMP__\\|__func__\\|EOF\\|NULL\\|SEEK_CUR\\|SEEK_END\\|SEEK_SET\\|stdin\\|stdout\\|stderr\\)\\\\b/, + "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, + "keyword": /\\\\b\\(\\?:alignas\\|alignof\\|asm\\|auto\\|bool\\|break\\|case\\|catch\\|char\\|char8_t\\|char16_t\\|char32_t\\|class\\|compl\\|concept\\|const\\|consteval\\|constexpr\\|constinit\\|const_cast\\|continue\\|co_await\\|co_return\\|co_yield\\|decltype\\|default\\|delete\\|do\\|double\\|dynamic_cast\\|else\\|enum\\|explicit\\|export\\|extern\\|float\\|for\\|friend\\|goto\\|if\\|inline\\|int\\|int8_t\\|int16_t\\|int32_t\\|int64_t\\|uint8_t\\|uint16_t\\|uint32_t\\|uint64_t\\|long\\|mutable\\|namespace\\|new\\|noexcept\\|nullptr\\|operator\\|private\\|protected\\|public\\|register\\|reinterpret_cast\\|requires\\|return\\|short\\|signed\\|sizeof\\|static\\|static_assert\\|static_cast\\|struct\\|switch\\|template\\|this\\|thread_local\\|throw\\|try\\|typedef\\|typeid\\|typename\\|union\\|unsigned\\|using\\|virtual\\|void\\|volatile\\|wchar_t\\|while\\)\\\\b/, + "macro": { + "alias": "property", "greedy": true, "inside": { - "interpolation": { - "alias": "variable", - "pattern": /#\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - }, - "pattern": /"\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"/, - }, - ], - }, - "cpp": { - "base-clause": { - "greedy": true, - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": /\\\\b\\[a-z_\\]\\\\w\\*\\\\b\\(\\?!\\\\s\\*::\\)/i, - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "constant": /\\\\b\\(\\?:__FILE__\\|__LINE__\\|__DATE__\\|__TIME__\\|__TIMESTAMP__\\|__func__\\|EOF\\|NULL\\|SEEK_CUR\\|SEEK_END\\|SEEK_SET\\|stdin\\|stdout\\|stderr\\)\\\\b/, - "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, - "keyword": /\\\\b\\(\\?:alignas\\|alignof\\|asm\\|auto\\|bool\\|break\\|case\\|catch\\|char\\|char8_t\\|char16_t\\|char32_t\\|class\\|compl\\|concept\\|const\\|consteval\\|constexpr\\|constinit\\|const_cast\\|continue\\|co_await\\|co_return\\|co_yield\\|decltype\\|default\\|delete\\|do\\|double\\|dynamic_cast\\|else\\|enum\\|explicit\\|export\\|extern\\|float\\|for\\|friend\\|goto\\|if\\|inline\\|int\\|int8_t\\|int16_t\\|int32_t\\|int64_t\\|uint8_t\\|uint16_t\\|uint32_t\\|uint64_t\\|long\\|mutable\\|namespace\\|new\\|noexcept\\|nullptr\\|operator\\|private\\|protected\\|public\\|register\\|reinterpret_cast\\|requires\\|return\\|short\\|signed\\|sizeof\\|static\\|static_assert\\|static_cast\\|struct\\|switch\\|template\\|this\\|thread_local\\|throw\\|try\\|typedef\\|typeid\\|typename\\|union\\|unsigned\\|using\\|virtual\\|void\\|volatile\\|wchar_t\\|while\\)\\\\b/, - "macro": { - "alias": "property", - "greedy": true, - "inside": { - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "directive": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\^\\(#\\\\s\\*\\)\\[a-z\\]\\+/, - }, - "directive-hash": /\\^#/, - "expression": { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": { - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, - }, - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, - "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, - "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, - "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, - "pattern": /\\\\S\\[\\\\s\\\\S\\]\\*/, - }, - "macro-name": [ - { - "lookbehind": true, - "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?!\\\\\\(\\)/i, - }, - { - "alias": "function", + "directive": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\^\\(#\\\\s\\*\\)\\[a-z\\]\\+/, + }, + "directive-hash": /\\^#/, + "expression": { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": { "lookbehind": true, - "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?=\\\\\\(\\)/i, + "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, }, - ], - "punctuation": /##\\|\\\\\\\\\\(\\?=\\[\\\\r\\\\n\\]\\)/, - "string": [ - { - "lookbehind": true, - "pattern": /\\^\\(#\\\\s\\*include\\\\s\\*\\)<\\[\\^>\\]\\+>/, + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - { + "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, + "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, + "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, + "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], + }, + "pattern": /\\\\S\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)#\\\\s\\*\\[a-z\\]\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\/\\]\\|\\\\/\\(\\?!\\\\\\*\\)\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*/im, - }, - "number": { - "greedy": true, - "pattern": /\\(\\?:\\\\b0b\\[01'\\]\\+\\|\\\\b0x\\(\\?:\\[\\\\da-f'\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f'\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f'\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\[\\\\d'\\]\\+\\)\\?\\|\\(\\?:\\\\b\\[\\\\d'\\]\\+\\(\\?:\\\\\\.\\[\\\\d'\\]\\*\\)\\?\\|\\\\B\\\\\\.\\[\\\\d'\\]\\+\\)\\(\\?:e\\[\\+-\\]\\?\\[\\\\d'\\]\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, - }, - "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|<=>\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\b\\(\\?:and\\|and_eq\\|bitand\\|bitor\\|not\\|not_eq\\|or\\|or_eq\\|xor\\|xor_eq\\)\\\\b/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "raw-string": { - "alias": "string", - "greedy": true, - "pattern": /R"\\(\\[\\^\\(\\)\\\\\\\\ \\]\\{0,16\\}\\)\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\1"/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|struct\\)\\\\s\\+\\\\w\\+\\\\s\\*:\\\\s\\*\\)\\[\\^;\\{\\}"'\\\\s\\]\\+\\(\\?:\\\\s\\+\\[\\^;\\{\\}"'\\\\s\\]\\+\\)\\*\\(\\?=\\\\s\\*\\[;\\{\\]\\)/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|concept\\|enum\\|struct\\|typename\\)\\\\s\\+\\)\\(\\?!\\\\b\\(\\?:alignas\\|alignof\\|asm\\|auto\\|bool\\|break\\|case\\|catch\\|char\\|char8_t\\|char16_t\\|char32_t\\|class\\|compl\\|concept\\|const\\|consteval\\|constexpr\\|constinit\\|const_cast\\|continue\\|co_await\\|co_return\\|co_yield\\|decltype\\|default\\|delete\\|do\\|double\\|dynamic_cast\\|else\\|enum\\|explicit\\|export\\|extern\\|float\\|for\\|friend\\|goto\\|if\\|inline\\|int\\|int8_t\\|int16_t\\|int32_t\\|int64_t\\|uint8_t\\|uint16_t\\|uint32_t\\|uint64_t\\|long\\|mutable\\|namespace\\|new\\|noexcept\\|nullptr\\|operator\\|private\\|protected\\|public\\|register\\|reinterpret_cast\\|requires\\|return\\|short\\|signed\\|sizeof\\|static\\|static_assert\\|static_cast\\|struct\\|switch\\|template\\|this\\|thread_local\\|throw\\|try\\|typedef\\|typeid\\|typename\\|union\\|unsigned\\|using\\|virtual\\|void\\|volatile\\|wchar_t\\|while\\)\\\\b\\)\\\\w\\+/, - }, - /\\\\b\\[A-Z\\]\\\\w\\*\\(\\?=\\\\s\\*::\\\\s\\*\\\\w\\+\\\\s\\*\\\\\\(\\)/, - /\\\\b\\[A-Z_\\]\\\\w\\*\\(\\?=\\\\s\\*::\\\\s\\*~\\\\w\\+\\\\s\\*\\\\\\(\\)/i, - /\\\\w\\+\\(\\?=\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\\\s\\*::\\\\s\\*\\\\w\\+\\\\s\\*\\\\\\(\\)/, - ], - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "constant": /\\\\b\\(\\?:__FILE__\\|__LINE__\\|__DATE__\\|__TIME__\\|__TIMESTAMP__\\|__func__\\|EOF\\|NULL\\|SEEK_CUR\\|SEEK_END\\|SEEK_SET\\|stdin\\|stdout\\|stderr\\)\\\\b/, - "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, - "keyword": /\\\\b\\(\\?:alignas\\|alignof\\|asm\\|auto\\|bool\\|break\\|case\\|catch\\|char\\|char8_t\\|char16_t\\|char32_t\\|class\\|compl\\|concept\\|const\\|consteval\\|constexpr\\|constinit\\|const_cast\\|continue\\|co_await\\|co_return\\|co_yield\\|decltype\\|default\\|delete\\|do\\|double\\|dynamic_cast\\|else\\|enum\\|explicit\\|export\\|extern\\|float\\|for\\|friend\\|goto\\|if\\|inline\\|int\\|int8_t\\|int16_t\\|int32_t\\|int64_t\\|uint8_t\\|uint16_t\\|uint32_t\\|uint64_t\\|long\\|mutable\\|namespace\\|new\\|noexcept\\|nullptr\\|operator\\|private\\|protected\\|public\\|register\\|reinterpret_cast\\|requires\\|return\\|short\\|signed\\|sizeof\\|static\\|static_assert\\|static_cast\\|struct\\|switch\\|template\\|this\\|thread_local\\|throw\\|try\\|typedef\\|typeid\\|typename\\|union\\|unsigned\\|using\\|virtual\\|void\\|volatile\\|wchar_t\\|while\\)\\\\b/, - "macro": { - "alias": "property", - "greedy": true, - "inside": { - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "directive": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\^\\(#\\\\s\\*\\)\\[a-z\\]\\+/, - }, - "directive-hash": /\\^#/, - "expression": { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": { + "macro-name": [ + { "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, + "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?!\\\\\\(\\)/i, }, - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?=\\\\\\(\\)/i, }, - "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, - "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, - "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, - "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { + ], + "punctuation": /##\\|\\\\\\\\\\(\\?=\\[\\\\r\\\\n\\]\\)/, + "string": [ + { + "lookbehind": true, + "pattern": /\\^\\(#\\\\s\\*include\\\\s\\*\\)<\\[\\^>\\]\\+>/, + }, + { "greedy": true, "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "pattern": /\\\\S\\[\\\\s\\\\S\\]\\*/, + ], }, - "macro-name": [ - { - "lookbehind": true, - "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?!\\\\\\(\\)/i, - }, - { - "alias": "function", - "lookbehind": true, - "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?=\\\\\\(\\)/i, - }, - ], - "punctuation": /##\\|\\\\\\\\\\(\\?=\\[\\\\r\\\\n\\]\\)/, - "string": [ - { - "lookbehind": true, - "pattern": /\\^\\(#\\\\s\\*include\\\\s\\*\\)<\\[\\^>\\]\\+>/, - }, - { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - ], + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)#\\\\s\\*\\[a-z\\]\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\/\\]\\|\\\\/\\(\\?!\\\\\\*\\)\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*/im, + }, + "number": { + "greedy": true, + "pattern": /\\(\\?:\\\\b0b\\[01'\\]\\+\\|\\\\b0x\\(\\?:\\[\\\\da-f'\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f'\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f'\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\[\\\\d'\\]\\+\\)\\?\\|\\(\\?:\\\\b\\[\\\\d'\\]\\+\\(\\?:\\\\\\.\\[\\\\d'\\]\\*\\)\\?\\|\\\\B\\\\\\.\\[\\\\d'\\]\\+\\)\\(\\?:e\\[\\+-\\]\\?\\[\\\\d'\\]\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, + }, + "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|<=>\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\b\\(\\?:and\\|and_eq\\|bitand\\|bitor\\|not\\|not_eq\\|or\\|or_eq\\|xor\\|xor_eq\\)\\\\b/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "raw-string": { + "alias": "string", + "greedy": true, + "pattern": /R"\\(\\[\\^\\(\\)\\\\\\\\ \\]\\{0,16\\}\\)\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\1"/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)#\\\\s\\*\\[a-z\\]\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\/\\]\\|\\\\/\\(\\?!\\\\\\*\\)\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*/im, - }, - "number": { - "greedy": true, - "pattern": /\\(\\?:\\\\b0b\\[01'\\]\\+\\|\\\\b0x\\(\\?:\\[\\\\da-f'\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f'\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f'\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\[\\\\d'\\]\\+\\)\\?\\|\\(\\?:\\\\b\\[\\\\d'\\]\\+\\(\\?:\\\\\\.\\[\\\\d'\\]\\*\\)\\?\\|\\\\B\\\\\\.\\[\\\\d'\\]\\+\\)\\(\\?:e\\[\\+-\\]\\?\\[\\\\d'\\]\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, - }, - "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|<=>\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\b\\(\\?:and\\|and_eq\\|bitand\\|bitor\\|not\\|not_eq\\|or\\|or_eq\\|xor\\|xor_eq\\)\\\\b/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "raw-string": { - "alias": "string", - "greedy": true, - "pattern": /R"\\(\\[\\^\\(\\)\\\\\\\\ \\]\\{0,16\\}\\)\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\1"/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "css": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "css": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, - }, - }, - "diff": { - "coord": [ - /\\^\\(\\?:\\\\\\*\\{3\\}\\|-\\{3\\}\\|\\\\\\+\\{3\\}\\)\\.\\*\\$/m, - /\\^@@\\.\\*@@\\$/m, - /\\^\\\\d\\.\\*\\$/m, - ], - "deleted-arrow": { - "alias": [ - "deleted", - ], - "inside": { - "line": { - "lookbehind": true, - "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, - }, - "prefix": { - "alias": "deleted", - "pattern": /\\[\\\\s\\\\S\\]/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\^\\(\\?:\\[<\\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, }, - "deleted-sign": { - "alias": [ - "deleted", + "diff": { + "coord": [ + /\\^\\(\\?:\\\\\\*\\{3\\}\\|-\\{3\\}\\|\\\\\\+\\{3\\}\\)\\.\\*\\$/m, + /\\^@@\\.\\*@@\\$/m, + /\\^\\\\d\\.\\*\\$/m, ], - "inside": { - "line": { - "lookbehind": true, - "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, + "deleted-arrow": { + "alias": [ + "deleted", + ], + "inside": { + "line": { + "lookbehind": true, + "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, + }, + "prefix": { + "alias": "deleted", + "pattern": /\\[\\\\s\\\\S\\]/, + }, }, - "prefix": { - "alias": "deleted", - "pattern": /\\[\\\\s\\\\S\\]/, + "pattern": /\\^\\(\\?:\\[<\\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, + }, + "deleted-sign": { + "alias": [ + "deleted", + ], + "inside": { + "line": { + "lookbehind": true, + "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, + }, + "prefix": { + "alias": "deleted", + "pattern": /\\[\\\\s\\\\S\\]/, + }, }, + "pattern": /\\^\\(\\?:\\[-\\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, }, - "pattern": /\\^\\(\\?:\\[-\\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, - }, - "diff": { - "alias": [ - "bold", - ], - "inside": { - "line": { - "lookbehind": true, - "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, + "diff": { + "alias": [ + "bold", + ], + "inside": { + "line": { + "lookbehind": true, + "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, + }, + "prefix": { + "alias": "diff", + "pattern": /\\[\\\\s\\\\S\\]/, + }, }, - "prefix": { - "alias": "diff", - "pattern": /\\[\\\\s\\\\S\\]/, + "pattern": /\\^\\(\\?:\\[!\\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, + }, + "inserted-arrow": { + "alias": [ + "inserted", + ], + "inside": { + "line": { + "lookbehind": true, + "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, + }, + "prefix": { + "alias": "inserted", + "pattern": /\\[\\\\s\\\\S\\]/, + }, }, + "pattern": /\\^\\(\\?:\\[>\\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, }, - "pattern": /\\^\\(\\?:\\[!\\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, - }, - "inserted-arrow": { - "alias": [ - "inserted", - ], - "inside": { - "line": { - "lookbehind": true, - "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, + "inserted-sign": { + "alias": [ + "inserted", + ], + "inside": { + "line": { + "lookbehind": true, + "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, + }, + "prefix": { + "alias": "inserted", + "pattern": /\\[\\\\s\\\\S\\]/, + }, }, - "prefix": { - "alias": "inserted", - "pattern": /\\[\\\\s\\\\S\\]/, + "pattern": /\\^\\(\\?:\\[\\+\\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, + }, + "unchanged": { + "alias": [], + "inside": { + "line": { + "lookbehind": true, + "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, + }, + "prefix": { + "alias": "unchanged", + "pattern": /\\[\\\\s\\\\S\\]/, + }, }, + "pattern": /\\^\\(\\?:\\[ \\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, }, - "pattern": /\\^\\(\\?:\\[>\\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, }, - "inserted-sign": { - "alias": [ - "inserted", - ], - "inside": { - "line": { + "extend": [Function], + "git": { + "command": { + "inside": { + "parameter": /\\\\s--\\?\\\\w\\+/m, + }, + "pattern": /\\^\\.\\*\\\\\\$ git \\.\\*\\$/m, + }, + "comment": /\\^#\\.\\*/m, + "commit-sha1": /\\^commit \\\\w\\{40\\}\\$/m, + "coord": /\\^@@\\.\\*@@\\$/m, + "deleted": /\\^\\[-–\\]\\.\\*/m, + "inserted": /\\^\\\\\\+\\.\\*/m, + "string": /\\("\\|'\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/m, + }, + "go": { + "boolean": /\\\\b\\(\\?:_\\|iota\\|nil\\|true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:bool\\|byte\\|complex\\(\\?:64\\|128\\)\\|error\\|float\\(\\?:32\\|64\\)\\|rune\\|string\\|u\\?int\\(\\?:8\\|16\\|32\\|64\\)\\?\\|uintptr\\|append\\|cap\\|close\\|complex\\|copy\\|delete\\|imag\\|len\\|make\\|new\\|panic\\|print\\(\\?:ln\\)\\?\\|real\\|recover\\)\\\\b/, + "comment": [ + { + "greedy": true, "lookbehind": true, - "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - "prefix": { - "alias": "inserted", - "pattern": /\\[\\\\s\\\\S\\]/, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, }, + ], + "function": /\\\\w\\+\\(\\?=\\\\\\(\\)/, + "keyword": /\\\\b\\(\\?:break\\|case\\|chan\\|const\\|continue\\|default\\|defer\\|else\\|fallthrough\\|for\\|func\\|go\\(\\?:to\\)\\?\\|if\\|import\\|interface\\|map\\|package\\|range\\|return\\|select\\|struct\\|switch\\|type\\|var\\)\\\\b/, + "number": /\\(\\?:\\\\b0x\\[a-f\\\\d\\]\\+\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[-\\+\\]\\?\\\\d\\+\\)\\?\\)i\\?/i, + "operator": /\\[\\*\\\\/%\\^!=\\]=\\?\\|\\\\\\+\\[=\\+\\]\\?\\|-\\[=-\\]\\?\\|\\\\\\|\\[=\\|\\]\\?\\|&\\(\\?:=\\|&\\|\\\\\\^=\\?\\)\\?\\|>\\(\\?:>=\\?\\|=\\)\\?\\|<\\(\\?:<=\\?\\|=\\|-\\)\\?\\|:=\\|\\\\\\.\\\\\\.\\\\\\./, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\`\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\]\\)\\*\\\\1/, }, - "pattern": /\\^\\(\\?:\\[\\+\\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, }, - "unchanged": { - "alias": [], - "inside": { - "line": { - "lookbehind": true, - "pattern": /\\(\\.\\)\\(\\?=\\[\\\\s\\\\S\\]\\)\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\)\\?/, - }, - "prefix": { - "alias": "unchanged", - "pattern": /\\[\\\\s\\\\S\\]/, + "graphql": { + "attr-name": { + "greedy": true, + "pattern": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)"\\]\\|"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\)\\*\\\\\\)\\)\\?:\\)/i, + }, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": { + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:enum\\|implements\\|interface\\|on\\|scalar\\|type\\|union\\)\\\\s\\+\\|&\\\\s\\*\\)\\[a-zA-Z_\\]\\\\w\\*/, + }, + "comment": /#\\.\\*/, + "constant": /\\\\b\\(\\?!ID\\\\b\\)\\[A-Z\\]\\[A-Z_\\\\d\\]\\*\\\\b/, + "description": { + "alias": "string", + "greedy": true, + "inside": { + "language-markdown": { + "inside": undefined, + "lookbehind": true, + "pattern": /\\(\\^"\\(\\?:""\\)\\?\\)\\(\\?!\\\\1\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + }, }, + "pattern": /\\(\\?:"""\\(\\?:\\[\\^"\\]\\|\\(\\?!"""\\)"\\)\\*"""\\|"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\)\\(\\?=\\\\s\\*\\[a-z_\\]\\)/i, }, - "pattern": /\\^\\(\\?:\\[ \\]\\.\\*\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\+/m, - }, - }, - "extend": [Function], - "git": { - "command": { - "inside": { - "parameter": /\\\\s--\\?\\\\w\\+/m, + "directive": { + "alias": "function", + "pattern": /@\\[a-z_\\]\\\\w\\*/i, }, - "pattern": /\\^\\.\\*\\\\\\$ git \\.\\*\\$/m, - }, - "comment": /\\^#\\.\\*/m, - "commit-sha1": /\\^commit \\\\w\\{40\\}\\$/m, - "coord": /\\^@@\\.\\*@@\\$/m, - "deleted": /\\^\\[-–\\]\\.\\*/m, - "inserted": /\\^\\\\\\+\\.\\*/m, - "string": /\\("\\|'\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/m, - }, - "go": { - "boolean": /\\\\b\\(\\?:_\\|iota\\|nil\\|true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:bool\\|byte\\|complex\\(\\?:64\\|128\\)\\|error\\|float\\(\\?:32\\|64\\)\\|rune\\|string\\|u\\?int\\(\\?:8\\|16\\|32\\|64\\)\\?\\|uintptr\\|append\\|cap\\|close\\|complex\\|copy\\|delete\\|imag\\|len\\|make\\|new\\|panic\\|print\\(\\?:ln\\)\\?\\|real\\|recover\\)\\\\b/, - "comment": [ - { - "greedy": true, + "fragment": { + "alias": "function", "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\\\bfragment\\\\s\\+\\|\\\\\\.\\{3\\}\\\\s\\*\\(\\?!on\\\\b\\)\\)\\[a-zA-Z_\\]\\\\w\\*/, }, - { + "keyword": /\\\\b\\(\\?:directive\\|enum\\|extend\\|fragment\\|implements\\|input\\|interface\\|mutation\\|on\\|query\\|repeatable\\|scalar\\|schema\\|subscription\\|type\\|union\\)\\\\b/, + "number": /\\(\\?:\\\\B-\\|\\\\b\\)\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\\\b/i, + "operator": /\\[!=\\|&\\]\\|\\\\\\.\\{3\\}/, + "punctuation": /\\[!\\(\\)\\{\\}\\\\\\[\\\\\\]:=,\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "pattern": /"""\\(\\?:\\[\\^"\\]\\|\\(\\?!"""\\)"\\)\\*"""\\|"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"/, }, - ], - "function": /\\\\w\\+\\(\\?=\\\\\\(\\)/, - "keyword": /\\\\b\\(\\?:break\\|case\\|chan\\|const\\|continue\\|default\\|defer\\|else\\|fallthrough\\|for\\|func\\|go\\(\\?:to\\)\\?\\|if\\|import\\|interface\\|map\\|package\\|range\\|return\\|select\\|struct\\|switch\\|type\\|var\\)\\\\b/, - "number": /\\(\\?:\\\\b0x\\[a-f\\\\d\\]\\+\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[-\\+\\]\\?\\\\d\\+\\)\\?\\)i\\?/i, - "operator": /\\[\\*\\\\/%\\^!=\\]=\\?\\|\\\\\\+\\[=\\+\\]\\?\\|-\\[=-\\]\\?\\|\\\\\\|\\[=\\|\\]\\?\\|&\\(\\?:=\\|&\\|\\\\\\^=\\?\\)\\?\\|>\\(\\?:>=\\?\\|=\\)\\?\\|<\\(\\?:<=\\?\\|=\\|-\\)\\?\\|:=\\|\\\\\\.\\\\\\.\\\\\\./, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\`\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\]\\)\\*\\\\1/, - }, - }, - "graphql": { - "attr-name": { - "greedy": true, - "pattern": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)"\\]\\|"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\)\\*\\\\\\)\\)\\?:\\)/i, + "variable": /\\\\\\$\\[a-z_\\]\\\\w\\*/i, }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": { - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:enum\\|implements\\|interface\\|on\\|scalar\\|type\\|union\\)\\\\s\\+\\|&\\\\s\\*\\)\\[a-zA-Z_\\]\\\\w\\*/, - }, - "comment": /#\\.\\*/, - "constant": /\\\\b\\(\\?!ID\\\\b\\)\\[A-Z\\]\\[A-Z_\\\\d\\]\\*\\\\b/, - "description": { - "alias": "string", - "greedy": true, - "inside": { - "language-markdown": { - "inside": undefined, - "lookbehind": true, - "pattern": /\\(\\^"\\(\\?:""\\)\\?\\)\\(\\?!\\\\1\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "handlebars": { + "block": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\(\\?:~\\\\s\\*\\)\\?\\)\\[#\\\\/\\]\\\\S\\+\\?\\(\\?=\\\\s\\*\\(\\?:~\\\\s\\*\\)\\?\\$\\|\\\\s\\)/i, + }, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "brackets": { + "inside": { + "punctuation": /\\\\\\[\\|\\\\\\]/, + "variable": /\\[\\\\s\\\\S\\]\\+/, }, + "pattern": /\\\\\\[\\[\\^\\\\\\]\\]\\+\\\\\\]/, }, - "pattern": /\\(\\?:"""\\(\\?:\\[\\^"\\]\\|\\(\\?!"""\\)"\\)\\*"""\\|"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\)\\(\\?=\\\\s\\*\\[a-z_\\]\\)/i, - }, - "directive": { - "alias": "function", - "pattern": /@\\[a-z_\\]\\\\w\\*/i, - }, - "fragment": { - "alias": "function", - "lookbehind": true, - "pattern": /\\(\\\\bfragment\\\\s\\+\\|\\\\\\.\\{3\\}\\\\s\\*\\(\\?!on\\\\b\\)\\)\\[a-zA-Z_\\]\\\\w\\*/, - }, - "keyword": /\\\\b\\(\\?:directive\\|enum\\|extend\\|fragment\\|implements\\|input\\|interface\\|mutation\\|on\\|query\\|repeatable\\|scalar\\|schema\\|subscription\\|type\\|union\\)\\\\b/, - "number": /\\(\\?:\\\\B-\\|\\\\b\\)\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\\\b/i, - "operator": /\\[!=\\|&\\]\\|\\\\\\.\\{3\\}/, - "punctuation": /\\[!\\(\\)\\{\\}\\\\\\[\\\\\\]:=,\\]/, - "string": { - "greedy": true, - "pattern": /"""\\(\\?:\\[\\^"\\]\\|\\(\\?!"""\\)"\\)\\*"""\\|"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"/, - }, - "variable": /\\\\\\$\\[a-z_\\]\\\\w\\*/i, - }, - "handlebars": { - "block": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\(\\?:~\\\\s\\*\\)\\?\\)\\[#\\\\/\\]\\\\S\\+\\?\\(\\?=\\\\s\\*\\(\\?:~\\\\s\\*\\)\\?\\$\\|\\\\s\\)/i, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "brackets": { - "inside": { - "punctuation": /\\\\\\[\\|\\\\\\]/, - "variable": /\\[\\\\s\\\\S\\]\\+/, + "comment": /\\\\\\{\\\\\\{!\\[\\\\s\\\\S\\]\\*\\?\\\\\\}\\\\\\}/, + "delimiter": { + "alias": "punctuation", + "pattern": /\\^\\\\\\{\\\\\\{\\\\\\{\\?\\|\\\\\\}\\\\\\}\\\\\\}\\?\\$/i, }, - "pattern": /\\\\\\[\\[\\^\\\\\\]\\]\\+\\\\\\]/, + "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\\\d\\+\\)\\?/, + "punctuation": /\\[!"#%&':\\(\\)\\*\\+,\\.\\\\/;<=>@\\\\\\[\\\\\\\\\\\\\\]\\^\`\\{\\|\\}~\\]/, + "string": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "variable": /\\[\\^!"#%&'\\(\\)\\*\\+,\\\\/;<=>@\\\\\\[\\\\\\\\\\\\\\]\\^\`\\{\\|\\}~\\\\s\\]\\+/, }, - "comment": /\\\\\\{\\\\\\{!\\[\\\\s\\\\S\\]\\*\\?\\\\\\}\\\\\\}/, - "delimiter": { - "alias": "punctuation", - "pattern": /\\^\\\\\\{\\\\\\{\\\\\\{\\?\\|\\\\\\}\\\\\\}\\\\\\}\\?\\$/i, - }, - "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\\\d\\+\\)\\?/, - "punctuation": /\\[!"#%&':\\(\\)\\*\\+,\\.\\\\/;<=>@\\\\\\[\\\\\\\\\\\\\\]\\^\`\\{\\|\\}~\\]/, - "string": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - "variable": /\\[\\^!"#%&'\\(\\)\\*\\+,\\\\/;<=>@\\\\\\[\\\\\\\\\\\\\\]\\^\`\\{\\|\\}~\\\\s\\]\\+/, - }, - "html": { - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { - "greedy": true, - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, - }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { - "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + "html": { + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, + "doctype": { + "greedy": true, + "inside": { + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { + "greedy": true, + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + }, + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { + "greedy": true, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + }, }, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, - }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "script": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "script": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { - "greedy": true, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { + "imports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, }, + ], + "maybe-class-name": { "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { - "greedy": true, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { + "imports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, + ], + "maybe-class-name": { "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "comment": [ - { + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - { + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, - }, - "style": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "style": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, - }, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + }, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { - "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], + "attr-value": { + "inside": { + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, - }, - "punctuation": /\\\\/\\?>/, - "style-attr": { - "inside": { - "attr-name": /\\^style/i, - "attr-value": { - "inside": { - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], - "style": { - "alias": "language-css", - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\\\/\\?>/, + "style-attr": { + "inside": { + "attr-name": /\\^style/i, + "attr-value": { + "inside": { + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + "style": { + "alias": "language-css", + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "lookbehind": true, + "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, - }, - "tag": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, + "tag": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, + }, + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, }, + "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, }, - "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, }, - }, - "insertBefore": [Function], - "javascript": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "insertBefore": [Function], + "javascript": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { - "greedy": true, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, + ], + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { + "method": { "alias": [ - "null", - "nil", + "function", + "property-access", ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - }, - "js": { - "arrow": { - "alias": "operator", - "pattern": /=>/, }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "js": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { - "greedy": true, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { + "imports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { + { "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "punctuation": /\\[\\.\\\\\\\\\\]/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - }, - "json": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\.\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - "null": { - "alias": "keyword", - "pattern": /\\\\bnull\\\\b/, - }, - "number": /-\\?\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\\\b/i, - "operator": /:/, - "property": { - "greedy": true, - "pattern": /"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\(\\?=\\\\s\\*:\\)/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\],\\]/, - "string": { - "greedy": true, - "pattern": /"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\(\\?!\\\\s\\*:\\)/, - }, - }, - "jsx": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "json": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\.\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "null": { + "alias": "keyword", + "pattern": /\\\\bnull\\\\b/, }, - ], - "comment": [ - { + "number": /-\\?\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\\\b/i, + "operator": /:/, + "property": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + "pattern": /"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\(\\?=\\\\s\\*:\\)/, }, - { + "punctuation": /\\[\\{\\}\\[\\\\\\],\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "pattern": /"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\(\\?!\\\\s\\*:\\)/, }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { + }, + "jsx": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { "greedy": true, - "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { + { "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "doctype": { + "greedy": true, + "inside": { + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { + "greedy": true, + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + }, + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { + "greedy": true, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + }, + }, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, - }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "script": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-javascript": { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + ], + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "script": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-javascript": { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, }, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, - }, - }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, - }, - }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-javascript": { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, }, "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, + }, + "language-javascript": { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "style": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "style": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, - }, - ], - "case-sensitivity": { - "alias": "keyword", + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, - }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, - }, - }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, + }, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, + }, + "language-css": { + "inside": { + "atrule": { "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { + "keyword": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, + }, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { + "inside": { + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + }, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, - }, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + }, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { - "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], + "attr-value": { + "inside": { + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + }, + "pattern": /=\\(\\?!\\\\\\{\\)\\(\\?:"\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'\\|\\[\\^\\\\s'">\\]\\+\\)/i, }, - "pattern": /=\\(\\?!\\\\\\{\\)\\(\\?:"\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'\\|\\[\\^\\\\s'">\\]\\+\\)/i, - }, - "punctuation": /\\\\/\\?>/, - "script": { - "alias": "language-javascript", - "inside": { - "rest": [Circular], - "script-punctuation": { - "alias": "punctuation", - "pattern": /\\^=\\(\\?=\\{\\)/, + "punctuation": /\\\\/\\?>/, + "script": { + "alias": "language-javascript", + "inside": { + "rest": [Circular], + "script-punctuation": { + "alias": "punctuation", + "pattern": /\\^=\\(\\?=\\{\\)/, + }, }, + "pattern": /=\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\+\\\\\\}\\)/i, }, - "pattern": /=\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\+\\\\\\}\\)/i, - }, - "spread": { - "inside": { - "attr-value": /\\\\w\\+/, - "punctuation": /\\\\\\.\\{3\\}\\|\\[\\{\\}\\.\\]/, + "spread": { + "inside": { + "attr-value": /\\\\w\\+/, + "punctuation": /\\\\\\.\\{3\\}\\|\\[\\{\\}\\.\\]/, + }, + "pattern": /\\\\\\{\\\\s\\*\\\\\\.\\{3\\}\\\\s\\*\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\(\\?:\\\\\\.\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\)\\*\\\\s\\*\\\\\\}/, }, - "pattern": /\\\\\\{\\\\s\\*\\\\\\.\\{3\\}\\\\s\\*\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\(\\?:\\\\\\.\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\)\\*\\\\s\\*\\\\\\}/, - }, - "style-attr": { - "inside": { - "attr-name": /\\^style/i, - "attr-value": { - "inside": { - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], - "style": { - "alias": "language-css", - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "style-attr": { + "inside": { + "attr-name": /\\^style/i, + "attr-value": { + "inside": { + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + "style": { + "alias": "language-css", + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "lookbehind": true, + "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, - }, - "tag": { - "inside": { - "class-name": /\\^\\[A-Z\\]\\\\w\\*\\(\\?:\\\\\\.\\[A-Z\\]\\\\w\\*\\)\\*\\$/, - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, + "tag": { + "inside": { + "class-name": /\\^\\[A-Z\\]\\\\w\\*\\(\\?:\\\\\\.\\[A-Z\\]\\\\w\\*\\)\\*\\$/, + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, + }, + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\*/i, }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\*/i, }, + "pattern": /<\\\\/\\?\\(\\?:\\[\\\\w\\.:-\\]\\+\\(\\?:\\\\s\\+\\(\\?:\\[\\\\w\\.:\\$-\\]\\+\\(\\?:=\\(\\?:"\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'\\|\\[\\^\\\\s\\{'">=\\]\\+\\|\\\\\\{\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\+\\\\\\}\\)\\)\\?\\|\\\\\\{\\\\s\\*\\\\\\.\\{3\\}\\\\s\\*\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\(\\?:\\\\\\.\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\)\\*\\\\s\\*\\\\\\}\\)\\)\\*\\\\s\\*\\\\/\\?\\)\\?>/i, }, - "pattern": /<\\\\/\\?\\(\\?:\\[\\\\w\\.:-\\]\\+\\(\\?:\\\\s\\+\\(\\?:\\[\\\\w\\.:\\$-\\]\\+\\(\\?:=\\(\\?:"\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'\\|\\[\\^\\\\s\\{'">=\\]\\+\\|\\\\\\{\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\+\\\\\\}\\)\\)\\?\\|\\\\\\{\\\\s\\*\\\\\\.\\{3\\}\\\\s\\*\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\(\\?:\\\\\\.\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\)\\*\\\\s\\*\\\\\\}\\)\\)\\*\\\\s\\*\\\\/\\?\\)\\?>/i, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, }, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - }, - "less": { - "atrule": { - "inside": { - "punctuation": /\\[:\\(\\)\\]/, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\{\\}\\]\\|\\\\\\(\\[\\^\\(\\)\\{\\}\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\[\\^\\(\\)\\{\\};\\\\s\\]\\|\\\\s\\+\\(\\?!\\\\s\\)\\)\\*\\?\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "less": { + "atrule": { "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "punctuation": /\\[:\\(\\)\\]/, + }, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\{\\}\\]\\|\\\\\\(\\[\\^\\(\\)\\{\\}\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\[\\^\\(\\)\\{\\};\\\\s\\]\\|\\\\s\\+\\(\\?!\\\\s\\)\\)\\*\\?\\(\\?=\\\\s\\*\\\\\\{\\)/, + }, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": [ + /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\/\\.\\*/, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + ], + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "mixin-usage": { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\[\\{;\\]\\\\s\\*\\)\\[\\.#\\]\\(\\?!\\\\d\\)\\[\\\\w-\\]\\.\\*\\?\\(\\?=\\[\\(;\\]\\)/, }, - ], - "comment": [ - /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - { + "number": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\/\\.\\*/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - ], - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "mixin-usage": { - "alias": "function", - "lookbehind": true, - "pattern": /\\(\\[\\{;\\]\\\\s\\*\\)\\[\\.#\\]\\(\\?!\\\\d\\)\\[\\\\w-\\]\\.\\*\\?\\(\\?=\\[\\(;\\]\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": /\\[\\+\\\\-\\*\\\\/\\]/, - "property": /\\(\\?:@\\\\\\{\\[\\\\w-\\]\\+\\\\\\}\\|\\[\\\\w-\\]\\)\\+\\(\\?:\\\\\\+_\\?\\)\\?\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "variable": /@\\+\\[\\\\w-\\]\\+/, - }, - "pattern": /\\(\\?:@\\\\\\{\\[\\\\w-\\]\\+\\\\\\}\\|\\[\\^\\{\\};\\\\s@\\]\\)\\(\\?:@\\\\\\{\\[\\\\w-\\]\\+\\\\\\}\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\{\\}\\]\\|\\\\\\(\\[\\^\\(\\)\\{\\}\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\[\\^\\(\\)\\{\\};@\\\\s\\]\\|\\\\s\\+\\(\\?!\\\\s\\)\\)\\*\\?\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "operator": /\\[\\+\\\\-\\*\\\\/\\]/, + "property": /\\(\\?:@\\\\\\{\\[\\\\w-\\]\\+\\\\\\}\\|\\[\\\\w-\\]\\)\\+\\(\\?:\\\\\\+_\\?\\)\\?\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "variable": /@\\+\\[\\\\w-\\]\\+/, }, + "pattern": /\\(\\?:@\\\\\\{\\[\\\\w-\\]\\+\\\\\\}\\|\\[\\^\\{\\};\\\\s@\\]\\)\\(\\?:@\\\\\\{\\[\\\\w-\\]\\+\\\\\\}\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\{\\}\\]\\|\\\\\\(\\[\\^\\(\\)\\{\\}\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\[\\^\\(\\)\\{\\};@\\\\s\\]\\|\\\\s\\+\\(\\?!\\\\s\\)\\)\\*\\?\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": [ - { + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, "inside": { - "punctuation": /:/, + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, - "pattern": /@\\[\\\\w-\\]\\+\\\\s\\*:/, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, }, - /@@\\?\\[\\\\w-\\]\\+/, - ], - }, - "makefile": { - "builtin": /\\\\\\.\\[A-Z\\]\\[\\^:#=\\\\s\\]\\+\\(\\?=\\\\s\\*:\\(\\?!=\\)\\)/, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)#\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*/, + "variable": [ + { + "inside": { + "punctuation": /:/, + }, + "pattern": /@\\[\\\\w-\\]\\+\\\\s\\*:/, + }, + /@@\\?\\[\\\\w-\\]\\+/, + ], }, - "keyword": [ - /-include\\\\b\\|\\\\b\\(\\?:define\\|else\\|endef\\|endif\\|export\\|ifn\\?def\\|ifn\\?eq\\|include\\|override\\|private\\|sinclude\\|undefine\\|unexport\\|vpath\\)\\\\b/, - { + "makefile": { + "builtin": /\\\\\\.\\[A-Z\\]\\[\\^:#=\\\\s\\]\\+\\(\\?=\\\\s\\*:\\(\\?!=\\)\\)/, + "comment": { "lookbehind": true, - "pattern": /\\(\\\\\\(\\)\\(\\?:addsuffix\\|abspath\\|and\\|basename\\|call\\|dir\\|error\\|eval\\|file\\|filter\\(\\?:-out\\)\\?\\|findstring\\|firstword\\|flavor\\|foreach\\|guile\\|if\\|info\\|join\\|lastword\\|load\\|notdir\\|or\\|origin\\|patsubst\\|realpath\\|shell\\|sort\\|strip\\|subst\\|suffix\\|value\\|warning\\|wildcard\\|word\\(\\?:s\\|list\\)\\?\\)\\(\\?=\\[ \\\\t\\]\\)/, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)#\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*/, }, - ], - "operator": /\\(\\?:::\\|\\[\\?:\\+!\\]\\)\\?=\\|\\[\\|@\\]/, - "punctuation": /\\[:;\\(\\)\\{\\}\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "symbol": { - "inside": { - "variable": /\\\\\\$\\+\\(\\?:\\(\\?!\\\\\\$\\)\\[\\^\\(\\)\\{\\}:#=\\\\s\\]\\+\\|\\(\\?=\\[\\(\\{\\]\\)\\)/, + "keyword": [ + /-include\\\\b\\|\\\\b\\(\\?:define\\|else\\|endef\\|endif\\|export\\|ifn\\?def\\|ifn\\?eq\\|include\\|override\\|private\\|sinclude\\|undefine\\|unexport\\|vpath\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\)\\(\\?:addsuffix\\|abspath\\|and\\|basename\\|call\\|dir\\|error\\|eval\\|file\\|filter\\(\\?:-out\\)\\?\\|findstring\\|firstword\\|flavor\\|foreach\\|guile\\|if\\|info\\|join\\|lastword\\|load\\|notdir\\|or\\|origin\\|patsubst\\|realpath\\|shell\\|sort\\|strip\\|subst\\|suffix\\|value\\|warning\\|wildcard\\|word\\(\\?:s\\|list\\)\\?\\)\\(\\?=\\[ \\\\t\\]\\)/, + }, + ], + "operator": /\\(\\?:::\\|\\[\\?:\\+!\\]\\)\\?=\\|\\[\\|@\\]/, + "punctuation": /\\[:;\\(\\)\\{\\}\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "pattern": /\\^\\(\\?:\\[\\^:=\\\\s\\]\\|\\[ \\\\t\\]\\+\\(\\?!\\[\\\\s:\\]\\)\\)\\+\\(\\?=\\\\s\\*:\\(\\?!=\\)\\)/m, - }, - "variable": /\\\\\\$\\+\\(\\?:\\(\\?!\\\\\\$\\)\\[\\^\\(\\)\\{\\}:#=\\\\s\\]\\+\\|\\\\\\(\\[@\\*%<\\^\\+\\?\\]\\[DF\\]\\\\\\)\\|\\(\\?=\\[\\(\\{\\]\\)\\)/, - }, - "markdown": { - "blockquote": { - "alias": "punctuation", - "pattern": /\\^>\\(\\?:\\[\\\\t \\]\\*>\\)\\*/m, + "symbol": { + "inside": { + "variable": /\\\\\\$\\+\\(\\?:\\(\\?!\\\\\\$\\)\\[\\^\\(\\)\\{\\}:#=\\\\s\\]\\+\\|\\(\\?=\\[\\(\\{\\]\\)\\)/, + }, + "pattern": /\\^\\(\\?:\\[\\^:=\\\\s\\]\\|\\[ \\\\t\\]\\+\\(\\?!\\[\\\\s:\\]\\)\\)\\+\\(\\?=\\\\s\\*:\\(\\?!=\\)\\)/m, + }, + "variable": /\\\\\\$\\+\\(\\?:\\(\\?!\\\\\\$\\)\\[\\^\\(\\)\\{\\}:#=\\\\s\\]\\+\\|\\\\\\(\\[@\\*%<\\^\\+\\?\\]\\[DF\\]\\\\\\)\\|\\(\\?=\\[\\(\\{\\]\\)\\)/, }, - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], + "markdown": { + "blockquote": { + "alias": "punctuation", + "pattern": /\\^>\\(\\?:\\[\\\\t \\]\\*>\\)\\*/m, + }, + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "strike": [Circular], }, - "strike": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "code": [ - { - "alias": "keyword", "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\\\n\\)\\[ \\\\t\\]\\*\\\\n\\|\\(\\?:\\^\\|\\\\r\\\\n\\?\\)\\[ \\\\t\\]\\*\\\\r\\\\n\\?\\)\\(\\?: \\{4\\}\\|\\\\t\\)\\.\\+\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?: \\{4\\}\\|\\\\t\\)\\.\\+\\)\\*/, - }, - { - "alias": "keyword", - "pattern": /\`\`\\.\\+\\?\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - { + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "code": [ + { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\\\n\\)\\[ \\\\t\\]\\*\\\\n\\|\\(\\?:\\^\\|\\\\r\\\\n\\?\\)\\[ \\\\t\\]\\*\\\\r\\\\n\\?\\)\\(\\?: \\{4\\}\\|\\\\t\\)\\.\\+\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?: \\{4\\}\\|\\\\t\\)\\.\\+\\)\\*/, + }, + { + "alias": "keyword", + "pattern": /\`\`\\.\\+\\?\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`/, + }, + { + "greedy": true, + "inside": { + "code-block": { + "lookbehind": true, + "pattern": /\\^\\(\`\`\`\\.\\*\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\^\`\`\`\\$\\)/m, + }, + "code-language": { + "lookbehind": true, + "pattern": /\\^\\(\`\`\`\\)\\.\\+/, + }, + "punctuation": /\`\`\`/, + }, + "pattern": /\\^\`\`\`\\[\\\\s\\\\S\\]\\*\\?\\^\`\`\`\\$/m, + }, + ], + "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, + "doctype": { "greedy": true, "inside": { - "code-block": { + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { + "greedy": true, + "inside": [Circular], "lookbehind": true, - "pattern": /\\^\\(\`\`\`\\.\\*\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\^\`\`\`\\$\\)/m, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, }, - "code-language": { - "lookbehind": true, - "pattern": /\\^\\(\`\`\`\\)\\.\\+/, + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { + "greedy": true, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, }, - "punctuation": /\`\`\`/, }, - "pattern": /\\^\`\`\`\\[\\\\s\\\\S\\]\\*\\?\\^\`\`\`\\$/m, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, }, - ], - "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { - "greedy": true, - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { - "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "front-matter-block": { + "greedy": true, + "inside": { + "font-matter": { + "alias": [ + "yaml", + "language-yaml", + ], + "inside": undefined, + "pattern": /\\\\S\\+\\(\\?:\\\\s\\+\\\\S\\+\\)\\*/, + }, + "punctuation": /\\^---\\|---\\$/, }, + "lookbehind": true, + "pattern": /\\(\\^\\(\\?:\\\\s\\*\\[\\\\r\\\\n\\]\\)\\?\\)---\\(\\?!\\.\\)\\[\\\\s\\\\S\\]\\*\\?\\[\\\\r\\\\n\\]---\\(\\?!\\.\\)/, }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, - }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "front-matter-block": { - "greedy": true, - "inside": { - "font-matter": { - "alias": [ - "yaml", - "language-yaml", - ], - "inside": undefined, - "pattern": /\\\\S\\+\\(\\?:\\\\s\\+\\\\S\\+\\)\\*/, - }, - "punctuation": /\\^---\\|---\\$/, + "hr": { + "alias": "punctuation", + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)\\(\\[\\*-\\]\\)\\(\\?:\\[\\\\t \\]\\*\\\\2\\)\\{2,\\}\\(\\?=\\\\s\\*\\$\\)/m, }, - "lookbehind": true, - "pattern": /\\(\\^\\(\\?:\\\\s\\*\\[\\\\r\\\\n\\]\\)\\?\\)---\\(\\?!\\.\\)\\[\\\\s\\\\S\\]\\*\\?\\[\\\\r\\\\n\\]---\\(\\?!\\.\\)/, - }, - "hr": { - "alias": "punctuation", - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)\\(\\[\\*-\\]\\)\\(\\?:\\[\\\\t \\]\\*\\\\2\\)\\{2,\\}\\(\\?=\\\\s\\*\\$\\)/m, - }, - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, - }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "italic": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + }, + "punctuation": /\\\\\\*\\\\\\*\\|__/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + }, + "italic": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + "italic": [Circular], + "strike": [Circular], }, - "italic": [Circular], - "strike": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + "italic": [Circular], + "url": [Circular], }, - "italic": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, - }, - "punctuation": /\\[\\*_\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "list": { - "alias": "punctuation", - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)\\(\\?:\\[\\*\\+-\\]\\|\\\\d\\+\\\\\\.\\)\\(\\?=\\[\\\\t \\]\\.\\)/m, - }, - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "script": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, }, "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, }, - { + "operator": /\\^!/, + "string": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, }, - ], - "comment": [ - { - "greedy": true, + "url": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, }, - { - "greedy": true, + "variable": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + }, + "punctuation": /\\[\\*_\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + }, + "list": { + "alias": "punctuation", + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)\\(\\?:\\[\\*\\+-\\]\\|\\\\d\\+\\\\\\.\\)\\(\\?=\\[\\\\t \\]\\.\\)/m, + }, + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "script": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { - "greedy": true, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { + "imports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, - }, - }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, - }, - }, - "lookbehind": true, - "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], + "punctuation": /\\[\\.\\\\\\\\\\]/, }, "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, }, - "operator": /\\^!/, - "string": { + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, }, - "url": { + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, }, - "variable": { + { "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, - }, - "punctuation": /\\[\\*_\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], + "punctuation": /\\[\\.\\\\\\\\\\]/, }, "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, - "punctuation": /\\[\\*_\\]/, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, - "strike": [Circular], }, "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "operator": /\\^!/, "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], + "pattern": /\\[\\\\s\\\\S\\]\\+/, + }, + }, + "lookbehind": true, + "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, + }, + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + }, + "punctuation": /\\[\\*_\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + }, + "strike": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + }, + "punctuation": /\\[\\*_\\]/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, + "strike": [Circular], }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + }, + "punctuation": /\\\\\\*\\\\\\*\\|__/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + }, + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "italic": [Circular], - "strike": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + }, + "strike": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + }, + "punctuation": /\\\\\\*\\\\\\*\\|__/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + }, + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + }, + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "strike": [Circular], + "url": [Circular], }, - "strike": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + "strike": [Circular], + "url": [Circular], }, - "strike": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "strike": [Circular], }, - "strike": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - "style": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "style": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, - }, - ], - "case-sensitivity": { - "alias": "keyword", + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, - }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, - }, - }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, + }, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, + }, + "language-css": { + "inside": { + "atrule": { "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { + "keyword": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, + }, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { + "inside": { + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + }, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, - }, - "table": { - "inside": { - "table-data-rows": { - "inside": { - "punctuation": /\\\\\\|/, - "table-data": { - "inside": [Circular], - "pattern": /\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+/, + "table": { + "inside": { + "table-data-rows": { + "inside": { + "punctuation": /\\\\\\|/, + "table-data": { + "inside": [Circular], + "pattern": /\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+/, + }, }, + "lookbehind": true, + "pattern": /\\^\\(\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\)\\(\\?:\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\*\\$/, }, - "lookbehind": true, - "pattern": /\\^\\(\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\)\\(\\?:\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\*\\$/, - }, - "table-header-row": { - "inside": { - "punctuation": /\\\\\\|/, - "table-header": { - "alias": "important", - "inside": [Circular], - "pattern": /\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+/, + "table-header-row": { + "inside": { + "punctuation": /\\\\\\|/, + "table-header": { + "alias": "important", + "inside": [Circular], + "pattern": /\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+/, + }, }, + "pattern": /\\^\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\$/, }, - "pattern": /\\^\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\$/, - }, - "table-line": { - "inside": { - "punctuation": /\\\\\\|\\|:\\?-\\{3,\\}:\\?/, + "table-line": { + "inside": { + "punctuation": /\\\\\\|\\|:\\?-\\{3,\\}:\\?/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\$/, }, - "lookbehind": true, - "pattern": /\\^\\(\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\$/, }, + "pattern": /\\^\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?:\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\*/m, }, - "pattern": /\\^\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?:\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\*/m, - }, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + }, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { - "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], + "attr-value": { + "inside": { + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, - }, - "punctuation": /\\\\/\\?>/, - "style-attr": { - "inside": { - "attr-name": /\\^style/i, - "attr-value": { - "inside": { - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], - "style": { - "alias": "language-css", - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\\\/\\?>/, + "style-attr": { + "inside": { + "attr-name": /\\^style/i, + "attr-value": { + "inside": { + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + "style": { + "alias": "language-css", + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "lookbehind": true, + "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, + }, + "tag": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, + }, + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, }, - "tag": { + "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, + }, + "title": [ + { + "alias": "important", "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, + "punctuation": /==\\+\\$\\|--\\+\\$/, }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, + "pattern": /\\\\S\\.\\*\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?:==\\+\\|--\\+\\)\\(\\?=\\[ \\\\t\\]\\*\\$\\)/m, }, - }, - "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, - }, - "title": [ - { - "alias": "important", - "inside": { - "punctuation": /==\\+\\$\\|--\\+\\$/, + { + "alias": "important", + "inside": { + "punctuation": /\\^#\\+\\|#\\+\\$/, + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)#\\.\\+/m, }, - "pattern": /\\\\S\\.\\*\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?:==\\+\\|--\\+\\)\\(\\?=\\[ \\\\t\\]\\*\\$\\)/m, - }, - { - "alias": "important", + ], + "url": { + "greedy": true, "inside": { - "punctuation": /\\^#\\+\\|#\\+\\$/, - }, - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)#\\.\\+/m, - }, - ], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + "italic": [Circular], + "url": [Circular], }, - "italic": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "strike": [Circular], + "url": [Circular], }, - "strike": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + }, + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + "strike": [Circular], + "url": [Circular], }, - "strike": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, - }, - "url-reference": { - "alias": "url", - "inside": { - "punctuation": /\\^\\[\\\\\\[\\\\\\]!:\\]\\|\\[<>\\]/, - "string": /\\(\\?:"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\.\\|\\[\\^'\\\\\\\\\\]\\)\\*'\\|\\\\\\(\\(\\?:\\\\\\\\\\.\\|\\[\\^\\)\\\\\\\\\\]\\)\\*\\\\\\)\\)\\$/, - "variable": { - "lookbehind": true, - "pattern": /\\^\\(!\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+/, + "url-reference": { + "alias": "url", + "inside": { + "punctuation": /\\^\\[\\\\\\[\\\\\\]!:\\]\\|\\[<>\\]/, + "string": /\\(\\?:"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\.\\|\\[\\^'\\\\\\\\\\]\\)\\*'\\|\\\\\\(\\(\\?:\\\\\\\\\\.\\|\\[\\^\\)\\\\\\\\\\]\\)\\*\\\\\\)\\)\\$/, + "variable": { + "lookbehind": true, + "pattern": /\\^\\(!\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+/, + }, }, + "pattern": /!\\?\\\\\\[\\[\\^\\\\\\]\\]\\+\\\\\\]:\\[\\\\t \\]\\+\\(\\?:\\\\S\\+\\|<\\(\\?:\\\\\\\\\\.\\|\\[\\^>\\\\\\\\\\]\\)\\+>\\)\\(\\?:\\[\\\\t \\]\\+\\(\\?:"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\.\\|\\[\\^'\\\\\\\\\\]\\)\\*'\\|\\\\\\(\\(\\?:\\\\\\\\\\.\\|\\[\\^\\)\\\\\\\\\\]\\)\\*\\\\\\)\\)\\)\\?/, }, - "pattern": /!\\?\\\\\\[\\[\\^\\\\\\]\\]\\+\\\\\\]:\\[\\\\t \\]\\+\\(\\?:\\\\S\\+\\|<\\(\\?:\\\\\\\\\\.\\|\\[\\^>\\\\\\\\\\]\\)\\+>\\)\\(\\?:\\[\\\\t \\]\\+\\(\\?:"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\.\\|\\[\\^'\\\\\\\\\\]\\)\\*'\\|\\\\\\(\\(\\?:\\\\\\\\\\.\\|\\[\\^\\)\\\\\\\\\\]\\)\\*\\\\\\)\\)\\)\\?/, }, - }, - "markup": { - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { - "greedy": true, - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, - }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { - "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + "markup": { + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, + "doctype": { + "greedy": true, + "inside": { + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { + "greedy": true, + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + }, + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { + "greedy": true, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + }, }, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, - }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "script": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "script": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - ], - "known-class-name": [ - { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, }, + ], + "maybe-class-name": { "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "comment": [ - { + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, - }, - }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, }, "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, + }, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, + }, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, + }, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, }, + ], + "maybe-class-name": { "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, - }, - "style": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "style": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, - }, - ], - "case-sensitivity": { - "alias": "keyword", + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, - }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, - }, - }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, + }, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, + }, + "language-css": { + "inside": { + "atrule": { "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { + "keyword": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, + }, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { + "inside": { + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + }, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, - }, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + }, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { - "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], + "attr-value": { + "inside": { + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, - }, - "punctuation": /\\\\/\\?>/, - "style-attr": { - "inside": { - "attr-name": /\\^style/i, - "attr-value": { - "inside": { - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], - "style": { - "alias": "language-css", - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\\\/\\?>/, + "style-attr": { + "inside": { + "attr-name": /\\^style/i, + "attr-value": { + "inside": { + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + "style": { + "alias": "language-css", + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, + }, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, - }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "lookbehind": true, + "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, - }, - "tag": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, + "tag": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, + }, + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, }, + "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, }, - "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, }, - }, - "markup-templating": {}, - "mathml": { - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { - "greedy": true, - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, - }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { - "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + "markup-templating": {}, + "mathml": { + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, + "doctype": { + "greedy": true, + "inside": { + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { + "greedy": true, + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + }, + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { + "greedy": true, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + }, }, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, - }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "script": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "script": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { - "greedy": true, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { + "imports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, + ], + "maybe-class-name": { "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "comment": [ - { + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - { + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { - "greedy": true, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { + "imports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, }, + ], + "maybe-class-name": { "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "comment": [ - { + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - { + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, - }, - "style": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "style": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + }, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + "lookbehind": true, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + }, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, + }, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, }, + ], + "case-sensitivity": { + "alias": "keyword", "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, }, - { + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, + }, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { + "inside": { + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + }, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, + }, + }, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, + }, + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, - "url": { - "greedy": true, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, + }, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, - }, - }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, - }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, - }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { + "namespace": { "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + "punctuation": /\\\\\\|\\$/, }, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, - }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { + "inside": { + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, - ], - "case-sensitivity": { - "alias": "keyword", "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, + { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, - }, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + }, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { - "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], + "attr-value": { + "inside": { + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, - }, - "punctuation": /\\\\/\\?>/, - "style-attr": { - "inside": { - "attr-name": /\\^style/i, - "attr-value": { - "inside": { - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], - "style": { - "alias": "language-css", - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\\\/\\?>/, + "style-attr": { + "inside": { + "attr-name": /\\^style/i, + "attr-value": { + "inside": { + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + "style": { + "alias": "language-css", + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "lookbehind": true, + "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, - }, - "tag": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, + "tag": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, + }, + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, }, + "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, }, - "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, - }, - }, - "md": { - "blockquote": { - "alias": "punctuation", - "pattern": /\\^>\\(\\?:\\[\\\\t \\]\\*>\\)\\*/m, }, - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], + "md": { + "blockquote": { + "alias": "punctuation", + "pattern": /\\^>\\(\\?:\\[\\\\t \\]\\*>\\)\\*/m, + }, + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "strike": [Circular], }, - "strike": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "code": [ - { - "alias": "keyword", "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\\\n\\)\\[ \\\\t\\]\\*\\\\n\\|\\(\\?:\\^\\|\\\\r\\\\n\\?\\)\\[ \\\\t\\]\\*\\\\r\\\\n\\?\\)\\(\\?: \\{4\\}\\|\\\\t\\)\\.\\+\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?: \\{4\\}\\|\\\\t\\)\\.\\+\\)\\*/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - { - "alias": "keyword", - "pattern": /\`\`\\.\\+\\?\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`/, - }, - { + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "code": [ + { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\\\n\\)\\[ \\\\t\\]\\*\\\\n\\|\\(\\?:\\^\\|\\\\r\\\\n\\?\\)\\[ \\\\t\\]\\*\\\\r\\\\n\\?\\)\\(\\?: \\{4\\}\\|\\\\t\\)\\.\\+\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?: \\{4\\}\\|\\\\t\\)\\.\\+\\)\\*/, + }, + { + "alias": "keyword", + "pattern": /\`\`\\.\\+\\?\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`/, + }, + { + "greedy": true, + "inside": { + "code-block": { + "lookbehind": true, + "pattern": /\\^\\(\`\`\`\\.\\*\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\^\`\`\`\\$\\)/m, + }, + "code-language": { + "lookbehind": true, + "pattern": /\\^\\(\`\`\`\\)\\.\\+/, + }, + "punctuation": /\`\`\`/, + }, + "pattern": /\\^\`\`\`\\[\\\\s\\\\S\\]\\*\\?\\^\`\`\`\\$/m, + }, + ], + "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, + "doctype": { "greedy": true, "inside": { - "code-block": { + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { + "greedy": true, + "inside": [Circular], "lookbehind": true, - "pattern": /\\^\\(\`\`\`\\.\\*\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\^\`\`\`\\$\\)/m, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, }, - "code-language": { - "lookbehind": true, - "pattern": /\\^\\(\`\`\`\\)\\.\\+/, + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { + "greedy": true, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, }, - "punctuation": /\`\`\`/, }, - "pattern": /\\^\`\`\`\\[\\\\s\\\\S\\]\\*\\?\\^\`\`\`\\$/m, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, }, - ], - "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { - "greedy": true, - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { - "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "front-matter-block": { + "greedy": true, + "inside": { + "font-matter": { + "alias": [ + "yaml", + "language-yaml", + ], + "inside": undefined, + "pattern": /\\\\S\\+\\(\\?:\\\\s\\+\\\\S\\+\\)\\*/, + }, + "punctuation": /\\^---\\|---\\$/, }, + "lookbehind": true, + "pattern": /\\(\\^\\(\\?:\\\\s\\*\\[\\\\r\\\\n\\]\\)\\?\\)---\\(\\?!\\.\\)\\[\\\\s\\\\S\\]\\*\\?\\[\\\\r\\\\n\\]---\\(\\?!\\.\\)/, }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, - }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "front-matter-block": { - "greedy": true, - "inside": { - "font-matter": { - "alias": [ - "yaml", - "language-yaml", - ], - "inside": undefined, - "pattern": /\\\\S\\+\\(\\?:\\\\s\\+\\\\S\\+\\)\\*/, - }, - "punctuation": /\\^---\\|---\\$/, + "hr": { + "alias": "punctuation", + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)\\(\\[\\*-\\]\\)\\(\\?:\\[\\\\t \\]\\*\\\\2\\)\\{2,\\}\\(\\?=\\\\s\\*\\$\\)/m, }, - "lookbehind": true, - "pattern": /\\(\\^\\(\\?:\\\\s\\*\\[\\\\r\\\\n\\]\\)\\?\\)---\\(\\?!\\.\\)\\[\\\\s\\\\S\\]\\*\\?\\[\\\\r\\\\n\\]---\\(\\?!\\.\\)/, - }, - "hr": { - "alias": "punctuation", - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)\\(\\[\\*-\\]\\)\\(\\?:\\[\\\\t \\]\\*\\\\2\\)\\{2,\\}\\(\\?=\\\\s\\*\\$\\)/m, - }, - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "italic": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], + "italic": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + "italic": [Circular], + "strike": [Circular], }, - "italic": [Circular], - "strike": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], - }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, - }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + }, + "punctuation": /\\\\\\*\\\\\\*\\|__/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + }, + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + "italic": [Circular], + "url": [Circular], }, - "italic": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, - }, - "punctuation": /\\[\\*_\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "list": { - "alias": "punctuation", - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)\\(\\?:\\[\\*\\+-\\]\\|\\\\d\\+\\\\\\.\\)\\(\\?=\\[\\\\t \\]\\.\\)/m, - }, - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "script": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, }, "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, }, - { + "operator": /\\^!/, + "string": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, }, - ], - "comment": [ - { - "greedy": true, + "url": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, }, - { - "greedy": true, + "variable": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + }, + "punctuation": /\\[\\*_\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + }, + "list": { + "alias": "punctuation", + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)\\(\\?:\\[\\*\\+-\\]\\|\\\\d\\+\\\\\\.\\)\\(\\?=\\[\\\\t \\]\\.\\)/m, + }, + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "script": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, }, + ], + "maybe-class-name": { "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { - "greedy": true, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { + "imports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, + ], + "maybe-class-name": { "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, + }, + }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, + }, + }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, + }, + }, + "lookbehind": true, + "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, + }, + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": { "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + }, + }, "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + }, + "punctuation": /\\[\\*_\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + }, + "strike": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + }, + "punctuation": /\\[\\*_\\]/, + }, "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "strike": [Circular], }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + }, + "punctuation": /\\\\\\*\\\\\\*\\|__/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + }, + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { "greedy": true, "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, + }, + }, "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "string": { + "strike": [Circular], + "url": { "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + }, + "punctuation": /\\\\\\*\\\\\\*\\|__/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + }, + "italic": [Circular], + "strike": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, + "punctuation": /\\[\\*_\\]/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, - }, - }, - "lookbehind": true, - "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], + "url": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, + "strike": [Circular], + "url": [Circular], }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "strike": [Circular], + "url": [Circular], }, - "strike": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, + "strike": [Circular], }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, + }, + "operator": /\\^!/, + "string": { + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + }, + "url": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "strike": [Circular], - }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + }, + "punctuation": /~~\\?/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + }, + "style": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, - }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "strike": [Circular], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], - }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, - }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "italic": [Circular], - "strike": [Circular], - }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + }, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, }, - "url": { + "lookbehind": true, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + }, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, + }, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "variable": { + "punctuation": /\\[\\(\\),\\]/, + "unit": { "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, - }, - "punctuation": /\\[\\*_\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], - }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, - }, - "punctuation": /\\[\\*_\\]/, - }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, }, - "strike": [Circular], - "url": [Circular], + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "italic": { - "greedy": true, - "inside": { - "content": { + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], - }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, - }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "strike": [Circular], - "url": [Circular], + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "punctuation": /\\[\\*_\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, + }, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "strike": [Circular], + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, }, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, - }, - "punctuation": /~~\\?/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - "style": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, - }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, - }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { + "namespace": { "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + "punctuation": /\\\\\\|\\$/, }, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, - }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { + "inside": { + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, - ], - "case-sensitivity": { - "alias": "keyword", "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, + { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + "lookbehind": true, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, - "url": { - "greedy": true, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, + }, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, - }, - }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, - }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, - }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { + "namespace": { "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + "punctuation": /\\\\\\|\\$/, }, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, - }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { + "inside": { + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, - ], - "case-sensitivity": { - "alias": "keyword", "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, + { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, - }, - "table": { - "inside": { - "table-data-rows": { - "inside": { - "punctuation": /\\\\\\|/, - "table-data": { - "inside": [Circular], - "pattern": /\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+/, + "table": { + "inside": { + "table-data-rows": { + "inside": { + "punctuation": /\\\\\\|/, + "table-data": { + "inside": [Circular], + "pattern": /\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+/, + }, }, + "lookbehind": true, + "pattern": /\\^\\(\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\)\\(\\?:\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\*\\$/, }, - "lookbehind": true, - "pattern": /\\^\\(\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\)\\(\\?:\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\*\\$/, - }, - "table-header-row": { - "inside": { - "punctuation": /\\\\\\|/, - "table-header": { - "alias": "important", - "inside": [Circular], - "pattern": /\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+/, + "table-header-row": { + "inside": { + "punctuation": /\\\\\\|/, + "table-header": { + "alias": "important", + "inside": [Circular], + "pattern": /\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+/, + }, }, + "pattern": /\\^\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\$/, }, - "pattern": /\\^\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\$/, - }, - "table-line": { - "inside": { - "punctuation": /\\\\\\|\\|:\\?-\\{3,\\}:\\?/, + "table-line": { + "inside": { + "punctuation": /\\\\\\|\\|:\\?-\\{3,\\}:\\?/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\$/, }, - "lookbehind": true, - "pattern": /\\^\\(\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\$/, }, + "pattern": /\\^\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?:\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\*/m, }, - "pattern": /\\^\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\\\\\|\\?\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\(\\?:\\\\\\|\\[ \\\\t\\]\\*:\\?-\\{3,\\}:\\?\\[ \\\\t\\]\\*\\)\\+\\\\\\|\\?\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?:\\\\\\|\\?\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\(\\?:\\\\\\|\\(\\?:\\\\\\\\\\.\\|\`\`\\(\\?:\\[\\^\`\\\\r\\\\n\\]\\|\`\\(\\?!\`\\)\\)\\+\`\`\\|\`\\[\\^\`\\\\r\\\\n\\]\\+\`\\|\\[\\^\\\\\\\\\\|\\\\r\\\\n\`\\]\\)\\+\\)\\+\\\\\\|\\?\\(\\?:\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\|\\(\\?!\\[\\\\s\\\\S\\]\\)\\)\\)\\*/m, - }, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + }, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { - "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], + "attr-value": { + "inside": { + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, - }, - "punctuation": /\\\\/\\?>/, - "style-attr": { - "inside": { - "attr-name": /\\^style/i, - "attr-value": { - "inside": { - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], - "style": { - "alias": "language-css", - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\\\/\\?>/, + "style-attr": { + "inside": { + "attr-name": /\\^style/i, + "attr-value": { + "inside": { + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + "style": { + "alias": "language-css", + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, + }, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, - }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "lookbehind": true, + "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, + }, + "tag": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, + }, + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, }, - "tag": { + "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, + }, + "title": [ + { + "alias": "important", "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, + "punctuation": /==\\+\\$\\|--\\+\\$/, }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, + "pattern": /\\\\S\\.\\*\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?:==\\+\\|--\\+\\)\\(\\?=\\[ \\\\t\\]\\*\\$\\)/m, }, - }, - "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, - }, - "title": [ - { - "alias": "important", - "inside": { - "punctuation": /==\\+\\$\\|--\\+\\$/, + { + "alias": "important", + "inside": { + "punctuation": /\\^#\\+\\|#\\+\\$/, + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)#\\.\\+/m, }, - "pattern": /\\\\S\\.\\*\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?:==\\+\\|--\\+\\)\\(\\?=\\[ \\\\t\\]\\*\\$\\)/m, - }, - { - "alias": "important", + ], + "url": { + "greedy": true, "inside": { - "punctuation": /\\^#\\+\\|#\\+\\$/, - }, - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)#\\.\\+/m, - }, - ], - "url": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "italic": [Circular], - "url": [Circular], + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "italic": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + "italic": [Circular], + "url": [Circular], }, - "italic": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + "punctuation": /~~\\?/, }, - "punctuation": /~~\\?/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + "url": [Circular], }, - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "strike": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": [Circular], - "strike": [Circular], - "url": [Circular], - }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, - }, - "punctuation": /\\[\\*_\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "strike": [Circular], - "url": [Circular], - }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, - }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, - }, - "italic": { - "greedy": true, - "inside": { - "content": { - "inside": { - "bold": { - "greedy": true, - "inside": { - "content": { - "inside": { - "italic": [Circular], - "strike": [Circular], - "url": [Circular], + "strike": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + "punctuation": /\\[\\*_\\]/, }, - "punctuation": /\\\\\\*\\\\\\*\\|__/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + "strike": [Circular], + "url": [Circular], }, - "strike": [Circular], - "url": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + "punctuation": /\\\\\\*\\\\\\*\\|__/, }, - "punctuation": /\\[\\*_\\]/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, - }, - "url": [Circular], - }, - "lookbehind": true, - "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, - }, - "punctuation": /~~\\?/, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, - }, - "operator": /\\^!/, - "string": { - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, - }, - "url": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, - }, - "url-reference": { - "alias": "url", - "inside": { - "punctuation": /\\^\\[\\\\\\[\\\\\\]!:\\]\\|\\[<>\\]/, - "string": /\\(\\?:"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\.\\|\\[\\^'\\\\\\\\\\]\\)\\*'\\|\\\\\\(\\(\\?:\\\\\\\\\\.\\|\\[\\^\\)\\\\\\\\\\]\\)\\*\\\\\\)\\)\\$/, - "variable": { - "lookbehind": true, - "pattern": /\\^\\(!\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+/, - }, - }, - "pattern": /!\\?\\\\\\[\\[\\^\\\\\\]\\]\\+\\\\\\]:\\[\\\\t \\]\\+\\(\\?:\\\\S\\+\\|<\\(\\?:\\\\\\\\\\.\\|\\[\\^>\\\\\\\\\\]\\)\\+>\\)\\(\\?:\\[\\\\t \\]\\+\\(\\?:"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\.\\|\\[\\^'\\\\\\\\\\]\\)\\*'\\|\\\\\\(\\(\\?:\\\\\\\\\\.\\|\\[\\^\\)\\\\\\\\\\]\\)\\*\\\\\\)\\)\\)\\?/, - }, - }, - "objc": { - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "constant": /\\\\b\\(\\?:__FILE__\\|__LINE__\\|__DATE__\\|__TIME__\\|__TIMESTAMP__\\|__func__\\|EOF\\|NULL\\|SEEK_CUR\\|SEEK_END\\|SEEK_SET\\|stdin\\|stdout\\|stderr\\)\\\\b/, - "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, - "keyword": /\\\\b\\(\\?:asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\|in\\|self\\|super\\)\\\\b\\|\\(\\?:@interface\\|@end\\|@implementation\\|@protocol\\|@class\\|@public\\|@protected\\|@private\\|@property\\|@try\\|@catch\\|@finally\\|@throw\\|@synthesize\\|@dynamic\\|@selector\\)\\\\b/, - "macro": { - "alias": "property", - "greedy": true, - "inside": { - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "directive": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\^\\(#\\\\s\\*\\)\\[a-z\\]\\+/, - }, - "directive-hash": /\\^#/, - "expression": { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": { - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, - }, - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, - "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, - "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, - "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "italic": { + "greedy": true, + "inside": { + "content": { + "inside": { + "bold": { + "greedy": true, + "inside": { + "content": { + "inside": { + "italic": [Circular], + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\.\\$\\)/, + }, + "punctuation": /\\\\\\*\\\\\\*\\|__/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+_\\)\\+__\\\\b\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\)\\+\\\\\\*\\\\\\*\\)/, + }, + "strike": [Circular], + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\.\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\.\\$\\)/, + }, + "punctuation": /\\[\\*_\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\\\b_\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|__\\(\\?:\\(\\?!_\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+__\\)\\+_\\\\b\\|\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\|\\\\\\*\\\\\\*\\(\\?:\\(\\?!\\\\\\*\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\*\\\\\\*\\)\\+\\\\\\*\\)/, + }, + "url": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^~~\\?\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\1\\$\\)/, + }, + "punctuation": /~~\\?/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:\\(~~\\?\\)\\(\\?:\\(\\?!~\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\?\\\\2\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\)/, }, - "pattern": /\\\\S\\[\\\\s\\\\S\\]\\*/, - }, - "macro-name": [ - { + "operator": /\\^!/, + "string": { "lookbehind": true, - "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?!\\\\\\(\\)/i, + "pattern": /\\(\\^\\[ \\\\t\\]\\+\\)"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\(\\?=\\\\\\)\\$\\)/, }, - { - "alias": "function", + "url": { "lookbehind": true, - "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?=\\\\\\(\\)/i, + "pattern": /\\(\\^\\\\\\]\\\\\\(\\)\\[\\^\\\\s\\)\\]\\+/, }, - ], - "punctuation": /##\\|\\\\\\\\\\(\\?=\\[\\\\r\\\\n\\]\\)/, - "string": [ - { + "variable": { "lookbehind": true, - "pattern": /\\^\\(#\\\\s\\*include\\\\s\\*\\)<\\[\\^>\\]\\+>/, + "pattern": /\\(\\^\\\\\\]\\[ \\\\t\\]\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+\\(\\?=\\\\\\]\\$\\)/, }, - { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\(\\?:!\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\(\\?:\\\\\\(\\[\\^\\\\s\\)\\]\\+\\(\\?:\\[\\\\t \\]\\+"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\)\\?\\\\\\)\\|\\[ \\\\t\\]\\?\\\\\\[\\(\\?:\\(\\?!\\\\\\]\\)\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\n\\\\r\\]\\|\\(\\?:\\\\n\\|\\\\r\\\\n\\?\\)\\(\\?!\\\\n\\|\\\\r\\\\n\\?\\)\\)\\)\\+\\\\\\]\\)\\)/, + }, + "url-reference": { + "alias": "url", + "inside": { + "punctuation": /\\^\\[\\\\\\[\\\\\\]!:\\]\\|\\[<>\\]/, + "string": /\\(\\?:"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\.\\|\\[\\^'\\\\\\\\\\]\\)\\*'\\|\\\\\\(\\(\\?:\\\\\\\\\\.\\|\\[\\^\\)\\\\\\\\\\]\\)\\*\\\\\\)\\)\\$/, + "variable": { + "lookbehind": true, + "pattern": /\\^\\(!\\?\\\\\\[\\)\\[\\^\\\\\\]\\]\\+/, }, - ], + }, + "pattern": /!\\?\\\\\\[\\[\\^\\\\\\]\\]\\+\\\\\\]:\\[\\\\t \\]\\+\\(\\?:\\\\S\\+\\|<\\(\\?:\\\\\\\\\\.\\|\\[\\^>\\\\\\\\\\]\\)\\+>\\)\\(\\?:\\[\\\\t \\]\\+\\(\\?:"\\(\\?:\\\\\\\\\\.\\|\\[\\^"\\\\\\\\\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\.\\|\\[\\^'\\\\\\\\\\]\\)\\*'\\|\\\\\\(\\(\\?:\\\\\\\\\\.\\|\\[\\^\\)\\\\\\\\\\]\\)\\*\\\\\\)\\)\\)\\?/, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)#\\\\s\\*\\[a-z\\]\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\/\\]\\|\\\\/\\(\\?!\\\\\\*\\)\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*/im, - }, - "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, - "operator": /-\\[->\\]\\?\\|\\\\\\+\\\\\\+\\?\\|!=\\?\\|<<\\?=\\?\\|>>\\?=\\?\\|==\\?\\|&&\\?\\|\\\\\\|\\\\\\|\\?\\|\\[~\\^%\\?\\*\\\\/@\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|@"\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\)\\*"/, - }, - "objectivec": { - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - "constant": /\\\\b\\(\\?:__FILE__\\|__LINE__\\|__DATE__\\|__TIME__\\|__TIMESTAMP__\\|__func__\\|EOF\\|NULL\\|SEEK_CUR\\|SEEK_END\\|SEEK_SET\\|stdin\\|stdout\\|stderr\\)\\\\b/, - "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, - "keyword": /\\\\b\\(\\?:asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\|in\\|self\\|super\\)\\\\b\\|\\(\\?:@interface\\|@end\\|@implementation\\|@protocol\\|@class\\|@public\\|@protected\\|@private\\|@property\\|@try\\|@catch\\|@finally\\|@throw\\|@synthesize\\|@dynamic\\|@selector\\)\\\\b/, - "macro": { - "alias": "property", - "greedy": true, - "inside": { - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "directive": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\^\\(#\\\\s\\*\\)\\[a-z\\]\\+/, - }, - "directive-hash": /\\^#/, - "expression": { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": { + "objc": { + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + "constant": /\\\\b\\(\\?:__FILE__\\|__LINE__\\|__DATE__\\|__TIME__\\|__TIMESTAMP__\\|__func__\\|EOF\\|NULL\\|SEEK_CUR\\|SEEK_END\\|SEEK_SET\\|stdin\\|stdout\\|stderr\\)\\\\b/, + "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, + "keyword": /\\\\b\\(\\?:asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\|in\\|self\\|super\\)\\\\b\\|\\(\\?:@interface\\|@end\\|@implementation\\|@protocol\\|@class\\|@public\\|@protected\\|@private\\|@property\\|@try\\|@catch\\|@finally\\|@throw\\|@synthesize\\|@dynamic\\|@selector\\)\\\\b/, + "macro": { + "alias": "property", + "greedy": true, + "inside": { + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + "directive": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\^\\(#\\\\s\\*\\)\\[a-z\\]\\+/, + }, + "directive-hash": /\\^#/, + "expression": { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": { + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, + }, + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, + "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, + "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, + "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "pattern": /\\\\S\\[\\\\s\\\\S\\]\\*/, + }, + "macro-name": [ + { "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, + "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?!\\\\\\(\\)/i, }, - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?=\\\\\\(\\)/i, }, - "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, - "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, - "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, - "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { + ], + "punctuation": /##\\|\\\\\\\\\\(\\?=\\[\\\\r\\\\n\\]\\)/, + "string": [ + { + "lookbehind": true, + "pattern": /\\^\\(#\\\\s\\*include\\\\s\\*\\)<\\[\\^>\\]\\+>/, + }, + { "greedy": true, "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "pattern": /\\\\S\\[\\\\s\\\\S\\]\\*/, + ], }, - "macro-name": [ - { - "lookbehind": true, - "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?!\\\\\\(\\)/i, - }, - { - "alias": "function", - "lookbehind": true, - "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?=\\\\\\(\\)/i, - }, - ], - "punctuation": /##\\|\\\\\\\\\\(\\?=\\[\\\\r\\\\n\\]\\)/, - "string": [ - { - "lookbehind": true, - "pattern": /\\^\\(#\\\\s\\*include\\\\s\\*\\)<\\[\\^>\\]\\+>/, - }, - { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - ], + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)#\\\\s\\*\\[a-z\\]\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\/\\]\\|\\\\/\\(\\?!\\\\\\*\\)\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*/im, }, - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)#\\\\s\\*\\[a-z\\]\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\/\\]\\|\\\\/\\(\\?!\\\\\\*\\)\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*/im, - }, - "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, - "operator": /-\\[->\\]\\?\\|\\\\\\+\\\\\\+\\?\\|!=\\?\\|<<\\?=\\?\\|>>\\?=\\?\\|==\\?\\|&&\\?\\|\\\\\\|\\\\\\|\\?\\|\\[~\\^%\\?\\*\\\\/@\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|@"\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\)\\*"/, - }, - "ocaml": { - "boolean": /\\\\b\\(\\?:false\\|true\\)\\\\b/, - "comment": /\\\\\\(\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\\\)/, - "directive": { - "alias": "important", - "pattern": /\\\\B#\\\\w\\+/, + "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, + "operator": /-\\[->\\]\\?\\|\\\\\\+\\\\\\+\\?\\|!=\\?\\|<<\\?=\\?\\|>>\\?=\\?\\|==\\?\\|&&\\?\\|\\\\\\|\\\\\\|\\?\\|\\[~\\^%\\?\\*\\\\/@\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|@"\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\)\\*"/, }, - "keyword": /\\\\b\\(\\?:as\\|assert\\|begin\\|class\\|constraint\\|do\\|done\\|downto\\|else\\|end\\|exception\\|external\\|for\\|fun\\|function\\|functor\\|if\\|in\\|include\\|inherit\\|initializer\\|lazy\\|let\\|match\\|method\\|module\\|mutable\\|new\\|nonrec\\|object\\|of\\|open\\|private\\|rec\\|sig\\|struct\\|then\\|to\\|try\\|type\\|val\\|value\\|virtual\\|when\\|where\\|while\\|with\\)\\\\b/, - "label": { - "alias": "function", - "pattern": /\\\\B~\\\\w\\+/, - }, - "module": { - "alias": "variable", - "pattern": /\\\\b\\[A-Z\\]\\\\w\\+/, - }, - "number": /\\\\b\\(\\?:0x\\[\\\\da-f\\]\\[\\\\da-f_\\]\\+\\|\\(\\?:0\\[bo\\]\\)\\?\\\\d\\[\\\\d_\\]\\*\\(\\?:\\\\\\.\\[\\\\d_\\]\\*\\)\\?\\(\\?:e\\[\\+-\\]\\?\\[\\\\d_\\]\\+\\)\\?\\)/i, - "operator": /:=\\|\\[=<>@\\^\\|&\\+\\\\-\\*\\\\/\\$%!\\?~\\]\\[!\\$%&\\*\\+\\\\-\\.\\\\/:<=>\\?@\\^\\|~\\]\\*\\|\\\\b\\(\\?:and\\|asr\\|land\\|lor\\|lsl\\|lsr\\|lxor\\|mod\\|or\\)\\\\b/, - "punctuation": /\\[\\(\\)\\{\\}\\\\\\[\\\\\\]\\|\\.,:;\\]\\|\\\\b_\\\\b/, - "string": [ - { + "objectivec": { + "comment": { "greedy": true, - "pattern": /"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\r\\\\n"\\]\\)\\*"/, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - { + "constant": /\\\\b\\(\\?:__FILE__\\|__LINE__\\|__DATE__\\|__TIME__\\|__TIMESTAMP__\\|__func__\\|EOF\\|NULL\\|SEEK_CUR\\|SEEK_END\\|SEEK_SET\\|stdin\\|stdout\\|stderr\\)\\\\b/, + "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, + "keyword": /\\\\b\\(\\?:asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\|in\\|self\\|super\\)\\\\b\\|\\(\\?:@interface\\|@end\\|@implementation\\|@protocol\\|@class\\|@public\\|@protected\\|@private\\|@property\\|@try\\|@catch\\|@finally\\|@throw\\|@synthesize\\|@dynamic\\|@selector\\)\\\\b/, + "macro": { + "alias": "property", "greedy": true, - "pattern": /\\(\\['\`\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\d\\+\\|x\\[\\\\da-f\\]\\+\\|\\.\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\\\1/i, - }, - ], - "type-variable": { - "alias": "function", - "pattern": /\\\\B'\\\\w\\+/, - }, - "variant": { - "alias": "variable", - "pattern": /\`\\\\w\\+/, - }, - }, - "py": { - "boolean": /\\\\b\\(\\?:True\\|False\\|None\\)\\\\b/, - "builtin": /\\\\b\\(\\?:__import__\\|abs\\|all\\|any\\|apply\\|ascii\\|basestring\\|bin\\|bool\\|buffer\\|bytearray\\|bytes\\|callable\\|chr\\|classmethod\\|cmp\\|coerce\\|compile\\|complex\\|delattr\\|dict\\|dir\\|divmod\\|enumerate\\|eval\\|execfile\\|file\\|filter\\|float\\|format\\|frozenset\\|getattr\\|globals\\|hasattr\\|hash\\|help\\|hex\\|id\\|input\\|int\\|intern\\|isinstance\\|issubclass\\|iter\\|len\\|list\\|locals\\|long\\|map\\|max\\|memoryview\\|min\\|next\\|object\\|oct\\|open\\|ord\\|pow\\|property\\|range\\|raw_input\\|reduce\\|reload\\|repr\\|reversed\\|round\\|set\\|setattr\\|slice\\|sorted\\|staticmethod\\|str\\|sum\\|super\\|tuple\\|type\\|unichr\\|unicode\\|vars\\|xrange\\|zip\\)\\\\b/, - "class-name": { - "lookbehind": true, - "pattern": /\\(\\\\bclass\\\\s\\+\\)\\\\w\\+/i, - }, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)#\\.\\*/, - }, - "decorator": { - "alias": [ - "annotation", - "punctuation", - ], - "inside": { - "punctuation": /\\\\\\./, - }, - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)@\\\\w\\+\\(\\?:\\\\\\.\\\\w\\+\\)\\*/im, - }, - "function": { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\\\s\\)def\\[ \\\\t\\]\\+\\)\\[a-zA-Z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/g, - }, - "keyword": /\\\\b\\(\\?:and\\|as\\|assert\\|async\\|await\\|break\\|class\\|continue\\|def\\|del\\|elif\\|else\\|except\\|exec\\|finally\\|for\\|from\\|global\\|if\\|import\\|in\\|is\\|lambda\\|nonlocal\\|not\\|or\\|pass\\|print\\|raise\\|return\\|try\\|while\\|with\\|yield\\)\\\\b/, - "number": /\\(\\?:\\\\b\\(\\?=\\\\d\\)\\|\\\\B\\(\\?=\\\\\\.\\)\\)\\(\\?:0\\[bo\\]\\)\\?\\(\\?:\\(\\?:\\\\d\\|0x\\[\\\\da-f\\]\\)\\[\\\\da-f\\]\\*\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?j\\?\\\\b/i, - "operator": /\\[-\\+%=\\]=\\?\\|!=\\|\\\\\\*\\\\\\*\\?=\\?\\|\\\\/\\\\/\\?=\\?\\|<\\[<=>\\]\\?\\|>\\[=>\\]\\?\\|\\[&\\|\\^~\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\?:\\[rub\\]\\|rb\\|br\\)\\?\\("\\|'\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/i, - }, - "string-interpolation": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "conversion-option": { - "alias": "punctuation", - "pattern": /!\\[sra\\]\\(\\?=\\[:\\}\\]\\$\\)/, + "inside": { + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + "directive": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\^\\(#\\\\s\\*\\)\\[a-z\\]\\+/, + }, + "directive-hash": /\\^#/, + "expression": { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": { + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:enum\\|struct\\)\\\\s\\+\\(\\?:__attribute__\\\\s\\*\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\*\\?\\\\\\)\\\\\\)\\\\s\\*\\)\\?\\)\\\\w\\+\\|\\\\b\\[a-z\\]\\\\w\\*_t\\\\b/, + }, + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\?\\|\\\\n\\|\\(\\?!\\[\\\\r\\\\n\\]\\)\\)\\)\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + "function": /\\[a-z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/i, + "keyword": /\\\\b\\(\\?:__attribute__\\|_Alignas\\|_Alignof\\|_Atomic\\|_Bool\\|_Complex\\|_Generic\\|_Imaginary\\|_Noreturn\\|_Static_assert\\|_Thread_local\\|asm\\|typeof\\|inline\\|auto\\|break\\|case\\|char\\|const\\|continue\\|default\\|do\\|double\\|else\\|enum\\|extern\\|float\\|for\\|goto\\|if\\|int\\|long\\|register\\|return\\|short\\|signed\\|sizeof\\|static\\|struct\\|switch\\|typedef\\|union\\|unsigned\\|void\\|volatile\\|while\\)\\\\b/, + "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, + "operator": />>=\\?\\|<<=\\?\\|->\\|\\(\\[-\\+&\\|:\\]\\)\\\\1\\|\\[\\?:~\\]\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, }, - "format-spec": { + "pattern": /\\\\S\\[\\\\s\\\\S\\]\\*/, + }, + "macro-name": [ + { "lookbehind": true, - "pattern": /\\(:\\)\\[\\^:\\(\\)\\{\\}\\]\\+\\(\\?=\\}\\$\\)/, + "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?!\\\\\\(\\)/i, }, - "rest": [Circular], - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\{\\]\\)\\(\\?:\\{\\{\\)\\*\\)\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\)\\+\\}\\)\\+\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - }, - "pattern": /\\(\\?:f\\|rf\\|fr\\)\\(\\?:\\("""\\|'''\\)\\[\\\\s\\\\S\\]\\*\\?\\\\1\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\2\\)/i, - }, - "triple-quoted-string": { - "alias": "string", - "greedy": true, - "pattern": /\\(\\?:\\[rub\\]\\|rb\\|br\\)\\?\\("""\\|'''\\)\\[\\\\s\\\\S\\]\\*\\?\\\\1/i, - }, - }, - "python": { - "boolean": /\\\\b\\(\\?:True\\|False\\|None\\)\\\\b/, - "builtin": /\\\\b\\(\\?:__import__\\|abs\\|all\\|any\\|apply\\|ascii\\|basestring\\|bin\\|bool\\|buffer\\|bytearray\\|bytes\\|callable\\|chr\\|classmethod\\|cmp\\|coerce\\|compile\\|complex\\|delattr\\|dict\\|dir\\|divmod\\|enumerate\\|eval\\|execfile\\|file\\|filter\\|float\\|format\\|frozenset\\|getattr\\|globals\\|hasattr\\|hash\\|help\\|hex\\|id\\|input\\|int\\|intern\\|isinstance\\|issubclass\\|iter\\|len\\|list\\|locals\\|long\\|map\\|max\\|memoryview\\|min\\|next\\|object\\|oct\\|open\\|ord\\|pow\\|property\\|range\\|raw_input\\|reduce\\|reload\\|repr\\|reversed\\|round\\|set\\|setattr\\|slice\\|sorted\\|staticmethod\\|str\\|sum\\|super\\|tuple\\|type\\|unichr\\|unicode\\|vars\\|xrange\\|zip\\)\\\\b/, - "class-name": { - "lookbehind": true, - "pattern": /\\(\\\\bclass\\\\s\\+\\)\\\\w\\+/i, - }, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)#\\.\\*/, - }, - "decorator": { - "alias": [ - "annotation", - "punctuation", - ], - "inside": { - "punctuation": /\\\\\\./, - }, - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)@\\\\w\\+\\(\\?:\\\\\\.\\\\w\\+\\)\\*/im, - }, - "function": { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\\\s\\)def\\[ \\\\t\\]\\+\\)\\[a-zA-Z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/g, - }, - "keyword": /\\\\b\\(\\?:and\\|as\\|assert\\|async\\|await\\|break\\|class\\|continue\\|def\\|del\\|elif\\|else\\|except\\|exec\\|finally\\|for\\|from\\|global\\|if\\|import\\|in\\|is\\|lambda\\|nonlocal\\|not\\|or\\|pass\\|print\\|raise\\|return\\|try\\|while\\|with\\|yield\\)\\\\b/, - "number": /\\(\\?:\\\\b\\(\\?=\\\\d\\)\\|\\\\B\\(\\?=\\\\\\.\\)\\)\\(\\?:0\\[bo\\]\\)\\?\\(\\?:\\(\\?:\\\\d\\|0x\\[\\\\da-f\\]\\)\\[\\\\da-f\\]\\*\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?j\\?\\\\b/i, - "operator": /\\[-\\+%=\\]=\\?\\|!=\\|\\\\\\*\\\\\\*\\?=\\?\\|\\\\/\\\\/\\?=\\?\\|<\\[<=>\\]\\?\\|>\\[=>\\]\\?\\|\\[&\\|\\^~\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\?:\\[rub\\]\\|rb\\|br\\)\\?\\("\\|'\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/i, - }, - "string-interpolation": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "conversion-option": { - "alias": "punctuation", - "pattern": /!\\[sra\\]\\(\\?=\\[:\\}\\]\\$\\)/, + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\^#\\\\s\\*define\\\\s\\+\\)\\\\w\\+\\\\b\\(\\?=\\\\\\(\\)/i, }, - "format-spec": { + ], + "punctuation": /##\\|\\\\\\\\\\(\\?=\\[\\\\r\\\\n\\]\\)/, + "string": [ + { "lookbehind": true, - "pattern": /\\(:\\)\\[\\^:\\(\\)\\{\\}\\]\\+\\(\\?=\\}\\$\\)/, + "pattern": /\\^\\(#\\\\s\\*include\\\\s\\*\\)<\\[\\^>\\]\\+>/, }, - "rest": [Circular], - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\{\\]\\)\\(\\?:\\{\\{\\)\\*\\)\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\)\\+\\}\\)\\+\\}\\)\\+\\}/, + { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + ], }, - "string": /\\[\\\\s\\\\S\\]\\+/, + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)#\\\\s\\*\\[a-z\\]\\(\\?:\\[\\^\\\\r\\\\n\\\\\\\\/\\]\\|\\\\/\\(\\?!\\\\\\*\\)\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*/im, }, - "pattern": /\\(\\?:f\\|rf\\|fr\\)\\(\\?:\\("""\\|'''\\)\\[\\\\s\\\\S\\]\\*\\?\\\\1\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\2\\)/i, + "number": /\\(\\?:\\\\b0x\\(\\?:\\[\\\\da-f\\]\\+\\(\\?:\\\\\\.\\[\\\\da-f\\]\\*\\)\\?\\|\\\\\\.\\[\\\\da-f\\]\\+\\)\\(\\?:p\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\)\\[ful\\]\\{0,4\\}/i, + "operator": /-\\[->\\]\\?\\|\\\\\\+\\\\\\+\\?\\|!=\\?\\|<<\\?=\\?\\|>>\\?=\\?\\|==\\?\\|&&\\?\\|\\\\\\|\\\\\\|\\?\\|\\[~\\^%\\?\\*\\\\/@\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|@"\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\)\\*"/, }, - "triple-quoted-string": { - "alias": "string", - "greedy": true, - "pattern": /\\(\\?:\\[rub\\]\\|rb\\|br\\)\\?\\("""\\|'''\\)\\[\\\\s\\\\S\\]\\*\\?\\\\1/i, - }, - }, - "reason": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "character": { - "alias": "string", - "pattern": /'\\(\\?:\\\\\\\\x\\[\\\\da-f\\]\\{2\\}\\|\\\\\\\\o\\[0-3\\]\\[0-7\\]\\[0-7\\]\\|\\\\\\\\\\\\d\\{3\\}\\|\\\\\\\\\\.\\|\\[\\^'\\\\\\\\\\\\r\\\\n\\]\\)'/, - }, - "class-name": /\\\\b\\[A-Z\\]\\\\w\\*/, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "ocaml": { + "boolean": /\\\\b\\(\\?:false\\|true\\)\\\\b/, + "comment": /\\\\\\(\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\\\)/, + "directive": { + "alias": "important", + "pattern": /\\\\B#\\\\w\\+/, }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "keyword": /\\\\b\\(\\?:as\\|assert\\|begin\\|class\\|constraint\\|do\\|done\\|downto\\|else\\|end\\|exception\\|external\\|for\\|fun\\|function\\|functor\\|if\\|in\\|include\\|inherit\\|initializer\\|lazy\\|let\\|match\\|method\\|module\\|mutable\\|new\\|nonrec\\|object\\|of\\|open\\|private\\|rec\\|sig\\|struct\\|then\\|to\\|try\\|type\\|val\\|value\\|virtual\\|when\\|where\\|while\\|with\\)\\\\b/, + "label": { + "alias": "function", + "pattern": /\\\\B~\\\\w\\+/, }, - ], - "constructor": { - "alias": "variable", - "pattern": /\\\\b\\[A-Z\\]\\\\w\\*\\\\b\\(\\?!\\\\s\\*\\\\\\.\\)/, - }, - "keyword": /\\\\b\\(\\?:and\\|as\\|assert\\|begin\\|class\\|constraint\\|do\\|done\\|downto\\|else\\|end\\|exception\\|external\\|for\\|fun\\|function\\|functor\\|if\\|in\\|include\\|inherit\\|initializer\\|lazy\\|let\\|method\\|module\\|mutable\\|new\\|nonrec\\|object\\|of\\|open\\|or\\|private\\|rec\\|sig\\|struct\\|switch\\|then\\|to\\|try\\|type\\|val\\|virtual\\|when\\|while\\|with\\)\\\\b/, - "label": { - "alias": "symbol", - "pattern": /\\\\b\\[a-z\\]\\\\w\\*\\(\\?=::\\)/, - }, - "number": /\\\\b0x\\[\\\\da-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?/i, - "operator": /\\\\\\.\\{3\\}\\|:\\[:=\\]\\|\\\\\\|>\\|->\\|=\\(\\?:==\\?\\|>\\)\\?\\|<=\\?\\|>=\\?\\|\\[\\|\\^\\?'#!~\`\\]\\|\\[\\+\\\\-\\*\\\\/\\]\\\\\\.\\?\\|\\\\b\\(\\?:mod\\|land\\|lor\\|lxor\\|lsl\\|lsr\\|asr\\)\\\\b/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /"\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\[\\^\\\\\\\\\\\\r\\\\n"\\]\\)\\*"/, - }, - }, - "rss": { - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { + "module": { + "alias": "variable", + "pattern": /\\\\b\\[A-Z\\]\\\\w\\+/, + }, + "number": /\\\\b\\(\\?:0x\\[\\\\da-f\\]\\[\\\\da-f_\\]\\+\\|\\(\\?:0\\[bo\\]\\)\\?\\\\d\\[\\\\d_\\]\\*\\(\\?:\\\\\\.\\[\\\\d_\\]\\*\\)\\?\\(\\?:e\\[\\+-\\]\\?\\[\\\\d_\\]\\+\\)\\?\\)/i, + "operator": /:=\\|\\[=<>@\\^\\|&\\+\\\\-\\*\\\\/\\$%!\\?~\\]\\[!\\$%&\\*\\+\\\\-\\.\\\\/:<=>\\?@\\^\\|~\\]\\*\\|\\\\b\\(\\?:and\\|asr\\|land\\|lor\\|lsl\\|lsr\\|lxor\\|mod\\|or\\)\\\\b/, + "punctuation": /\\[\\(\\)\\{\\}\\\\\\[\\\\\\]\\|\\.,:;\\]\\|\\\\b_\\\\b/, + "string": [ + { "greedy": true, - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + "pattern": /"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\\\\\r\\\\n"\\]\\)\\*"/, }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { + { "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + "pattern": /\\(\\['\`\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\d\\+\\|x\\[\\\\da-f\\]\\+\\|\\.\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\\\1/i, }, + ], + "type-variable": { + "alias": "function", + "pattern": /\\\\B'\\\\w\\+/, + }, + "variant": { + "alias": "variable", + "pattern": /\`\\\\w\\+/, }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + "py": { + "boolean": /\\\\b\\(\\?:True\\|False\\|None\\)\\\\b/, + "builtin": /\\\\b\\(\\?:__import__\\|abs\\|all\\|any\\|apply\\|ascii\\|basestring\\|bin\\|bool\\|buffer\\|bytearray\\|bytes\\|callable\\|chr\\|classmethod\\|cmp\\|coerce\\|compile\\|complex\\|delattr\\|dict\\|dir\\|divmod\\|enumerate\\|eval\\|execfile\\|file\\|filter\\|float\\|format\\|frozenset\\|getattr\\|globals\\|hasattr\\|hash\\|help\\|hex\\|id\\|input\\|int\\|intern\\|isinstance\\|issubclass\\|iter\\|len\\|list\\|locals\\|long\\|map\\|max\\|memoryview\\|min\\|next\\|object\\|oct\\|open\\|ord\\|pow\\|property\\|range\\|raw_input\\|reduce\\|reload\\|repr\\|reversed\\|round\\|set\\|setattr\\|slice\\|sorted\\|staticmethod\\|str\\|sum\\|super\\|tuple\\|type\\|unichr\\|unicode\\|vars\\|xrange\\|zip\\)\\\\b/, + "class-name": { + "lookbehind": true, + "pattern": /\\(\\\\bclass\\\\s\\+\\)\\\\w\\+/i, }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { - "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], - }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, - }, - "punctuation": /\\\\/\\?>/, - "tag": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, - }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)#\\.\\*/, + }, + "decorator": { + "alias": [ + "annotation", + "punctuation", + ], + "inside": { + "punctuation": /\\\\\\./, }, + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)@\\\\w\\+\\(\\?:\\\\\\.\\\\w\\+\\)\\*/im, }, - "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, - }, - }, - "sass": { - "atrule-line": { - "inside": { - "atrule": /\\(\\?:@\\[\\\\w-\\]\\+\\|\\[\\+=\\]\\)/m, + "function": { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\\\s\\)def\\[ \\\\t\\]\\+\\)\\[a-zA-Z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/g, }, - "pattern": /\\^\\(\\?:\\[ \\\\t\\]\\*\\)\\[@\\+=\\]\\.\\+/m, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "keyword": /\\\\b\\(\\?:and\\|as\\|assert\\|async\\|await\\|break\\|class\\|continue\\|def\\|del\\|elif\\|else\\|except\\|exec\\|finally\\|for\\|from\\|global\\|if\\|import\\|in\\|is\\|lambda\\|nonlocal\\|not\\|or\\|pass\\|print\\|raise\\|return\\|try\\|while\\|with\\|yield\\)\\\\b/, + "number": /\\(\\?:\\\\b\\(\\?=\\\\d\\)\\|\\\\B\\(\\?=\\\\\\.\\)\\)\\(\\?:0\\[bo\\]\\)\\?\\(\\?:\\(\\?:\\\\d\\|0x\\[\\\\da-f\\]\\)\\[\\\\da-f\\]\\*\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?j\\?\\\\b/i, + "operator": /\\[-\\+%=\\]=\\?\\|!=\\|\\\\\\*\\\\\\*\\?=\\?\\|\\\\/\\\\/\\?=\\?\\|<\\[<=>\\]\\?\\|>\\[=>\\]\\?\\|\\[&\\|\\^~\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\?:\\[rub\\]\\|rb\\|br\\)\\?\\("\\|'\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/i, + }, + "string-interpolation": { + "greedy": true, "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + "interpolation": { + "inside": { + "conversion-option": { + "alias": "punctuation", + "pattern": /!\\[sra\\]\\(\\?=\\[:\\}\\]\\$\\)/, + }, + "format-spec": { + "lookbehind": true, + "pattern": /\\(:\\)\\[\\^:\\(\\)\\{\\}\\]\\+\\(\\?=\\}\\$\\)/, + }, + "rest": [Circular], + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\{\\]\\)\\(\\?:\\{\\{\\)\\*\\)\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\)\\+\\}\\)\\+\\}\\)\\+\\}/, }, + "string": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /\\(\\?:f\\|rf\\|fr\\)\\(\\?:\\("""\\|'''\\)\\[\\\\s\\\\S\\]\\*\\?\\\\1\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\2\\)/i, }, - ], - "comment": { - "lookbehind": true, - "pattern": /\\^\\(\\[ \\\\t\\]\\*\\)\\\\/\\[\\\\/\\*\\]\\.\\*\\(\\?:\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\1\\[ \\\\t\\]\\.\\+\\)\\*/m, - }, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property-line": { - "inside": { - "important": /!important\\\\b/i, - "operator": [ - /\\[\\+\\*\\\\/%\\]\\|\\[=!\\]=\\|<=\\?\\|>=\\?\\|\\\\b\\(\\?:and\\|or\\|not\\)\\\\b/, - { - "lookbehind": true, - "pattern": /\\(\\\\s\\+\\)-\\(\\?=\\\\s\\)/, - }, - ], - "property": [ - /\\[\\^:\\\\s\\]\\+\\(\\?=\\\\s\\*:\\)/, - { - "lookbehind": true, - "pattern": /\\(:\\)\\[\\^:\\\\s\\]\\+/, - }, - ], - "punctuation": /:/, - "variable": /\\\\\\$\\[-\\\\w\\]\\+\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}/, + "triple-quoted-string": { + "alias": "string", + "greedy": true, + "pattern": /\\(\\?:\\[rub\\]\\|rb\\|br\\)\\?\\("""\\|'''\\)\\[\\\\s\\\\S\\]\\*\\?\\\\1/i, }, - "pattern": /\\^\\[ \\\\t\\]\\*\\(\\?:\\[\\^:\\\\s\\]\\+ \\*:\\.\\*\\|:\\[\\^:\\\\s\\]\\.\\*\\)/m, - }, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "lookbehind": true, - "pattern": /\\(\\[ \\\\t\\]\\*\\)\\\\S\\(\\?:,\\[\\^,\\\\r\\\\n\\]\\+\\|\\[\\^,\\\\r\\\\n\\]\\*\\)\\(\\?:,\\[\\^,\\\\r\\\\n\\]\\+\\)\\*\\(\\?:,\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\1\\[ \\\\t\\]\\+\\\\S\\(\\?:,\\[\\^,\\\\r\\\\n\\]\\+\\|\\[\\^,\\\\r\\\\n\\]\\*\\)\\(\\?:,\\[\\^,\\\\r\\\\n\\]\\+\\)\\*\\)\\*/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, - }, + "python": { + "boolean": /\\\\b\\(\\?:True\\|False\\|None\\)\\\\b/, + "builtin": /\\\\b\\(\\?:__import__\\|abs\\|all\\|any\\|apply\\|ascii\\|basestring\\|bin\\|bool\\|buffer\\|bytearray\\|bytes\\|callable\\|chr\\|classmethod\\|cmp\\|coerce\\|compile\\|complex\\|delattr\\|dict\\|dir\\|divmod\\|enumerate\\|eval\\|execfile\\|file\\|filter\\|float\\|format\\|frozenset\\|getattr\\|globals\\|hasattr\\|hash\\|help\\|hex\\|id\\|input\\|int\\|intern\\|isinstance\\|issubclass\\|iter\\|len\\|list\\|locals\\|long\\|map\\|max\\|memoryview\\|min\\|next\\|object\\|oct\\|open\\|ord\\|pow\\|property\\|range\\|raw_input\\|reduce\\|reload\\|repr\\|reversed\\|round\\|set\\|setattr\\|slice\\|sorted\\|staticmethod\\|str\\|sum\\|super\\|tuple\\|type\\|unichr\\|unicode\\|vars\\|xrange\\|zip\\)\\\\b/, + "class-name": { + "lookbehind": true, + "pattern": /\\(\\\\bclass\\\\s\\+\\)\\\\w\\+/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, - }, - "variable-line": { - "inside": { - "operator": [ - /\\[\\+\\*\\\\/%\\]\\|\\[=!\\]=\\|<=\\?\\|>=\\?\\|\\\\b\\(\\?:and\\|or\\|not\\)\\\\b/, - { - "lookbehind": true, - "pattern": /\\(\\\\s\\+\\)-\\(\\?=\\\\s\\)/, - }, + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)#\\.\\*/, + }, + "decorator": { + "alias": [ + "annotation", + "punctuation", ], - "punctuation": /:/, - "variable": /\\\\\\$\\[-\\\\w\\]\\+\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}/, + "inside": { + "punctuation": /\\\\\\./, + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)@\\\\w\\+\\(\\?:\\\\\\.\\\\w\\+\\)\\*/im, }, - "pattern": /\\^\\[ \\\\t\\]\\*\\\\\\$\\.\\+/m, - }, - }, - "scss": { - "atrule": { - "inside": { - "rest": [Circular], - "rule": /@\\[\\\\w-\\]\\+/, + "function": { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\\\s\\)def\\[ \\\\t\\]\\+\\)\\[a-zA-Z_\\]\\\\w\\*\\(\\?=\\\\s\\*\\\\\\(\\)/g, }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\\\\\(\\[\\^\\(\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\\\s\\)\\)\\*\\?\\(\\?=\\\\s\\+\\[\\{;\\]\\)/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "keyword": /\\\\b\\(\\?:and\\|as\\|assert\\|async\\|await\\|break\\|class\\|continue\\|def\\|del\\|elif\\|else\\|except\\|exec\\|finally\\|for\\|from\\|global\\|if\\|import\\|in\\|is\\|lambda\\|nonlocal\\|not\\|or\\|pass\\|print\\|raise\\|return\\|try\\|while\\|with\\|yield\\)\\\\b/, + "number": /\\(\\?:\\\\b\\(\\?=\\\\d\\)\\|\\\\B\\(\\?=\\\\\\.\\)\\)\\(\\?:0\\[bo\\]\\)\\?\\(\\?:\\(\\?:\\\\d\\|0x\\[\\\\da-f\\]\\)\\[\\\\da-f\\]\\*\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?j\\?\\\\b/i, + "operator": /\\[-\\+%=\\]=\\?\\|!=\\|\\\\\\*\\\\\\*\\?=\\?\\|\\\\/\\\\/\\?=\\?\\|<\\[<=>\\]\\?\\|>\\[=>\\]\\?\\|\\[&\\|\\^~\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\?:\\[rub\\]\\|rb\\|br\\)\\?\\("\\|'\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/i, + }, + "string-interpolation": { + "greedy": true, "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + "interpolation": { + "inside": { + "conversion-option": { + "alias": "punctuation", + "pattern": /!\\[sra\\]\\(\\?=\\[:\\}\\]\\$\\)/, + }, + "format-spec": { + "lookbehind": true, + "pattern": /\\(:\\)\\[\\^:\\(\\)\\{\\}\\]\\+\\(\\?=\\}\\$\\)/, + }, + "rest": [Circular], + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\{\\]\\)\\(\\?:\\{\\{\\)\\*\\)\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?!\\{\\)\\(\\?:\\[\\^\\{\\}\\]\\)\\+\\}\\)\\+\\}\\)\\+\\}/, }, + "string": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, - }, - ], - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, - }, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "keyword": [ - /@\\(\\?:if\\|else\\(\\?: if\\)\\?\\|forward\\|for\\|each\\|while\\|import\\|use\\|extend\\|debug\\|warn\\|mixin\\|include\\|function\\|return\\|content\\)\\\\b/i, - { - "lookbehind": true, - "pattern": /\\( \\+\\)\\(\\?:from\\|through\\)\\(\\?= \\)/, + "pattern": /\\(\\?:f\\|rf\\|fr\\)\\(\\?:\\("""\\|'''\\)\\[\\\\s\\\\S\\]\\*\\?\\\\1\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\.\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\2\\)/i, }, - ], - "module-modifier": { - "alias": "keyword", - "pattern": /\\\\b\\(\\?:as\\|with\\|show\\|hide\\)\\\\b/i, - }, - "null": { - "alias": "keyword", - "pattern": /\\\\bnull\\\\b/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\(\\?:\\[-\\+\\*\\\\/%\\]\\|\\[=!\\]=\\|<=\\?\\|>=\\?\\|and\\|or\\|not\\)\\(\\?=\\\\s\\)/, - }, - "placeholder": { - "alias": "selector", - "pattern": /%\\[-\\\\w\\]\\+/, - }, - "property": { - "inside": { - "variable": /\\\\\\$\\[-\\\\w\\]\\+\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}/, + "triple-quoted-string": { + "alias": "string", + "greedy": true, + "pattern": /\\(\\?:\\[rub\\]\\|rb\\|br\\)\\?\\("""\\|'''\\)\\[\\\\s\\\\S\\]\\*\\?\\\\1/i, }, - "pattern": /\\(\\?:\\[-\\\\w\\]\\|\\\\\\$\\[-\\\\w\\]\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}\\)\\+\\(\\?=\\\\s\\*:\\)/, }, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "parent": { - "alias": "important", - "pattern": /&/, - }, - "placeholder": /%\\[-\\\\w\\]\\+/, - "variable": /\\\\\\$\\[-\\\\w\\]\\+\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}/, + "reason": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "character": { + "alias": "string", + "pattern": /'\\(\\?:\\\\\\\\x\\[\\\\da-f\\]\\{2\\}\\|\\\\\\\\o\\[0-3\\]\\[0-7\\]\\[0-7\\]\\|\\\\\\\\\\\\d\\{3\\}\\|\\\\\\\\\\.\\|\\[\\^'\\\\\\\\\\\\r\\\\n\\]\\)'/, }, - "pattern": /\\(\\?=\\\\S\\)\\[\\^@;\\{\\}\\(\\)\\]\\?\\(\\?:\\[\\^@;\\{\\}\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\\\s\\)\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}\\)\\+\\(\\?=\\\\s\\*\\\\\\{\\(\\?:\\\\\\}\\|\\\\s\\|\\[\\^\\}\\]\\[\\^:\\{\\}\\]\\*\\[:\\{\\]\\[\\^\\}\\]\\+\\)\\)/m, - }, - "statement": { - "alias": "keyword", - "pattern": /\\\\B!\\(\\?:default\\|optional\\)\\\\b/i, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": /\\(\\?:\\[-a-z\\]\\+-\\)\\?url\\(\\?=\\\\\\(\\)/i, - "variable": /\\\\\\$\\[-\\\\w\\]\\+\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}/, - }, - "shell": { - "assign-left": { - "alias": "variable", - "inside": { - "environment": { - "alias": "constant", + "class-name": /\\\\b\\[A-Z\\]\\\\w\\*/, + "comment": [ + { + "greedy": true, "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, - }, - "boolean": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "builtin": { - "alias": "class-name", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, - }, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "file-descriptor": { - "alias": "important", - "pattern": /\\\\B&\\\\d\\\\b/, - }, - "for-or-select": { - "alias": "variable", - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, - }, - "function": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "function-name": [ - { - "alias": "function", - "lookbehind": true, - "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, - }, - { - "alias": "function", - "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, - }, - "operator": { - "inside": { - "file-descriptor": { - "alias": "important", - "pattern": /\\^\\\\d/, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, }, + ], + "constructor": { + "alias": "variable", + "pattern": /\\\\b\\[A-Z\\]\\\\w\\*\\\\b\\(\\?!\\\\s\\*\\\\\\.\\)/, + }, + "keyword": /\\\\b\\(\\?:and\\|as\\|assert\\|begin\\|class\\|constraint\\|do\\|done\\|downto\\|else\\|end\\|exception\\|external\\|for\\|fun\\|function\\|functor\\|if\\|in\\|include\\|inherit\\|initializer\\|lazy\\|let\\|method\\|module\\|mutable\\|new\\|nonrec\\|object\\|of\\|open\\|or\\|private\\|rec\\|sig\\|struct\\|switch\\|then\\|to\\|try\\|type\\|val\\|virtual\\|when\\|while\\|with\\)\\\\b/, + "label": { + "alias": "symbol", + "pattern": /\\\\b\\[a-z\\]\\\\w\\*\\(\\?=::\\)/, + }, + "number": /\\\\b0x\\[\\\\da-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?/i, + "operator": /\\\\\\.\\{3\\}\\|:\\[:=\\]\\|\\\\\\|>\\|->\\|=\\(\\?:==\\?\\|>\\)\\?\\|<=\\?\\|>=\\?\\|\\[\\|\\^\\?'#!~\`\\]\\|\\[\\+\\\\-\\*\\\\/\\]\\\\\\.\\?\\|\\\\b\\(\\?:mod\\|land\\|lor\\|lxor\\|lsl\\|lsr\\|asr\\)\\\\b/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /"\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\[\\^\\\\\\\\\\\\r\\\\n"\\]\\)\\*"/, }, - "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, - }, - "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, - "shebang": { - "alias": "important", - "pattern": /\\^#!\\\\s\\*\\\\/\\.\\*/, }, - "string": [ - { + "rss": { + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, + "doctype": { "greedy": true, "inside": { - "bash": { - "alias": "punctuation", + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { + "greedy": true, "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, }, - "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { + "greedy": true, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, }, - "variable": [ - { - "greedy": true, - "inside": { - "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, - "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, - "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, - "variable": [ - { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, - }, - /\\^\\\\\\$\\\\\\(\\\\\\(/, - ], - }, - "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, + }, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, + }, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, }, - { - "greedy": true, - "inside": { - "assign-left": { - "alias": "variable", - "inside": { - "environment": { - "alias": "constant", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, - }, - "boolean": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "builtin": { - "alias": "class-name", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, - }, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "file-descriptor": { - "alias": "important", - "pattern": /\\\\B&\\\\d\\\\b/, - }, - "for-or-select": { - "alias": "variable", - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, - }, - "function": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "function-name": [ - { - "alias": "function", - "lookbehind": true, - "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, - }, - { - "alias": "function", - "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, + }, + "attr-value": { + "inside": { + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, }, - "operator": { - "inside": { - "file-descriptor": { - "alias": "important", - "pattern": /\\^\\\\d/, - }, - }, - "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, }, - "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, - "string": [Circular], - "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, - }, - "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, + /"\\|'/, + ], }, - { - "greedy": true, - "inside": { - "environment": { - "alias": "constant", - "lookbehind": true, - "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, - "punctuation": /\\[\\\\\\[\\\\\\]\\]/, - }, - "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, + }, + "punctuation": /\\\\/\\?>/, + "tag": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, }, - /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, - ], + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, + }, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\\\w\\+\\?\\)\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\2/, + "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, }, - { - "greedy": true, + }, + "sass": { + "atrule-line": { "inside": { - "bash": { - "alias": "punctuation", - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + "atrule": /\\(\\?:@\\[\\\\w-\\]\\+\\|\\[\\+=\\]\\)/m, + }, + "pattern": /\\^\\(\\?:\\[ \\\\t\\]\\*\\)\\[@\\+=\\]\\.\\+/m, + }, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, }, + ], + "comment": { "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\["'\\]\\)\\(\\\\w\\+\\)\\\\2\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\3/, + "pattern": /\\^\\(\\[ \\\\t\\]\\*\\)\\\\/\\[\\\\/\\*\\]\\.\\*\\(\\?:\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\1\\[ \\\\t\\]\\.\\+\\)\\*/m, }, - { - "greedy": true, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property-line": { "inside": { - "bash": { - "alias": "punctuation", - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, - }, - "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "variable": [ - { - "greedy": true, - "inside": { - "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, - "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, - "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, - "variable": [ - { - "lookbehind": true, - "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, - }, - /\\^\\\\\\$\\\\\\(\\\\\\(/, - ], - }, - "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, - }, + "important": /!important\\\\b/i, + "operator": [ + /\\[\\+\\*\\\\/%\\]\\|\\[=!\\]=\\|<=\\?\\|>=\\?\\|\\\\b\\(\\?:and\\|or\\|not\\)\\\\b/, { - "greedy": true, - "inside": { - "assign-left": { - "alias": "variable", - "inside": { - "environment": { - "alias": "constant", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, - }, - "boolean": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "builtin": { - "alias": "class-name", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, - }, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "file-descriptor": { - "alias": "important", - "pattern": /\\\\B&\\\\d\\\\b/, - }, - "for-or-select": { - "alias": "variable", - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, - }, - "function": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "function-name": [ - { - "alias": "function", - "lookbehind": true, - "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, - }, - { - "alias": "function", - "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, - }, - "operator": { - "inside": { - "file-descriptor": { - "alias": "important", - "pattern": /\\^\\\\d/, - }, - }, - "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, - }, - "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, - "string": [Circular], - "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, - }, - "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, + "lookbehind": true, + "pattern": /\\(\\\\s\\+\\)-\\(\\?=\\\\s\\)/, }, + ], + "property": [ + /\\[\\^:\\\\s\\]\\+\\(\\?=\\\\s\\*:\\)/, { - "greedy": true, - "inside": { - "environment": { - "alias": "constant", - "lookbehind": true, - "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, - "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, - "punctuation": /\\[\\\\\\[\\\\\\]\\]/, - }, - "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, + "lookbehind": true, + "pattern": /\\(:\\)\\[\\^:\\\\s\\]\\+/, }, - /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, ], + "punctuation": /:/, + "variable": /\\\\\\$\\[-\\\\w\\]\\+\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}/, + }, + "pattern": /\\^\\[ \\\\t\\]\\*\\(\\?:\\[\\^:\\\\s\\]\\+ \\*:\\.\\*\\|:\\[\\^:\\\\s\\]\\.\\*\\)/m, + }, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "lookbehind": true, + "pattern": /\\(\\[ \\\\t\\]\\*\\)\\\\S\\(\\?:,\\[\\^,\\\\r\\\\n\\]\\+\\|\\[\\^,\\\\r\\\\n\\]\\*\\)\\(\\?:,\\[\\^,\\\\r\\\\n\\]\\+\\)\\*\\(\\?:,\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\1\\[ \\\\t\\]\\+\\\\S\\(\\?:,\\[\\^,\\\\r\\\\n\\]\\+\\|\\[\\^,\\\\r\\\\n\\]\\*\\)\\(\\?:,\\[\\^,\\\\r\\\\n\\]\\+\\)\\*\\)\\*/, + }, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\(\\?:\\\\\\\\\\\\\\\\\\)\\*\\)\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\\\\\$\\(\\?!\\\\\\(\\)\\|\`\\[\\^\`\\]\\+\`\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\`\\$\\]\\)\\*\\\\2/, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - ], - "variable": [ - { - "greedy": true, + "variable-line": { "inside": { - "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, - "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, - "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, - "variable": [ + "operator": [ + /\\[\\+\\*\\\\/%\\]\\|\\[=!\\]=\\|<=\\?\\|>=\\?\\|\\\\b\\(\\?:and\\|or\\|not\\)\\\\b/, { "lookbehind": true, - "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, + "pattern": /\\(\\\\s\\+\\)-\\(\\?=\\\\s\\)/, }, - /\\^\\\\\\$\\\\\\(\\\\\\(/, ], + "punctuation": /:/, + "variable": /\\\\\\$\\[-\\\\w\\]\\+\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}/, }, - "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, + "pattern": /\\^\\[ \\\\t\\]\\*\\\\\\$\\.\\+/m, }, - { - "greedy": true, + }, + "scss": { + "atrule": { "inside": { - "assign-left": { - "alias": "variable", - "inside": { - "environment": { - "alias": "constant", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, - }, + "rest": [Circular], + "rule": /@\\[\\\\w-\\]\\+/, + }, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\\\\\(\\[\\^\\(\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\\\s\\)\\)\\*\\?\\(\\?=\\\\s\\+\\[\\{;\\]\\)/, + }, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, - }, - "boolean": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "builtin": { - "alias": "class-name", - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, }, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, + }, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "keyword": [ + /@\\(\\?:if\\|else\\(\\?: if\\)\\?\\|forward\\|for\\|each\\|while\\|import\\|use\\|extend\\|debug\\|warn\\|mixin\\|include\\|function\\|return\\|content\\)\\\\b/i, + { + "lookbehind": true, + "pattern": /\\( \\+\\)\\(\\?:from\\|through\\)\\(\\?= \\)/, + }, + ], + "module-modifier": { + "alias": "keyword", + "pattern": /\\\\b\\(\\?:as\\|with\\|show\\|hide\\)\\\\b/i, + }, + "null": { + "alias": "keyword", + "pattern": /\\\\bnull\\\\b/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\(\\?:\\[-\\+\\*\\\\/%\\]\\|\\[=!\\]=\\|<=\\?\\|>=\\?\\|and\\|or\\|not\\)\\(\\?=\\\\s\\)/, + }, + "placeholder": { + "alias": "selector", + "pattern": /%\\[-\\\\w\\]\\+/, + }, + "property": { + "inside": { + "variable": /\\\\\\$\\[-\\\\w\\]\\+\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}/, + }, + "pattern": /\\(\\?:\\[-\\\\w\\]\\|\\\\\\$\\[-\\\\w\\]\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}\\)\\+\\(\\?=\\\\s\\*:\\)/, + }, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "parent": { + "alias": "important", + "pattern": /&/, }, + "placeholder": /%\\[-\\\\w\\]\\+/, + "variable": /\\\\\\$\\[-\\\\w\\]\\+\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}/, + }, + "pattern": /\\(\\?=\\\\S\\)\\[\\^@;\\{\\}\\(\\)\\]\\?\\(\\?:\\[\\^@;\\{\\}\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\\\s\\)\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}\\)\\+\\(\\?=\\\\s\\*\\\\\\{\\(\\?:\\\\\\}\\|\\\\s\\|\\[\\^\\}\\]\\[\\^:\\{\\}\\]\\*\\[:\\{\\]\\[\\^\\}\\]\\+\\)\\)/m, + }, + "statement": { + "alias": "keyword", + "pattern": /\\\\B!\\(\\?:default\\|optional\\)\\\\b/i, + }, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": /\\(\\?:\\[-a-z\\]\\+-\\)\\?url\\(\\?=\\\\\\(\\)/i, + "variable": /\\\\\\$\\[-\\\\w\\]\\+\\|#\\\\\\{\\\\\\$\\[-\\\\w\\]\\+\\\\\\}/, + }, + "shell": { + "assign-left": { + "alias": "variable", + "inside": { "environment": { "alias": "constant", - "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, }, + }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, + }, + "boolean": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "builtin": { + "alias": "class-name", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, + }, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "file-descriptor": { + "alias": "important", + "pattern": /\\\\B&\\\\d\\\\b/, + }, + "for-or-select": { + "alias": "variable", + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, + }, + "function": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "function-name": [ + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, + }, + { + "alias": "function", + "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + }, + "operator": { + "inside": { "file-descriptor": { "alias": "important", - "pattern": /\\\\B&\\\\d\\\\b/, - }, - "for-or-select": { - "alias": "variable", - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, + "pattern": /\\^\\\\d/, }, - "function": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "function-name": [ - { - "alias": "function", + }, + "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, + }, + "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, + "shebang": { + "alias": "important", + "pattern": /\\^#!\\\\s\\*\\\\/\\.\\*/, + }, + "string": [ + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, }, - { - "alias": "function", - "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, }, - ], - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, - }, - "operator": { - "inside": { - "file-descriptor": { - "alias": "important", - "pattern": /\\^\\\\d/, + "variable": [ + { + "greedy": true, + "inside": { + "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, + "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, + "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, + "variable": [ + { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, + }, + /\\^\\\\\\$\\\\\\(\\\\\\(/, + ], + }, + "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, }, - }, - "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, - }, - "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, - "string": [ - { - "greedy": true, - "inside": { - "bash": { - "alias": "punctuation", - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + { + "greedy": true, + "inside": { + "assign-left": { + "alias": "variable", + "inside": { + "environment": { + "alias": "constant", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, + }, + "boolean": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "builtin": { + "alias": "class-name", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, + }, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "file-descriptor": { + "alias": "important", + "pattern": /\\\\B&\\\\d\\\\b/, + }, + "for-or-select": { + "alias": "variable", + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, + }, + "function": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "function-name": [ + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, + }, + { + "alias": "function", + "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + }, + "operator": { + "inside": { + "file-descriptor": { + "alias": "important", + "pattern": /\\^\\\\d/, + }, + }, + "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, + }, + "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, + "string": [Circular], + "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, }, - "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, + }, + { + "greedy": true, + "inside": { + "environment": { + "alias": "constant", + "lookbehind": true, + "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, + "punctuation": /\\[\\\\\\[\\\\\\]\\]/, }, - "variable": [Circular], + "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, }, + /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, + ], + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\\\w\\+\\?\\)\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\2/, + }, + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\\\w\\+\\?\\)\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\2/, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, }, - { - "greedy": true, - "inside": { - "bash": { - "alias": "punctuation", - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, - }, - }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\["'\\]\\)\\(\\\\w\\+\\)\\\\2\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\3/, + }, + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\["'\\]\\)\\(\\\\w\\+\\)\\\\2\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\3/, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, }, - { - "greedy": true, - "inside": { - "bash": { - "alias": "punctuation", - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "variable": [ + { + "greedy": true, + "inside": { + "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, + "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, + "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, + "variable": [ + { + "lookbehind": true, + "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, + }, + /\\^\\\\\\$\\\\\\(\\\\\\(/, + ], + }, + "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, + }, + { + "greedy": true, + "inside": { + "assign-left": { + "alias": "variable", + "inside": { + "environment": { + "alias": "constant", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, + }, + "boolean": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "builtin": { + "alias": "class-name", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, + }, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "file-descriptor": { + "alias": "important", + "pattern": /\\\\B&\\\\d\\\\b/, + }, + "for-or-select": { + "alias": "variable", + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, + }, + "function": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "function-name": [ + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, + }, + { + "alias": "function", + "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + }, + "operator": { + "inside": { + "file-descriptor": { + "alias": "important", + "pattern": /\\^\\\\d/, + }, + }, + "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, + }, + "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, + "string": [Circular], + "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, }, - "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, - "environment": { - "alias": "constant", - "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, + }, + { + "greedy": true, + "inside": { + "environment": { + "alias": "constant", + "lookbehind": true, + "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, + "punctuation": /\\[\\\\\\[\\\\\\]\\]/, }, - "variable": [Circular], + "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\(\\?:\\\\\\\\\\\\\\\\\\)\\*\\)\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\\\\\$\\(\\?!\\\\\\(\\)\\|\`\\[\\^\`\\]\\+\`\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\`\\$\\]\\)\\*\\\\2/, - }, - ], - "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, - }, - "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, - }, - { - "greedy": true, - "inside": { - "environment": { - "alias": "constant", - "lookbehind": true, - "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, + ], }, - "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, - "punctuation": /\\[\\\\\\[\\\\\\]\\]/, - }, - "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, - }, - /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, - ], - }, - "sql": { - "boolean": /\\\\b\\(\\?:TRUE\\|FALSE\\|NULL\\)\\\\b/i, - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\(\\?:--\\|\\\\/\\\\/\\|#\\)\\.\\*\\)/, - }, - "function": /\\\\b\\(\\?:AVG\\|COUNT\\|FIRST\\|FORMAT\\|LAST\\|LCASE\\|LEN\\|MAX\\|MID\\|MIN\\|MOD\\|NOW\\|ROUND\\|SUM\\|UCASE\\)\\(\\?=\\\\s\\*\\\\\\(\\)/i, - "keyword": /\\\\b\\(\\?:ACTION\\|ADD\\|AFTER\\|ALGORITHM\\|ALL\\|ALTER\\|ANALYZE\\|ANY\\|APPLY\\|AS\\|ASC\\|AUTHORIZATION\\|AUTO_INCREMENT\\|BACKUP\\|BDB\\|BEGIN\\|BERKELEYDB\\|BIGINT\\|BINARY\\|BIT\\|BLOB\\|BOOL\\|BOOLEAN\\|BREAK\\|BROWSE\\|BTREE\\|BULK\\|BY\\|CALL\\|CASCADED\\?\\|CASE\\|CHAIN\\|CHAR\\(\\?:ACTER\\|SET\\)\\?\\|CHECK\\(\\?:POINT\\)\\?\\|CLOSE\\|CLUSTERED\\|COALESCE\\|COLLATE\\|COLUMNS\\?\\|COMMENT\\|COMMIT\\(\\?:TED\\)\\?\\|COMPUTE\\|CONNECT\\|CONSISTENT\\|CONSTRAINT\\|CONTAINS\\(\\?:TABLE\\)\\?\\|CONTINUE\\|CONVERT\\|CREATE\\|CROSS\\|CURRENT\\(\\?:_DATE\\|_TIME\\|_TIMESTAMP\\|_USER\\)\\?\\|CURSOR\\|CYCLE\\|DATA\\(\\?:BASES\\?\\)\\?\\|DATE\\(\\?:TIME\\)\\?\\|DAY\\|DBCC\\|DEALLOCATE\\|DEC\\|DECIMAL\\|DECLARE\\|DEFAULT\\|DEFINER\\|DELAYED\\|DELETE\\|DELIMITERS\\?\\|DENY\\|DESC\\|DESCRIBE\\|DETERMINISTIC\\|DISABLE\\|DISCARD\\|DISK\\|DISTINCT\\|DISTINCTROW\\|DISTRIBUTED\\|DO\\|DOUBLE\\|DROP\\|DUMMY\\|DUMP\\(\\?:FILE\\)\\?\\|DUPLICATE\\|ELSE\\(\\?:IF\\)\\?\\|ENABLE\\|ENCLOSED\\|END\\|ENGINE\\|ENUM\\|ERRLVL\\|ERRORS\\|ESCAPED\\?\\|EXCEPT\\|EXEC\\(\\?:UTE\\)\\?\\|EXISTS\\|EXIT\\|EXPLAIN\\|EXTENDED\\|FETCH\\|FIELDS\\|FILE\\|FILLFACTOR\\|FIRST\\|FIXED\\|FLOAT\\|FOLLOWING\\|FOR\\(\\?: EACH ROW\\)\\?\\|FORCE\\|FOREIGN\\|FREETEXT\\(\\?:TABLE\\)\\?\\|FROM\\|FULL\\|FUNCTION\\|GEOMETRY\\(\\?:COLLECTION\\)\\?\\|GLOBAL\\|GOTO\\|GRANT\\|GROUP\\|HANDLER\\|HASH\\|HAVING\\|HOLDLOCK\\|HOUR\\|IDENTITY\\(\\?:_INSERT\\|COL\\)\\?\\|IF\\|IGNORE\\|IMPORT\\|INDEX\\|INFILE\\|INNER\\|INNODB\\|INOUT\\|INSERT\\|INT\\|INTEGER\\|INTERSECT\\|INTERVAL\\|INTO\\|INVOKER\\|ISOLATION\\|ITERATE\\|JOIN\\|KEYS\\?\\|KILL\\|LANGUAGE\\|LAST\\|LEAVE\\|LEFT\\|LEVEL\\|LIMIT\\|LINENO\\|LINES\\|LINESTRING\\|LOAD\\|LOCAL\\|LOCK\\|LONG\\(\\?:BLOB\\|TEXT\\)\\|LOOP\\|MATCH\\(\\?:ED\\)\\?\\|MEDIUM\\(\\?:BLOB\\|INT\\|TEXT\\)\\|MERGE\\|MIDDLEINT\\|MINUTE\\|MODE\\|MODIFIES\\|MODIFY\\|MONTH\\|MULTI\\(\\?:LINESTRING\\|POINT\\|POLYGON\\)\\|NATIONAL\\|NATURAL\\|NCHAR\\|NEXT\\|NO\\|NONCLUSTERED\\|NULLIF\\|NUMERIC\\|OFF\\?\\|OFFSETS\\?\\|ON\\|OPEN\\(\\?:DATASOURCE\\|QUERY\\|ROWSET\\)\\?\\|OPTIMIZE\\|OPTION\\(\\?:ALLY\\)\\?\\|ORDER\\|OUT\\(\\?:ER\\|FILE\\)\\?\\|OVER\\|PARTIAL\\|PARTITION\\|PERCENT\\|PIVOT\\|PLAN\\|POINT\\|POLYGON\\|PRECEDING\\|PRECISION\\|PREPARE\\|PREV\\|PRIMARY\\|PRINT\\|PRIVILEGES\\|PROC\\(\\?:EDURE\\)\\?\\|PUBLIC\\|PURGE\\|QUICK\\|RAISERROR\\|READS\\?\\|REAL\\|RECONFIGURE\\|REFERENCES\\|RELEASE\\|RENAME\\|REPEAT\\(\\?:ABLE\\)\\?\\|REPLACE\\|REPLICATION\\|REQUIRE\\|RESIGNAL\\|RESTORE\\|RESTRICT\\|RETURN\\(\\?:S\\|ING\\)\\?\\|REVOKE\\|RIGHT\\|ROLLBACK\\|ROUTINE\\|ROW\\(\\?:COUNT\\|GUIDCOL\\|S\\)\\?\\|RTREE\\|RULE\\|SAVE\\(\\?:POINT\\)\\?\\|SCHEMA\\|SECOND\\|SELECT\\|SERIAL\\(\\?:IZABLE\\)\\?\\|SESSION\\(\\?:_USER\\)\\?\\|SET\\(\\?:USER\\)\\?\\|SHARE\\|SHOW\\|SHUTDOWN\\|SIMPLE\\|SMALLINT\\|SNAPSHOT\\|SOME\\|SONAME\\|SQL\\|START\\(\\?:ING\\)\\?\\|STATISTICS\\|STATUS\\|STRIPED\\|SYSTEM_USER\\|TABLES\\?\\|TABLESPACE\\|TEMP\\(\\?:ORARY\\|TABLE\\)\\?\\|TERMINATED\\|TEXT\\(\\?:SIZE\\)\\?\\|THEN\\|TIME\\(\\?:STAMP\\)\\?\\|TINY\\(\\?:BLOB\\|INT\\|TEXT\\)\\|TOP\\?\\|TRAN\\(\\?:SACTIONS\\?\\)\\?\\|TRIGGER\\|TRUNCATE\\|TSEQUAL\\|TYPES\\?\\|UNBOUNDED\\|UNCOMMITTED\\|UNDEFINED\\|UNION\\|UNIQUE\\|UNLOCK\\|UNPIVOT\\|UNSIGNED\\|UPDATE\\(\\?:TEXT\\)\\?\\|USAGE\\|USE\\|USER\\|USING\\|VALUES\\?\\|VAR\\(\\?:BINARY\\|CHAR\\|CHARACTER\\|YING\\)\\|VIEW\\|WAITFOR\\|WARNINGS\\|WHEN\\|WHERE\\|WHILE\\|WITH\\(\\?: ROLLUP\\|IN\\)\\?\\|WORK\\|WRITE\\(\\?:TEXT\\)\\?\\|YEAR\\)\\\\b/i, - "number": /\\\\b0x\\[\\\\da-f\\]\\+\\\\b\\|\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\\\b/i, - "operator": /\\[-\\+\\*\\\\/=%\\^~\\]\\|&&\\?\\|\\\\\\|\\\\\\|\\?\\|!=\\?\\|<\\(\\?:=>\\?\\|<\\|>\\)\\?\\|>\\[>=\\]\\?\\|\\\\b\\(\\?:AND\\|BETWEEN\\|IN\\|LIKE\\|NOT\\|OR\\|IS\\|DIV\\|REGEXP\\|RLIKE\\|SOUNDS LIKE\\|XOR\\)\\\\b/i, - "punctuation": /\\[;\\[\\\\\\]\\(\\)\`,\\.\\]/, - "string": { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^@\\\\\\\\\\]\\)\\("\\|'\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\\]\\|\\\\2\\\\2\\)\\*\\\\2/, - }, - "variable": [ - { - "greedy": true, - "pattern": /@\\(\\["'\`\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\]\\)\\+\\\\1/, - }, - /@\\[\\\\w\\.\\$\\]\\+/, - ], - }, - "ssml": { - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { - "greedy": true, - "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\(\\?:\\\\\\\\\\\\\\\\\\)\\*\\)\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\\\\\$\\(\\?!\\\\\\(\\)\\|\`\\[\\^\`\\]\\+\`\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\`\\$\\]\\)\\*\\\\2/, }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { + ], + "variable": [ + { "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, - }, - }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, - }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ + "number": /\\\\b0x\\[\\\\dA-Fa-f\\]\\+\\\\b\\|\\(\\?:\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\)\\(\\?:\\[Ee\\]-\\?\\\\d\\+\\)\\?/, + "operator": /--\\?\\|-=\\|\\\\\\+\\\\\\+\\?\\|\\\\\\+=\\|!=\\?\\|~\\|\\\\\\*\\\\\\*\\?\\|\\\\\\*=\\|\\\\/=\\?\\|%=\\?\\|<<=\\?\\|>>=\\?\\|<=\\?\\|>=\\?\\|==\\?\\|&&\\?\\|&=\\|\\\\\\^=\\?\\|\\\\\\|\\\\\\|\\?\\|\\\\\\|=\\|\\\\\\?\\|:/, + "punctuation": /\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|,\\|;/, + "variable": [ { - "alias": "attr-equals", - "pattern": /\\^=/, + "lookbehind": true, + "pattern": /\\(\\^\\\\\\$\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\)\\\\\\)\\\\\\)/, }, - /"\\|'/, + /\\^\\\\\\$\\\\\\(\\\\\\(/, ], }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, + "pattern": /\\\\\\$\\?\\\\\\(\\\\\\(\\[\\\\s\\\\S\\]\\+\\?\\\\\\)\\\\\\)/, }, - "punctuation": /\\\\/\\?>/, - "tag": { + { + "greedy": true, "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, - }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, - }, - }, - "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, - }, - }, - "stylus": { - "atrule-declaration": { - "inside": { - "atrule": /\\^@\\[\\\\w-\\]\\+/, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "assign-left": { + "alias": "variable", "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + "environment": { + "alias": "constant", "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\\\w\\+\\(\\?=\\\\\\+\\?=\\)/, }, - ], - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, - }, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "func": { - "inside": { - "function": /\\^\\[\\^\\(\\]\\+/, - "rest": [Circular], + "boolean": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:true\\|false\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, }, - "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, - }, - "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, - "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, - "interpolation": { - "alias": "variable", - "inside": { - "delimiter": { - "alias": "punctuation", - "pattern": /\\^\\{\\|\\}\\$/, + "builtin": { + "alias": "class-name", + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:\\\\\\.\\|:\\|break\\|cd\\|continue\\|eval\\|exec\\|exit\\|export\\|getopts\\|hash\\|pwd\\|readonly\\|return\\|shift\\|test\\|times\\|trap\\|umask\\|unset\\|alias\\|bind\\|builtin\\|caller\\|command\\|declare\\|echo\\|enable\\|help\\|let\\|local\\|logout\\|mapfile\\|printf\\|read\\|readarray\\|source\\|type\\|typeset\\|ulimit\\|unalias\\|set\\|shopt\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^"\\{\\\\\\\\\\$\\]\\)#\\.\\*/, + }, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\?\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "file-descriptor": { + "alias": "important", + "pattern": /\\\\B&\\\\d\\\\b/, + }, + "for-or-select": { + "alias": "variable", + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:for\\|select\\)\\\\s\\+\\)\\\\w\\+\\(\\?=\\\\s\\+in\\\\s\\)/, + }, + "function": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:add\\|apropos\\|apt\\|aptitude\\|apt-cache\\|apt-get\\|aspell\\|automysqlbackup\\|awk\\|basename\\|bash\\|bc\\|bconsole\\|bg\\|bzip2\\|cal\\|cat\\|cfdisk\\|chgrp\\|chkconfig\\|chmod\\|chown\\|chroot\\|cksum\\|clear\\|cmp\\|column\\|comm\\|composer\\|cp\\|cron\\|crontab\\|csplit\\|curl\\|cut\\|date\\|dc\\|dd\\|ddrescue\\|debootstrap\\|df\\|diff\\|diff3\\|dig\\|dir\\|dircolors\\|dirname\\|dirs\\|dmesg\\|du\\|egrep\\|eject\\|env\\|ethtool\\|expand\\|expect\\|expr\\|fdformat\\|fdisk\\|fg\\|fgrep\\|file\\|find\\|fmt\\|fold\\|format\\|free\\|fsck\\|ftp\\|fuser\\|gawk\\|git\\|gparted\\|grep\\|groupadd\\|groupdel\\|groupmod\\|groups\\|grub-mkconfig\\|gzip\\|halt\\|head\\|hg\\|history\\|host\\|hostname\\|htop\\|iconv\\|id\\|ifconfig\\|ifdown\\|ifup\\|import\\|install\\|ip\\|jobs\\|join\\|kill\\|killall\\|less\\|link\\|ln\\|locate\\|logname\\|logrotate\\|look\\|lpc\\|lpr\\|lprint\\|lprintd\\|lprintq\\|lprm\\|ls\\|lsof\\|lynx\\|make\\|man\\|mc\\|mdadm\\|mkconfig\\|mkdir\\|mke2fs\\|mkfifo\\|mkfs\\|mkisofs\\|mknod\\|mkswap\\|mmv\\|more\\|most\\|mount\\|mtools\\|mtr\\|mutt\\|mv\\|nano\\|nc\\|netstat\\|nice\\|nl\\|nohup\\|notify-send\\|npm\\|nslookup\\|op\\|open\\|parted\\|passwd\\|paste\\|pathchk\\|ping\\|pkill\\|pnpm\\|popd\\|pr\\|printcap\\|printenv\\|ps\\|pushd\\|pv\\|quota\\|quotacheck\\|quotactl\\|ram\\|rar\\|rcp\\|reboot\\|remsync\\|rename\\|renice\\|rev\\|rm\\|rmdir\\|rpm\\|rsync\\|scp\\|screen\\|sdiff\\|sed\\|sendmail\\|seq\\|service\\|sftp\\|sh\\|shellcheck\\|shuf\\|shutdown\\|sleep\\|slocate\\|sort\\|split\\|ssh\\|stat\\|strace\\|su\\|sudo\\|sum\\|suspend\\|swapon\\|sync\\|tac\\|tail\\|tar\\|tee\\|time\\|timeout\\|top\\|touch\\|tr\\|traceroute\\|tsort\\|tty\\|umount\\|uname\\|unexpand\\|uniq\\|units\\|unrar\\|unshar\\|unzip\\|update-grub\\|uptime\\|useradd\\|userdel\\|usermod\\|users\\|uudecode\\|uuencode\\|v\\|vdir\\|vi\\|vim\\|virsh\\|vmstat\\|wait\\|watch\\|wc\\|wget\\|whereis\\|which\\|who\\|whoami\\|write\\|xargs\\|xdg-open\\|yarn\\|yes\\|zenity\\|zip\\|zsh\\|zypper\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, + }, + "function-name": [ + { + "alias": "function", + "lookbehind": true, + "pattern": /\\(\\\\bfunction\\\\s\\+\\)\\\\w\\+\\(\\?=\\(\\?:\\\\s\\*\\\\\\(\\?:\\\\s\\*\\\\\\)\\)\\?\\\\s\\*\\\\\\{\\)/, }, - "rest": [Circular], + { + "alias": "function", + "pattern": /\\\\b\\\\w\\+\\(\\?=\\\\s\\*\\\\\\(\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\\\s;\\|&\\]\\|\\[<>\\]\\\\\\(\\)\\(\\?:if\\|then\\|else\\|elif\\|fi\\|for\\|while\\|in\\|case\\|esac\\|function\\|select\\|do\\|done\\|until\\)\\(\\?=\\$\\|\\[\\)\\\\s;\\|&\\]\\)/, }, - "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, - }, - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": [ - /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, - ], - "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, - }, - "url": { - "greedy": true, - "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, - }, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^\\\\s\\*\\)@\\.\\+/m, - }, - "comment": { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, - }, - "func": { - "inside": { - "function": /\\^\\[\\^\\(\\]\\+/, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\)\\(\\?:\\[1-9\\]\\\\d\\*\\|0\\)\\(\\?:\\[\\.,\\]\\\\d\\+\\)\\?\\\\b/, + }, + "operator": { "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + "file-descriptor": { + "alias": "important", + "pattern": /\\^\\\\d/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /\\\\d\\?<>\\|>\\\\\\|\\|\\\\\\+=\\|==\\?\\|!=\\?\\|=~\\|<<\\[<-\\]\\?\\|\\[&\\\\d\\]\\?>>\\|\\\\d\\?\\[<>\\]&\\?\\|&\\[>&\\]\\?\\|\\\\\\|\\[&\\|\\]\\?\\|<=\\?\\|>=\\?/, }, - ], - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, - }, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "func": [Circular], - "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, - "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, - "interpolation": { - "alias": "variable", - "inside": { - "delimiter": { - "alias": "punctuation", - "pattern": /\\^\\{\\|\\}\\$/, + "punctuation": /\\\\\\$\\?\\\\\\(\\\\\\(\\?\\|\\\\\\)\\\\\\)\\?\\|\\\\\\.\\\\\\.\\|\\[\\{\\}\\[\\\\\\];\\\\\\\\\\]/, + "string": [ + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + }, + "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "variable": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\\\w\\+\\?\\)\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\2/, }, - "rest": [Circular], - }, - "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, - }, - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^<\\]\\)<<-\\?\\\\s\\*\\)\\(\\["'\\]\\)\\(\\\\w\\+\\)\\\\2\\\\s\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\\\3/, + }, + { + "greedy": true, + "inside": { + "bash": { + "alias": "punctuation", + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\^\\(\\["'\\]\\?\\)\\\\w\\+\\\\2\\)\\[ \\\\t\\]\\+\\\\S\\.\\*/, + }, + "entity": /\\\\\\\\\\(\\?:\\[abceEfnrtv\\\\\\\\"\\]\\|O\\?\\[0-7\\]\\{1,3\\}\\|x\\[0-9a-fA-F\\]\\{1,2\\}\\|u\\[0-9a-fA-F\\]\\{4\\}\\|U\\[0-9a-fA-F\\]\\{8\\}\\)/, + "environment": { + "alias": "constant", + "pattern": /\\\\\\$\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "variable": [Circular], + }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\(\\?:\\\\\\\\\\\\\\\\\\)\\*\\)\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\\\\\$\\(\\?!\\\\\\(\\)\\|\`\\[\\^\`\\]\\+\`\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\`\\$\\]\\)\\*\\\\2/, + }, + ], + "variable": /\\^\\\\\\$\\\\\\(\\|\\^\`\\|\\\\\\)\\$\\|\`\\$/, }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + "pattern": /\\\\\\$\\\\\\(\\(\\?:\\\\\\(\\[\\^\\)\\]\\+\\\\\\)\\|\\[\\^\\(\\)\\]\\)\\+\\\\\\)\\|\`\\[\\^\`\\]\\+\`/, + }, + { + "greedy": true, + "inside": { + "environment": { + "alias": "constant", + "lookbehind": true, + "pattern": /\\(\\\\\\{\\)\\\\b\\(\\?:BASH\\|BASHOPTS\\|BASH_ALIASES\\|BASH_ARGC\\|BASH_ARGV\\|BASH_CMDS\\|BASH_COMPLETION_COMPAT_DIR\\|BASH_LINENO\\|BASH_REMATCH\\|BASH_SOURCE\\|BASH_VERSINFO\\|BASH_VERSION\\|COLORTERM\\|COLUMNS\\|COMP_WORDBREAKS\\|DBUS_SESSION_BUS_ADDRESS\\|DEFAULTS_PATH\\|DESKTOP_SESSION\\|DIRSTACK\\|DISPLAY\\|EUID\\|GDMSESSION\\|GDM_LANG\\|GNOME_KEYRING_CONTROL\\|GNOME_KEYRING_PID\\|GPG_AGENT_INFO\\|GROUPS\\|HISTCONTROL\\|HISTFILE\\|HISTFILESIZE\\|HISTSIZE\\|HOME\\|HOSTNAME\\|HOSTTYPE\\|IFS\\|INSTANCE\\|JOB\\|LANG\\|LANGUAGE\\|LC_ADDRESS\\|LC_ALL\\|LC_IDENTIFICATION\\|LC_MEASUREMENT\\|LC_MONETARY\\|LC_NAME\\|LC_NUMERIC\\|LC_PAPER\\|LC_TELEPHONE\\|LC_TIME\\|LESSCLOSE\\|LESSOPEN\\|LINES\\|LOGNAME\\|LS_COLORS\\|MACHTYPE\\|MAILCHECK\\|MANDATORY_PATH\\|NO_AT_BRIDGE\\|OLDPWD\\|OPTERR\\|OPTIND\\|ORBIT_SOCKETDIR\\|OSTYPE\\|PAPERSIZE\\|PATH\\|PIPESTATUS\\|PPID\\|PS1\\|PS2\\|PS3\\|PS4\\|PWD\\|RANDOM\\|REPLY\\|SECONDS\\|SELINUX_INIT\\|SESSION\\|SESSIONTYPE\\|SESSION_MANAGER\\|SHELL\\|SHELLOPTS\\|SHLVL\\|SSH_AUTH_SOCK\\|TERM\\|UID\\|UPSTART_EVENTS\\|UPSTART_INSTANCE\\|UPSTART_JOB\\|UPSTART_SESSION\\|USER\\|WINDOWID\\|XAUTHORITY\\|XDG_CONFIG_DIRS\\|XDG_CURRENT_DESKTOP\\|XDG_DATA_DIRS\\|XDG_GREETER_DATA_DIR\\|XDG_MENU_PREFIX\\|XDG_RUNTIME_DIR\\|XDG_SEAT\\|XDG_SEAT_PATH\\|XDG_SESSION_DESKTOP\\|XDG_SESSION_ID\\|XDG_SESSION_PATH\\|XDG_SESSION_TYPE\\|XDG_VTNR\\|XMODIFIERS\\)\\\\b/, + }, + "operator": /:\\[-=\\?\\+\\]\\?\\|\\[!\\\\/\\]\\|##\\?\\|%%\\?\\|\\\\\\^\\\\\\^\\?\\|,,\\?/, + "punctuation": /\\[\\\\\\[\\\\\\]\\]/, }, - "operator": [ - /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, - ], - "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, - "string": { + "pattern": /\\\\\\$\\\\\\{\\[\\^\\}\\]\\+\\\\\\}/, + }, + /\\\\\\$\\(\\?:\\\\w\\+\\|\\[#\\?\\*!@\\$\\]\\)/, + ], + }, + "sql": { + "boolean": /\\\\b\\(\\?:TRUE\\|FALSE\\|NULL\\)\\\\b/i, + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\(\\?:--\\|\\\\/\\\\/\\|#\\)\\.\\*\\)/, + }, + "function": /\\\\b\\(\\?:AVG\\|COUNT\\|FIRST\\|FORMAT\\|LAST\\|LCASE\\|LEN\\|MAX\\|MID\\|MIN\\|MOD\\|NOW\\|ROUND\\|SUM\\|UCASE\\)\\(\\?=\\\\s\\*\\\\\\(\\)/i, + "keyword": /\\\\b\\(\\?:ACTION\\|ADD\\|AFTER\\|ALGORITHM\\|ALL\\|ALTER\\|ANALYZE\\|ANY\\|APPLY\\|AS\\|ASC\\|AUTHORIZATION\\|AUTO_INCREMENT\\|BACKUP\\|BDB\\|BEGIN\\|BERKELEYDB\\|BIGINT\\|BINARY\\|BIT\\|BLOB\\|BOOL\\|BOOLEAN\\|BREAK\\|BROWSE\\|BTREE\\|BULK\\|BY\\|CALL\\|CASCADED\\?\\|CASE\\|CHAIN\\|CHAR\\(\\?:ACTER\\|SET\\)\\?\\|CHECK\\(\\?:POINT\\)\\?\\|CLOSE\\|CLUSTERED\\|COALESCE\\|COLLATE\\|COLUMNS\\?\\|COMMENT\\|COMMIT\\(\\?:TED\\)\\?\\|COMPUTE\\|CONNECT\\|CONSISTENT\\|CONSTRAINT\\|CONTAINS\\(\\?:TABLE\\)\\?\\|CONTINUE\\|CONVERT\\|CREATE\\|CROSS\\|CURRENT\\(\\?:_DATE\\|_TIME\\|_TIMESTAMP\\|_USER\\)\\?\\|CURSOR\\|CYCLE\\|DATA\\(\\?:BASES\\?\\)\\?\\|DATE\\(\\?:TIME\\)\\?\\|DAY\\|DBCC\\|DEALLOCATE\\|DEC\\|DECIMAL\\|DECLARE\\|DEFAULT\\|DEFINER\\|DELAYED\\|DELETE\\|DELIMITERS\\?\\|DENY\\|DESC\\|DESCRIBE\\|DETERMINISTIC\\|DISABLE\\|DISCARD\\|DISK\\|DISTINCT\\|DISTINCTROW\\|DISTRIBUTED\\|DO\\|DOUBLE\\|DROP\\|DUMMY\\|DUMP\\(\\?:FILE\\)\\?\\|DUPLICATE\\|ELSE\\(\\?:IF\\)\\?\\|ENABLE\\|ENCLOSED\\|END\\|ENGINE\\|ENUM\\|ERRLVL\\|ERRORS\\|ESCAPED\\?\\|EXCEPT\\|EXEC\\(\\?:UTE\\)\\?\\|EXISTS\\|EXIT\\|EXPLAIN\\|EXTENDED\\|FETCH\\|FIELDS\\|FILE\\|FILLFACTOR\\|FIRST\\|FIXED\\|FLOAT\\|FOLLOWING\\|FOR\\(\\?: EACH ROW\\)\\?\\|FORCE\\|FOREIGN\\|FREETEXT\\(\\?:TABLE\\)\\?\\|FROM\\|FULL\\|FUNCTION\\|GEOMETRY\\(\\?:COLLECTION\\)\\?\\|GLOBAL\\|GOTO\\|GRANT\\|GROUP\\|HANDLER\\|HASH\\|HAVING\\|HOLDLOCK\\|HOUR\\|IDENTITY\\(\\?:_INSERT\\|COL\\)\\?\\|IF\\|IGNORE\\|IMPORT\\|INDEX\\|INFILE\\|INNER\\|INNODB\\|INOUT\\|INSERT\\|INT\\|INTEGER\\|INTERSECT\\|INTERVAL\\|INTO\\|INVOKER\\|ISOLATION\\|ITERATE\\|JOIN\\|KEYS\\?\\|KILL\\|LANGUAGE\\|LAST\\|LEAVE\\|LEFT\\|LEVEL\\|LIMIT\\|LINENO\\|LINES\\|LINESTRING\\|LOAD\\|LOCAL\\|LOCK\\|LONG\\(\\?:BLOB\\|TEXT\\)\\|LOOP\\|MATCH\\(\\?:ED\\)\\?\\|MEDIUM\\(\\?:BLOB\\|INT\\|TEXT\\)\\|MERGE\\|MIDDLEINT\\|MINUTE\\|MODE\\|MODIFIES\\|MODIFY\\|MONTH\\|MULTI\\(\\?:LINESTRING\\|POINT\\|POLYGON\\)\\|NATIONAL\\|NATURAL\\|NCHAR\\|NEXT\\|NO\\|NONCLUSTERED\\|NULLIF\\|NUMERIC\\|OFF\\?\\|OFFSETS\\?\\|ON\\|OPEN\\(\\?:DATASOURCE\\|QUERY\\|ROWSET\\)\\?\\|OPTIMIZE\\|OPTION\\(\\?:ALLY\\)\\?\\|ORDER\\|OUT\\(\\?:ER\\|FILE\\)\\?\\|OVER\\|PARTIAL\\|PARTITION\\|PERCENT\\|PIVOT\\|PLAN\\|POINT\\|POLYGON\\|PRECEDING\\|PRECISION\\|PREPARE\\|PREV\\|PRIMARY\\|PRINT\\|PRIVILEGES\\|PROC\\(\\?:EDURE\\)\\?\\|PUBLIC\\|PURGE\\|QUICK\\|RAISERROR\\|READS\\?\\|REAL\\|RECONFIGURE\\|REFERENCES\\|RELEASE\\|RENAME\\|REPEAT\\(\\?:ABLE\\)\\?\\|REPLACE\\|REPLICATION\\|REQUIRE\\|RESIGNAL\\|RESTORE\\|RESTRICT\\|RETURN\\(\\?:S\\|ING\\)\\?\\|REVOKE\\|RIGHT\\|ROLLBACK\\|ROUTINE\\|ROW\\(\\?:COUNT\\|GUIDCOL\\|S\\)\\?\\|RTREE\\|RULE\\|SAVE\\(\\?:POINT\\)\\?\\|SCHEMA\\|SECOND\\|SELECT\\|SERIAL\\(\\?:IZABLE\\)\\?\\|SESSION\\(\\?:_USER\\)\\?\\|SET\\(\\?:USER\\)\\?\\|SHARE\\|SHOW\\|SHUTDOWN\\|SIMPLE\\|SMALLINT\\|SNAPSHOT\\|SOME\\|SONAME\\|SQL\\|START\\(\\?:ING\\)\\?\\|STATISTICS\\|STATUS\\|STRIPED\\|SYSTEM_USER\\|TABLES\\?\\|TABLESPACE\\|TEMP\\(\\?:ORARY\\|TABLE\\)\\?\\|TERMINATED\\|TEXT\\(\\?:SIZE\\)\\?\\|THEN\\|TIME\\(\\?:STAMP\\)\\?\\|TINY\\(\\?:BLOB\\|INT\\|TEXT\\)\\|TOP\\?\\|TRAN\\(\\?:SACTIONS\\?\\)\\?\\|TRIGGER\\|TRUNCATE\\|TSEQUAL\\|TYPES\\?\\|UNBOUNDED\\|UNCOMMITTED\\|UNDEFINED\\|UNION\\|UNIQUE\\|UNLOCK\\|UNPIVOT\\|UNSIGNED\\|UPDATE\\(\\?:TEXT\\)\\?\\|USAGE\\|USE\\|USER\\|USING\\|VALUES\\?\\|VAR\\(\\?:BINARY\\|CHAR\\|CHARACTER\\|YING\\)\\|VIEW\\|WAITFOR\\|WARNINGS\\|WHEN\\|WHERE\\|WHILE\\|WITH\\(\\?: ROLLUP\\|IN\\)\\?\\|WORK\\|WRITE\\(\\?:TEXT\\)\\?\\|YEAR\\)\\\\b/i, + "number": /\\\\b0x\\[\\\\da-f\\]\\+\\\\b\\|\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\B\\\\\\.\\\\d\\+\\\\b/i, + "operator": /\\[-\\+\\*\\\\/=%\\^~\\]\\|&&\\?\\|\\\\\\|\\\\\\|\\?\\|!=\\?\\|<\\(\\?:=>\\?\\|<\\|>\\)\\?\\|>\\[>=\\]\\?\\|\\\\b\\(\\?:AND\\|BETWEEN\\|IN\\|LIKE\\|NOT\\|OR\\|IS\\|DIV\\|REGEXP\\|RLIKE\\|SOUNDS LIKE\\|XOR\\)\\\\b/i, + "punctuation": /\\[;\\[\\\\\\]\\(\\)\`,\\.\\]/, + "string": { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^@\\\\\\\\\\]\\)\\("\\|'\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\(\\?!\\\\2\\)\\[\\^\\\\\\\\\\]\\|\\\\2\\\\2\\)\\*\\\\2/, + }, + "variable": [ + { + "greedy": true, + "pattern": /@\\(\\["'\`\\]\\)\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\]\\)\\+\\\\1/, + }, + /@\\[\\\\w\\.\\$\\]\\+/, + ], + }, + "ssml": { + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, + "doctype": { + "greedy": true, + "inside": { + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, - }, - "unit": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, }, - "url": { + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { "greedy": true, - "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, }, }, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, }, - "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, - }, - "interpolation": { - "alias": "variable", - "inside": { - "delimiter": { - "alias": "punctuation", - "pattern": /\\^\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, - }, - }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, }, - ], - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, }, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "func": { + "attr-value": { "inside": { - "function": /\\^\\[\\^\\(\\]\\+/, - "rest": [Circular], + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], }, - "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, - "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, - "interpolation": [Circular], - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": [ - /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, - ], - "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, - }, - "url": { - "greedy": true, - "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, + "punctuation": /\\\\/\\?>/, + "tag": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, + }, + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, }, }, + "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, }, - "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, }, - "property-declaration": { - "inside": { - "property": { - "inside": { + "stylus": { + "atrule-declaration": { + "inside": { + "atrule": /\\^@\\[\\\\w-\\]\\+/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, + }, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "func": { + "inside": { + "function": /\\^\\[\\^\\(\\]\\+/, + "rest": [Circular], + }, + "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, + }, + "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, + "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, "interpolation": { "alias": "variable", "inside": { @@ -24444,265 +24497,342 @@ exports[`LiveEdit renders correctly 1`] = ` "alias": "punctuation", "pattern": /\\^\\{\\|\\}\\$/, }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, - }, - }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, - }, - ], - "comment": { + "rest": [Circular], + }, + "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, + }, + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": [ + /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, + ], + "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + "url": { + "greedy": true, + "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, + }, + }, + }, + "lookbehind": true, + "pattern": /\\(\\^\\\\s\\*\\)@\\.\\+/m, + }, + "comment": { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, + }, + "func": { + "inside": { + "function": /\\^\\[\\^\\(\\]\\+/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, - }, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "func": { - "inside": { - "function": /\\^\\[\\^\\(\\]\\+/, - "rest": [Circular], - }, - "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, - "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, - "interpolation": [Circular], - "keyword": { + "punctuation": /\\[\\(\\),\\]/, + "unit": { "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, + }, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "func": [Circular], + "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, + "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, + "interpolation": { + "alias": "variable", + "inside": { + "delimiter": { + "alias": "punctuation", + "pattern": /\\^\\{\\|\\}\\$/, + }, + "rest": [Circular], + }, + "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, + }, + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": [ + /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, + ], + "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + "url": { + "greedy": true, + "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, + }, + }, + }, + "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, + }, + "interpolation": { + "alias": "variable", + "inside": { + "delimiter": { + "alias": "punctuation", + "pattern": /\\^\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, "number": { "lookbehind": true, "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "operator": [ - /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, - ], - "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, - }, + "punctuation": /\\[\\(\\),\\]/, "unit": { "lookbehind": true, "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, }, - "url": { - "greedy": true, - "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, - }, }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, }, - "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, + ], + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, }, - }, - "pattern": /\\^\\[\\^\\\\s:\\]\\+/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "func": { "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, - }, + "function": /\\^\\[\\^\\(\\]\\+/, + "rest": [Circular], }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, }, - ], - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, - }, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "func": { - "inside": { - "function": /\\^\\[\\^\\(\\]\\+/, - "rest": [Circular], + "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, + "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, + "interpolation": [Circular], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, }, - "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, - }, - "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, - "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, - "interpolation": { - "alias": "variable", - "inside": { - "delimiter": { - "alias": "punctuation", - "pattern": /\\^\\{\\|\\}\\$/, - }, - "rest": [Circular], + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": [ + /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, + ], + "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + "url": { + "greedy": true, + "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, }, - "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, - }, - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": [ - /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, - ], - "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, - }, - "url": { - "greedy": true, - "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, }, }, + "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\\\\\{\\)\\(\\[ \\\\t\\]\\*\\)\\)\\(\\?:\\[\\\\w-\\]\\|\\\\\\{\\[\\^\\}\\\\r\\\\n\\]\\+\\\\\\}\\)\\+\\(\\?:\\\\s\\*:\\\\s\\*\\|\\[ \\\\t\\]\\+\\)\\(\\?!\\\\s\\)\\[\\^\\{\\\\r\\\\n\\]\\*\\(\\?:;\\|\\[\\^\\{\\\\r\\\\n,\\]\\(\\?=\\$\\)\\(\\?!\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\(\\?:\\\\\\{\\|\\\\2\\[ \\\\t\\]\\+\\)\\)\\)/m, - }, - "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:\\.\\]/, - "selector": { - "inside": { - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, - }, - "interpolation": { - "alias": "variable", - "inside": { - "delimiter": { - "alias": "punctuation", - "pattern": /\\^\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "property-declaration": { + "inside": { + "property": { + "inside": { + "interpolation": { + "alias": "variable", + "inside": { + "delimiter": { + "alias": "punctuation", + "pattern": /\\^\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, + }, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "func": { + "inside": { + "function": /\\^\\[\\^\\(\\]\\+/, + "rest": [Circular], + }, + "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, + }, + "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, + "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, + "interpolation": [Circular], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, + }, "number": { "lookbehind": true, "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "punctuation": /\\[\\(\\),\\]/, + "operator": [ + /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, + ], + "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, + }, "unit": { "lookbehind": true, "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, }, + "url": { + "greedy": true, + "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, + }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, }, - ], - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, + "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, }, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "func": { + }, + "pattern": /\\^\\[\\^\\\\s:\\]\\+/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "function": /\\^\\[\\^\\(\\]\\+/, - "rest": [Circular], + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, }, - "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, - }, - "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, - "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, - "interpolation": [Circular], - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": [ - /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, - ], - "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, }, - "url": { - "greedy": true, - "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, + ], + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, + }, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "func": { + "inside": { + "function": /\\^\\[\\^\\(\\]\\+/, + "rest": [Circular], }, + "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, }, - }, - "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, - }, - "punctuation": /\\[\\{\\},\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\*\\)\\(\\?:\\(\\?=\\\\S\\)\\(\\?:\\[\\^\\{\\}\\\\r\\\\n:\\(\\)\\]\\|::\\?\\[\\\\w-\\]\\+\\(\\?:\\\\\\(\\[\\^\\)\\\\r\\\\n\\]\\*\\\\\\)\\|\\(\\?!\\[\\\\w-\\]\\)\\)\\|\\\\\\{\\[\\^\\}\\\\r\\\\n\\]\\+\\\\\\}\\)\\+\\)\\(\\?:\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\(\\?:\\\\1\\(\\?:\\(\\?=\\\\S\\)\\(\\?:\\[\\^\\{\\}\\\\r\\\\n:\\(\\)\\]\\|::\\?\\[\\\\w-\\]\\+\\(\\?:\\\\\\(\\[\\^\\)\\\\r\\\\n\\]\\*\\\\\\)\\|\\(\\?!\\[\\\\w-\\]\\)\\)\\|\\\\\\{\\[\\^\\}\\\\r\\\\n\\]\\+\\\\\\}\\)\\+\\)\\)\\)\\*\\(\\?:,\\$\\|\\\\\\{\\|\\(\\?=\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\(\\?:\\\\\\{\\|\\\\1\\[ \\\\t\\]\\+\\)\\)\\)/m, - }, - "statement": { - "inside": { - "keyword": /\\^\\\\S\\+/, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, + "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, + "interpolation": { + "alias": "variable", "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + "delimiter": { + "alias": "punctuation", + "pattern": /\\^\\{\\|\\}\\$/, }, + "rest": [Circular], }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, }, - ], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": [ + /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, + ], + "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + "url": { + "greedy": true, + "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, + }, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\\\\\{\\)\\(\\[ \\\\t\\]\\*\\)\\)\\(\\?:\\[\\\\w-\\]\\|\\\\\\{\\[\\^\\}\\\\r\\\\n\\]\\+\\\\\\}\\)\\+\\(\\?:\\\\s\\*:\\\\s\\*\\|\\[ \\\\t\\]\\+\\)\\(\\?!\\\\s\\)\\[\\^\\{\\\\r\\\\n\\]\\*\\(\\?:;\\|\\[\\^\\{\\\\r\\\\n,\\]\\(\\?=\\$\\)\\(\\?!\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\(\\?:\\\\\\{\\|\\\\2\\[ \\\\t\\]\\+\\)\\)\\)/m, + }, + "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:\\.\\]/, + "selector": { + "inside": { "comment": { "lookbehind": true, "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, }, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "func": { - "inside": { - "function": /\\^\\[\\^\\(\\]\\+/, - "rest": [Circular], - }, - "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, - }, - "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, - "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, "interpolation": { "alias": "variable", "inside": { @@ -24710,12678 +24840,12771 @@ exports[`LiveEdit renders correctly 1`] = ` "alias": "punctuation", "pattern": /\\^\\{\\|\\}\\$/, }, - "rest": [Circular], + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, + }, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "func": { + "inside": { + "function": /\\^\\[\\^\\(\\]\\+/, + "rest": [Circular], + }, + "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, + }, + "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, + "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, + "interpolation": [Circular], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": [ + /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, + ], + "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + "url": { + "greedy": true, + "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, + }, + }, }, "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, }, - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": [ - /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, - ], - "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, - }, - "url": { - "greedy": true, - "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, + "punctuation": /\\[\\{\\},\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\*\\)\\(\\?:\\(\\?=\\\\S\\)\\(\\?:\\[\\^\\{\\}\\\\r\\\\n:\\(\\)\\]\\|::\\?\\[\\\\w-\\]\\+\\(\\?:\\\\\\(\\[\\^\\)\\\\r\\\\n\\]\\*\\\\\\)\\|\\(\\?!\\[\\\\w-\\]\\)\\)\\|\\\\\\{\\[\\^\\}\\\\r\\\\n\\]\\+\\\\\\}\\)\\+\\)\\(\\?:\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\(\\?:\\\\1\\(\\?:\\(\\?=\\\\S\\)\\(\\?:\\[\\^\\{\\}\\\\r\\\\n:\\(\\)\\]\\|::\\?\\[\\\\w-\\]\\+\\(\\?:\\\\\\(\\[\\^\\)\\\\r\\\\n\\]\\*\\\\\\)\\|\\(\\?!\\[\\\\w-\\]\\)\\)\\|\\\\\\{\\[\\^\\}\\\\r\\\\n\\]\\+\\\\\\}\\)\\+\\)\\)\\)\\*\\(\\?:,\\$\\|\\\\\\{\\|\\(\\?=\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\(\\?:\\\\\\{\\|\\\\1\\[ \\\\t\\]\\+\\)\\)\\)/m, + }, + "statement": { + "inside": { + "keyword": /\\^\\\\S\\+/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, + }, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "func": { + "inside": { + "function": /\\^\\[\\^\\(\\]\\+/, + "rest": [Circular], + }, + "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, + }, + "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, + "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, + "interpolation": { + "alias": "variable", + "inside": { + "delimiter": { + "alias": "punctuation", + "pattern": /\\^\\{\\|\\}\\$/, + }, + "rest": [Circular], + }, + "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, + }, + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": [ + /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, + ], + "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + "url": { + "greedy": true, + "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, + }, }, }, + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\*\\)\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\[ \\\\t\\]\\.\\+/m, }, - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\*\\)\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\[ \\\\t\\]\\.\\+/m, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, - }, - "variable-declaration": { - "inside": { - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, + }, + "variable-declaration": { + "inside": { + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, + }, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "func": { + "inside": { + "function": /\\^\\[\\^\\(\\]\\+/, + "rest": [Circular], + }, + "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, + }, + "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, + "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, + "interpolation": { + "alias": "variable", "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + "delimiter": { + "alias": "punctuation", + "pattern": /\\^\\{\\|\\}\\$/, }, + "rest": [Circular], }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, }, - ], - "comment": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\/\\|\\\\/\\\\/\\.\\*\\)/, - }, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "func": { - "inside": { - "function": /\\^\\[\\^\\(\\]\\+/, - "rest": [Circular], + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, }, - "pattern": /\\[\\\\w-\\]\\+\\\\\\(\\[\\^\\)\\]\\*\\\\\\)\\.\\*/, - }, - "hexcode": /#\\[\\\\da-f\\]\\{3,6\\}/i, - "important": /\\\\B!\\(\\?:important\\|optional\\)\\\\b/i, - "interpolation": { - "alias": "variable", - "inside": { - "delimiter": { - "alias": "punctuation", - "pattern": /\\^\\{\\|\\}\\$/, - }, - "rest": [Circular], + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": [ + /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, + ], + "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + }, + "url": { + "greedy": true, + "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, }, - "pattern": /\\\\\\{\\[\\^\\\\r\\\\n\\}:\\]\\+\\\\\\}/, - }, - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\\\s\\+\\)\\(\\?:\\(\\?:if\\|else\\|for\\|return\\|unless\\)\\(\\?=\\\\s\\+\\|\\$\\)\\|@\\[\\\\w-\\]\\+\\)/, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "operator": [ - /~\\|\\[\\+!\\\\/%<>\\?=\\]=\\?\\|\\[-:\\]=\\|\\\\\\*\\[\\*=\\]\\?\\|\\\\\\.\\{2,3\\}\\|&&\\|\\\\\\|\\\\\\|\\|\\\\B-\\\\B\\|\\\\b\\(\\?:and\\|in\\|is\\(\\?: a\\| defined\\| not\\|nt\\)\\?\\|not\\|or\\)\\\\b/, - ], - "punctuation": /\\[\\{\\}\\(\\)\\\\\\[\\\\\\];:,\\]/, - "string": { + "variable": /\\^\\\\S\\+/, + }, + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\*\\)\\[\\\\w\\$-\\]\\+\\\\s\\*\\.\\?=\\[ \\\\t\\]\\*\\(\\?:\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\|\\\\S\\.\\*\\|\\$\\)/m, + }, + }, + "svg": { + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, + "doctype": { + "greedy": true, + "inside": { + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\)\\*\\\\1/, - }, - "unit": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\)/, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, }, - "url": { + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { "greedy": true, - "pattern": /url\\\\\\(\\(\\["'\\]\\?\\)\\.\\*\\?\\\\1\\\\\\)/i, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, }, }, - "variable": /\\^\\\\S\\+/, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, }, - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\*\\)\\[\\\\w\\$-\\]\\+\\\\s\\*\\.\\?=\\[ \\\\t\\]\\*\\(\\?:\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\|\\\\S\\.\\*\\|\\$\\)/m, - }, - }, - "svg": { - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { - "greedy": true, - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { - "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, - }, - }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, - }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "script": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "script": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, + }, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, + }, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, + }, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, + ], + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, + }, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-javascript": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "language-javascript": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - { - "greedy": true, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { + "imports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - ], - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, - }, - "style": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "style": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, - }, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + }, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { - "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], + "attr-value": { + "inside": { + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, - }, - "punctuation": /\\\\/\\?>/, - "style-attr": { - "inside": { - "attr-name": /\\^style/i, - "attr-value": { - "inside": { - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], - "style": { - "alias": "language-css", - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\\\/\\?>/, + "style-attr": { + "inside": { + "attr-name": /\\^style/i, + "attr-value": { + "inside": { + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + "style": { + "alias": "language-css", + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + "lookbehind": true, + "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, - "lookbehind": true, - "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, - }, - "tag": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, + "tag": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, + }, + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, }, + "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, }, - "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, - }, - }, - "ts": { - "arrow": { - "alias": "operator", - "pattern": /=>/, }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "class-name": { - "greedy": true, - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "ts": { + "arrow": { + "alias": "operator", + "pattern": /=>/, + }, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "class-name": { + "greedy": true, + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|extends\\|implements\\|instanceof\\|interface\\|new\\|type\\)\\\\s\\+\\)\\(\\?!keyof\\\\b\\)\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\)\\?/, - }, - "comment": [ - { - "greedy": true, "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\\\b\\(\\?:class\\|extends\\|implements\\|instanceof\\|interface\\|new\\|type\\)\\\\s\\+\\)\\(\\?!keyof\\\\b\\)\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\)\\?/, }, - { - "greedy": true, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, + }, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, + }, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "generic-function": { - "greedy": true, - "inside": { - "function": /\\^#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - "generic": { - "alias": "class-name", - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "generic-function": { + "greedy": true, + "inside": { + "function": /\\^#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + "generic": { + "alias": "class-name", + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /<\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /<\\[\\\\s\\\\S\\]\\+/, }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\(\\?=\\\\s\\*\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\(\\?=\\\\s\\*\\\\\\(\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - }, - "tsx": { - "arrow": { - "alias": "operator", - "pattern": /=>/, }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "class-name": { - "greedy": true, - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "tsx": { + "arrow": { + "alias": "operator", + "pattern": /=>/, + }, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "class-name": { + "greedy": true, + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, + }, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|extends\\|implements\\|instanceof\\|interface\\|new\\|type\\)\\\\s\\+\\)\\(\\?!keyof\\\\b\\)\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\)\\?/, - }, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "pattern": /\\(\\\\b\\(\\?:class\\|extends\\|implements\\|instanceof\\|interface\\|new\\|type\\)\\\\s\\+\\)\\(\\?!keyof\\\\b\\)\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\)\\?/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { + "comment": [ + { "greedy": true, - "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { + { "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, - }, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "doctype": { + "greedy": true, + "inside": { + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { + "greedy": true, + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + }, + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { + "greedy": true, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + }, + }, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "exports": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "class-name": { - "greedy": true, - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, + }, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "exports": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, + }, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "class-name": { + "greedy": true, + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, + }, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|extends\\|implements\\|instanceof\\|interface\\|new\\|type\\)\\\\s\\+\\)\\(\\?!keyof\\\\b\\)\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\)\\?/, - }, - "comment": [ - { - "greedy": true, "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\\\b\\(\\?:class\\|extends\\|implements\\|instanceof\\|interface\\|new\\|type\\)\\\\s\\+\\)\\(\\?!keyof\\\\b\\)\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\)\\?/, }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": [Circular], - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": [Circular], + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "generic-function": { - "greedy": true, - "inside": { - "function": /\\^#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - "generic": { - "alias": "class-name", - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "generic-function": { + "greedy": true, + "inside": { + "function": /\\^#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + "generic": { + "alias": "class-name", + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "pattern": /\\\\bnull\\\\b/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /<\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /<\\[\\\\s\\\\S\\]\\+/, }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\(\\?=\\\\s\\*\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\(\\?=\\\\s\\*\\\\\\(\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "generic-function": { - "greedy": true, - "inside": { - "function": /\\^#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - "generic": { - "alias": "class-name", - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "generic-function": { + "greedy": true, + "inside": { + "function": /\\^#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + "generic": { + "alias": "class-name", + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, + }, + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, + ], + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, + }, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /<\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /<\\[\\\\s\\\\S\\]\\+/, }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\(\\?=\\\\s\\*\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\(\\?=\\\\s\\*\\\\\\(\\)/, - }, - "imports": { - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "class-name": { - "greedy": true, - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "imports": { + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, + }, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "class-name": { + "greedy": true, + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, + }, + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|extends\\|implements\\|instanceof\\|interface\\|new\\|type\\)\\\\s\\+\\)\\(\\?!keyof\\\\b\\)\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\)\\?/, - }, - "comment": [ - { - "greedy": true, "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\\\b\\(\\?:class\\|extends\\|implements\\|instanceof\\|interface\\|new\\|type\\)\\\\s\\+\\)\\(\\?!keyof\\\\b\\)\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\)\\?/, }, - { - "greedy": true, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, + }, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, + }, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "generic-function": { - "greedy": true, - "inside": { - "function": /\\^#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - "generic": { - "alias": "class-name", - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "generic-function": { + "greedy": true, + "inside": { + "function": /\\^#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + "generic": { + "alias": "class-name", + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /<\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /<\\[\\\\s\\\\S\\]\\+/, }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\(\\?=\\\\s\\*\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\(\\?=\\\\s\\*\\\\\\(\\)/, - }, - "imports": [Circular], - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", + "imports": [Circular], + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, - }, - }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, - }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, }, "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, + }, + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, + ], + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - { + "method": { + "alias": [ + "function", + "property-access", + ], "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - { + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "script": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-javascript": { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "script": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-javascript": { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, }, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, - }, - }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-javascript": { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, }, "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, + }, + "language-javascript": { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, - }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { + { "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, }, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, }, + "lookbehind": true, + "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, }, - "lookbehind": true, - "pattern": /\\(<script\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/script>\\)/i, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "style": { - "greedy": true, - "inside": { - "included-cdata": { - "inside": { - "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "style": { + "greedy": true, + "inside": { + "included-cdata": { + "inside": { + "cdata": /\\^<!\\\\\\[CDATA\\\\\\[\\|\\\\\\]\\\\\\]>\\$/i, + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, - }, - ], - "case-sensitivity": { - "alias": "keyword", + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, - }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, - }, - }, - "lookbehind": true, - "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, - }, - }, - "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, - }, - "language-css": { - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "namespace": { + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "punctuation": /\\\\\\|\\$/, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { - "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "punctuation": /\\[\\(\\),\\]/, "unit": { "lookbehind": true, "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, - }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, - }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, - }, - "important": /!important\\\\b/i, - "number": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, - }, - "operator": { - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, - }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, - }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, - }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, - }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { + "url": { + "greedy": true, "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, }, - { + "variable": { "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, - "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, }, + "lookbehind": true, + "pattern": /\\(\\^<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\?\\(\\?=\\\\\\]\\\\\\]>\\$\\)/i, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, - }, - "variable": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, - }, - }, - "pattern": /\\[\\\\s\\\\S\\]\\+/, - }, - }, - "lookbehind": true, - "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, - }, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { - "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], - }, - "pattern": /=\\(\\?!\\\\\\{\\)\\(\\?:"\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'\\|\\[\\^\\\\s'">\\]\\+\\)/i, - }, - "punctuation": /\\\\/\\?>/, - "script": { - "alias": "language-javascript", - "inside": { - "rest": [Circular], - "script-punctuation": { - "alias": "punctuation", - "pattern": /\\^=\\(\\?=\\{\\)/, }, + "pattern": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\\\\\]\\\\\\]>/i, }, - "pattern": /=\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\+\\\\\\}\\)/i, - }, - "spread": { - "inside": { - "attr-value": /\\\\w\\+/, - "punctuation": /\\\\\\.\\{3\\}\\|\\[\\{\\}\\.\\]/, - }, - "pattern": /\\\\\\{\\\\s\\*\\\\\\.\\{3\\}\\\\s\\*\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\(\\?:\\\\\\.\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\)\\*\\\\s\\*\\\\\\}/, - }, - "style-attr": { - "inside": { - "attr-name": /\\^style/i, - "attr-value": { - "inside": { - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, + "language-css": { + "inside": { + "atrule": { + "inside": { + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, }, - /"\\|'/, - ], - "style": { - "alias": "language-css", - "inside": { - "atrule": { - "inside": { - "keyword": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, - }, - "rest": [Circular], - "rule": /\\^@\\[\\\\w-\\]\\+/, - "selector-function-argument": { - "alias": "selector", - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, - }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, - }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, - }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, - }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - }, - "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, - }, - "color": [ - /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, - { + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, "inside": { - "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, - "number": { + "attr-name": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, }, - "punctuation": /\\[\\(\\),\\]/, - "unit": { + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, }, - ], - "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, - "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, - "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, - "hexcode": { - "alias": "color", - "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { + "inside": { + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + }, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, }, - "important": /!important\\\\b/i, + "lookbehind": true, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + }, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, + }, + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, "number": { "lookbehind": true, "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - "operator": { + "punctuation": /\\[\\(\\),\\]/, + "unit": { "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, - "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, - "punctuation": /\\[\\(\\)\\{\\};:,\\]/, - "selector": { - "inside": { - "attribute": { - "greedy": true, - "inside": { - "attr-name": { - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, - }, - "attr-value": [ - /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - { - "lookbehind": true, - "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, - }, - ], - "case-sensitivity": { - "alias": "keyword", - "lookbehind": true, - "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, - }, - "namespace": { - "inside": { - "punctuation": /\\\\\\|\\$/, - }, - "lookbehind": true, - "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, - }, - "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, - "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, - }, - "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "operator": { + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, + }, + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, }, - "class": /\\\\\\.\\[-\\\\w\\]\\+/, - "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, - "id": /#\\[-\\\\w\\]\\+/, - "n-th": [ - { - "inside": { - "number": /\\[\\\\dn\\]\\+/, - "operator": /\\[\\+-\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, - }, - ], - "pseudo-class": /:\\[-\\\\w\\]\\+/, - "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, - "punctuation": /\\[\\(\\),\\]/, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, }, - "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, }, - "unit": { - "lookbehind": true, - "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, - }, - "url": { - "greedy": true, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { "inside": { - "function": /\\^url/i, - "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, - "string": { - "alias": "url", - "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, - }, + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, }, - "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "variable": { + { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, }, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, + }, + "string": { + "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + "url": { + "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, }, - "lookbehind": true, - "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, }, + "pattern": /\\[\\\\s\\\\S\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, - }, - "tag": { - "inside": { - "class-name": /\\^\\[A-Z\\]\\\\w\\*\\(\\?:\\\\\\.\\[A-Z\\]\\\\w\\*\\)\\*\\$/, - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, - }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\*/i, }, + "lookbehind": true, + "pattern": /\\(<style\\[\\^>\\]\\*>\\)\\(\\?:<!\\\\\\[CDATA\\\\\\[\\(\\?:\\[\\^\\\\\\]\\]\\|\\\\\\]\\(\\?!\\\\\\]>\\)\\)\\*\\\\\\]\\\\\\]>\\|\\(\\?!<!\\\\\\[CDATA\\\\\\[\\)\\[\\\\s\\\\S\\]\\)\\*\\?\\(\\?=<\\\\/style>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\w\\$\\]\\|\\(\\?=<\\\\/\\)\\)\\(\\?:<\\\\/\\?\\(\\?:\\[\\\\w\\.:-\\]\\+\\(\\?:\\\\s\\+\\(\\?:\\[\\\\w\\.:\\$-\\]\\+\\(\\?:=\\(\\?:"\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'\\|\\[\\^\\\\s\\{'">=\\]\\+\\|\\\\\\{\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\+\\\\\\}\\)\\)\\?\\|\\\\\\{\\\\s\\*\\\\\\.\\{3\\}\\\\s\\*\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\(\\?:\\\\\\.\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\)\\*\\\\s\\*\\\\\\}\\)\\)\\*\\\\s\\*\\\\/\\?\\)\\?>\\)/i, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, + }, + "attr-value": { + "inside": { + "entity": [ { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, + "punctuation": [ { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "alias": "attr-equals", + "pattern": /\\^=/, }, + /"\\|'/, ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "pattern": /=\\(\\?!\\\\\\{\\)\\(\\?:"\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'\\|\\[\\^\\\\s'">\\]\\+\\)/i, + }, + "punctuation": /\\\\/\\?>/, + "script": { + "alias": "language-javascript", + "inside": { + "rest": [Circular], + "script-punctuation": { + "alias": "punctuation", + "pattern": /\\^=\\(\\?=\\{\\)/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", + }, + "pattern": /=\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\+\\\\\\}\\)/i, + }, + "spread": { + "inside": { + "attr-value": /\\\\w\\+/, + "punctuation": /\\\\\\.\\{3\\}\\|\\[\\{\\}\\.\\]/, + }, + "pattern": /\\\\\\{\\\\s\\*\\\\\\.\\{3\\}\\\\s\\*\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\(\\?:\\\\\\.\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\)\\*\\\\s\\*\\\\\\}/, + }, + "style-attr": { + "inside": { + "attr-name": /\\^style/i, + "attr-value": { + "inside": { + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "style": { + "alias": "language-css", + "inside": { + "atrule": { "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w-\\]\\)\\(\\?:and\\|not\\|only\\|or\\)\\(\\?!\\[\\\\w-\\]\\)/, + }, + "rest": [Circular], + "rule": /\\^@\\[\\\\w-\\]\\+/, + "selector-function-argument": { + "alias": "selector", + "inside": { + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, + }, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { + "inside": { + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + }, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\bselector\\\\s\\*\\\\\\(\\\\s\\*\\(\\?!\\[\\\\s\\)\\]\\)\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, + "pattern": /@\\[\\\\w-\\]\\(\\?:\\[\\^;\\{\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\)\\*\\(\\?:;\\|\\(\\?=\\\\s\\*\\\\\\{\\)\\)/, }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { + "color": [ + /\\\\b\\(\\?:AliceBlue\\|AntiqueWhite\\|Aqua\\|Aquamarine\\|Azure\\|Beige\\|Bisque\\|Black\\|BlanchedAlmond\\|Blue\\|BlueViolet\\|Brown\\|BurlyWood\\|CadetBlue\\|Chartreuse\\|Chocolate\\|Coral\\|CornflowerBlue\\|Cornsilk\\|Crimson\\|Cyan\\|DarkBlue\\|DarkCyan\\|DarkGoldenRod\\|DarkGr\\[ae\\]y\\|DarkGreen\\|DarkKhaki\\|DarkMagenta\\|DarkOliveGreen\\|DarkOrange\\|DarkOrchid\\|DarkRed\\|DarkSalmon\\|DarkSeaGreen\\|DarkSlateBlue\\|DarkSlateGr\\[ae\\]y\\|DarkTurquoise\\|DarkViolet\\|DeepPink\\|DeepSkyBlue\\|DimGr\\[ae\\]y\\|DodgerBlue\\|FireBrick\\|FloralWhite\\|ForestGreen\\|Fuchsia\\|Gainsboro\\|GhostWhite\\|Gold\\|GoldenRod\\|Gr\\[ae\\]y\\|Green\\|GreenYellow\\|HoneyDew\\|HotPink\\|IndianRed\\|Indigo\\|Ivory\\|Khaki\\|Lavender\\|LavenderBlush\\|LawnGreen\\|LemonChiffon\\|LightBlue\\|LightCoral\\|LightCyan\\|LightGoldenRodYellow\\|LightGr\\[ae\\]y\\|LightGreen\\|LightPink\\|LightSalmon\\|LightSeaGreen\\|LightSkyBlue\\|LightSlateGr\\[ae\\]y\\|LightSteelBlue\\|LightYellow\\|Lime\\|LimeGreen\\|Linen\\|Magenta\\|Maroon\\|MediumAquaMarine\\|MediumBlue\\|MediumOrchid\\|MediumPurple\\|MediumSeaGreen\\|MediumSlateBlue\\|MediumSpringGreen\\|MediumTurquoise\\|MediumVioletRed\\|MidnightBlue\\|MintCream\\|MistyRose\\|Moccasin\\|NavajoWhite\\|Navy\\|OldLace\\|Olive\\|OliveDrab\\|Orange\\|OrangeRed\\|Orchid\\|PaleGoldenRod\\|PaleGreen\\|PaleTurquoise\\|PaleVioletRed\\|PapayaWhip\\|PeachPuff\\|Peru\\|Pink\\|Plum\\|PowderBlue\\|Purple\\|Red\\|RosyBrown\\|RoyalBlue\\|SaddleBrown\\|Salmon\\|SandyBrown\\|SeaGreen\\|SeaShell\\|Sienna\\|Silver\\|SkyBlue\\|SlateBlue\\|SlateGr\\[ae\\]y\\|Snow\\|SpringGreen\\|SteelBlue\\|Tan\\|Teal\\|Thistle\\|Tomato\\|Transparent\\|Turquoise\\|Violet\\|Wheat\\|White\\|WhiteSmoke\\|Yellow\\|YellowGreen\\)\\\\b/i, + { + "inside": { + "function": /\\[\\\\w-\\]\\+\\(\\?=\\\\\\(\\)/, + "number": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, + }, + "punctuation": /\\[\\(\\),\\]/, + "unit": { + "lookbehind": true, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, + }, + }, + "pattern": /\\\\b\\(\\?:rgb\\|hsl\\)\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*\\\\\\)\\\\B\\|\\\\b\\(\\?:rgb\\|hsl\\)a\\\\\\(\\\\s\\*\\\\d\\{1,3\\}\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\\\d\\{1,3\\}%\\?\\\\s\\*,\\\\s\\*\\(\\?:0\\|0\\?\\\\\\.\\\\d\\+\\|1\\)\\\\s\\*\\\\\\)\\\\B/i, + }, + ], + "comment": /\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\\\\\*\\\\//, + "entity": /\\\\\\\\\\[\\\\da-f\\]\\{1,8\\}/i, + "function": /\\[-a-z0-9\\]\\+\\(\\?=\\\\\\(\\)/i, + "hexcode": { + "alias": "color", + "pattern": /\\\\B#\\(\\?:\\[\\\\da-f\\]\\{1,2\\}\\)\\{3,4\\}\\\\b/i, + }, + "important": /!important\\\\b/i, + "number": { "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\.-\\]\\)-\\?\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\|\\\\\\.\\\\d\\+\\)/, }, - { + "operator": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\\\s\\)\\[\\+\\\\-\\*\\\\/\\]\\(\\?=\\\\s\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "property": /\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*:\\)/i, + "punctuation": /\\[\\(\\)\\{\\};:,\\]/, + "selector": { "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "attribute": { + "greedy": true, + "inside": { + "attr-name": { + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+/, + }, + "attr-value": [ + /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + { + "lookbehind": true, + "pattern": /\\(=\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\+\\(\\?=\\\\s\\*\\$\\)/, + }, + ], + "case-sensitivity": { + "alias": "keyword", + "lookbehind": true, + "pattern": /\\(\\\\s\\)\\[si\\]\\$/i, + }, + "namespace": { + "inside": { + "punctuation": /\\\\\\|\\$/, + }, + "lookbehind": true, + "pattern": /\\^\\(\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[-\\*\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\\\|\\(\\?!=\\)/, + }, + "operator": /\\[\\|~\\*\\^\\$\\]\\?=/, + "punctuation": /\\^\\\\\\[\\|\\\\\\]\\$/, + }, + "pattern": /\\\\\\[\\(\\?:\\[\\^\\[\\\\\\]"'\\]\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\\\\\]/, + }, + "class": /\\\\\\.\\[-\\\\w\\]\\+/, + "combinator": />\\|\\\\\\+\\|~\\|\\\\\\|\\\\\\|/, + "id": /#\\[-\\\\w\\]\\+/, + "n-th": [ + { + "inside": { + "number": /\\[\\\\dn\\]\\+/, + "operator": /\\[\\+-\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\[\\+-\\]\\?\\\\d\\*\\[\\\\dn\\]\\(\\?:\\\\s\\*\\[\\+-\\]\\\\s\\*\\\\d\\+\\)\\?\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?:even\\|odd\\)\\(\\?=\\\\s\\*\\\\\\)\\)/i, + }, + ], + "pseudo-class": /:\\[-\\\\w\\]\\+/, + "pseudo-element": /:\\(\\?:after\\|before\\|first-letter\\|first-line\\|selection\\)\\|::\\[-\\\\w\\]\\+/, + "punctuation": /\\[\\(\\),\\]/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + "pattern": /\\[\\^\\{\\}\\\\s\\]\\(\\?:\\[\\^\\{\\};"'\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\{\\]\\)\\|\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\)\\*\\(\\?=\\\\s\\*\\\\\\{\\)/, }, - ], - "comment": [ - { + "string": { "greedy": true, + "pattern": /\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "unit": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\\\b\\\\d\\+\\)\\(\\?:%\\|\\[a-z\\]\\+\\\\b\\)/, }, - { + "url": { "greedy": true, + "inside": { + "function": /\\^url/i, + "punctuation": /\\^\\\\\\(\\|\\\\\\)\\$/, + "string": { + "alias": "url", + "pattern": /\\^\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\$/, + }, + }, + "pattern": /\\\\burl\\\\\\(\\(\\?:\\("\\|'\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1\\|\\(\\?:\\[\\^\\\\\\\\\\\\r\\\\n\\(\\)"'\\]\\|\\\\\\\\\\[\\\\s\\\\S\\]\\)\\*\\)\\\\\\)/i, + }, + "variable": { "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "pattern": /\\(\\^\\|\\[\\^-\\\\w\\\\xA0-\\\\uFFFF\\]\\)--\\(\\?!\\\\s\\)\\[-_a-z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[-\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/i, }, + }, + "lookbehind": true, + "pattern": /\\(\\["'\\]\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\["'\\]\\$\\)/, + }, + }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\["'\\\\s\\]\\)style\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)/i, + }, + "tag": { + "inside": { + "class-name": /\\^\\[A-Z\\]\\\\w\\*\\(\\?:\\\\\\.\\[A-Z\\]\\\\w\\*\\)\\*\\$/, + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, + }, + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\*/i, + }, + }, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\w\\$\\]\\|\\(\\?=<\\\\/\\)\\)\\(\\?:<\\\\/\\?\\(\\?:\\[\\\\w\\.:-\\]\\+\\(\\?:\\\\s\\+\\(\\?:\\[\\\\w\\.:\\$-\\]\\+\\(\\?:=\\(\\?:"\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\"\\]\\)\\*"\\|'\\(\\?:\\\\\\\\\\[\\^\\]\\|\\[\\^\\\\\\\\'\\]\\)\\*'\\|\\[\\^\\\\s\\{'">=\\]\\+\\|\\\\\\{\\(\\?:\\\\\\{\\(\\?:\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\*\\\\\\}\\|\\[\\^\\{\\}\\]\\)\\+\\\\\\}\\)\\)\\?\\|\\\\\\{\\\\s\\*\\\\\\.\\{3\\}\\\\s\\*\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\(\\?:\\\\\\.\\[a-z_\\$\\]\\[\\\\w\\$\\]\\*\\)\\*\\\\s\\*\\\\\\}\\)\\)\\*\\\\s\\*\\\\/\\?\\)\\?>\\)/i, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/g, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - }, - "typescript": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "class-name": { - "greedy": true, - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "typescript": { + "arrow": { + "alias": "operator", + "pattern": /=>/, + }, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "class-name": { + "greedy": true, + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|extends\\|implements\\|instanceof\\|interface\\|new\\|type\\)\\\\s\\+\\)\\(\\?!keyof\\\\b\\)\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\)\\?/, - }, - "comment": [ - { - "greedy": true, "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\\\b\\(\\?:class\\|extends\\|implements\\|instanceof\\|interface\\|new\\|type\\)\\\\s\\+\\)\\(\\?!keyof\\\\b\\)\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\)\\?/, }, - { - "greedy": true, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, + }, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, + }, + "exports": { + "inside": [Circular], "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "generic-function": { - "greedy": true, - "inside": { - "function": /\\^#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - "generic": { - "alias": "class-name", - "inside": { - "arrow": { - "alias": "operator", - "pattern": /=>/, - }, - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "generic-function": { + "greedy": true, + "inside": { + "function": /\\^#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + "generic": { + "alias": "class-name", + "inside": { + "arrow": { + "alias": "operator", + "pattern": /=>/, }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "builtin": /\\\\b\\(\\?:string\\|Function\\|any\\|number\\|boolean\\|Array\\|symbol\\|console\\|Promise\\|unknown\\|never\\)\\\\b/, + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "console": { + "alias": "class-name", + "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, }, - ], - "console": { - "alias": "class-name", - "pattern": /\\\\bconsole\\(\\?=\\\\s\\*\\\\\\.\\)/, - }, - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "dom": { - "alias": "variable", - "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, - }, - "exports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, - }, - "function": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "dom": { + "alias": "variable", + "pattern": /\\\\b\\(\\?:document\\|location\\|navigator\\|performance\\|\\(\\?:local\\|session\\)Storage\\|window\\)\\\\b/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "exports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bexport\\\\b\\\\s\\*\\)\\(\\?:\\\\\\*\\(\\?:\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + "function": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "function-variable": { + "alias": "function", + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, + }, + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - { + }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, + }, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, - }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, }, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, }, + "pattern": /<\\[\\\\s\\\\S\\]\\+/, }, - "pattern": /<\\[\\\\s\\\\S\\]\\+/, }, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\(\\?=\\\\s\\*\\\\\\(\\)/, }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*<\\(\\?:\\[\\^<>\\]\\|<\\(\\?:\\[\\^<>\\]\\|<\\[\\^<>\\]\\*>\\)\\*>\\)\\*>\\(\\?=\\\\s\\*\\\\\\(\\)/, - }, - "imports": { - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, - }, - "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, - "known-class-name": [ - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, - }, - { - "alias": "class-name", - "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + "imports": { + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\bimport\\\\b\\\\s\\*\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?:\\\\s\\*,\\\\s\\*\\(\\?:\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\)\\?\\|\\\\\\*\\\\s\\*as\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\|\\\\\\{\\[\\^\\{\\}\\]\\*\\\\\\}\\)\\(\\?=\\\\s\\*\\\\bfrom\\\\b\\)/, }, - ], - "maybe-class-name": { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, - }, - "method": { - "alias": [ - "function", - "property-access", + "keyword": /\\\\b\\(\\?:abstract\\|as\\|asserts\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|constructor\\|continue\\|debugger\\|declare\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|is\\|keyof\\|let\\|module\\|namespace\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|readonly\\|return\\|require\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|type\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "known-class-name": [ + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\(\\?:\\(\\?:Uint\\|Int\\)\\(\\?:8\\|16\\|32\\)\\|Uint8Clamped\\|Float\\(\\?:32\\|64\\)\\)\\?Array\\|ArrayBuffer\\|BigInt\\|Boolean\\|DataView\\|Date\\|Error\\|Function\\|Intl\\|JSON\\|Math\\|Number\\|Object\\|Promise\\|Proxy\\|Reflect\\|RegExp\\|String\\|Symbol\\|\\(\\?:Weak\\)\\?\\(\\?:Set\\|Map\\)\\|WebAssembly\\)\\\\b/, + }, + { + "alias": "class-name", + "pattern": /\\\\b\\(\\?:\\[A-Z\\]\\\\w\\*\\)Error\\\\b/, + }, ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "maybe-class-name": { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\[A-Z\\]\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - }, - "method-variable": { - "alias": [ - "function-variable", - "method", - "function", - "property-access", - ], - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + "method": { + "alias": [ + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + }, + "method-variable": { + "alias": [ + "function-variable", + "method", + "function", + "property-access", + ], + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, + }, + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "property-access": { + "inside": { + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, + }, + "lookbehind": true, + "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "property-access": { - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "lookbehind": true, - "pattern": /\\(\\\\\\.\\\\s\\*\\)#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, + }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "spread": { - "alias": "operator", - "pattern": /\\\\\\.\\{3\\}/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, - }, - "template-string": { - "greedy": true, - "inside": { - "interpolation": { - "inside": { - "interpolation-punctuation": { - "alias": "punctuation", - "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, - }, - "rest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { + "spread": { + "alias": "operator", + "pattern": /\\\\\\.\\{3\\}/, + }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "template-string": { + "greedy": true, + "inside": { + "interpolation": { + "inside": { + "interpolation-punctuation": { + "alias": "punctuation", + "pattern": /\\^\\\\\\$\\{\\|\\}\\$/, + }, + "rest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "function-variable": { + "alias": "function", "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "constant": /\\\\b\\[A-Z\\]\\(\\?:\\[A-Z_\\]\\|\\\\dx\\?\\)\\*\\\\b/, - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "function-variable": { - "alias": "function", - "inside": { - "maybe-class-name": /\\^\\[A-Z\\]\\[\\\\s\\\\S\\]\\*/, - }, - "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, - }, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\[=:\\]\\\\s\\*\\(\\?:async\\\\s\\*\\)\\?\\(\\?:\\\\bfunction\\\\b\\|\\(\\?:\\\\\\(\\(\\?:\\[\\^\\(\\)\\]\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\*\\\\\\)\\|\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\\\s\\*=>\\)\\)/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "parameter": [ - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, - }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "parameter": [ + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, }, - "lookbehind": true, - "pattern": /\\(function\\(\\?:\\\\s\\+\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\)\\?\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, }, - "pattern": /\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*=>\\)/i, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, + "lookbehind": true, + "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, }, - "lookbehind": true, - "pattern": /\\(\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*=>\\)/, - }, - { - "inside": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "class-name": [ - { - "inside": { - "punctuation": /\\[\\.\\\\\\\\\\]/, + { + "inside": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "class-name": [ + { + "inside": { + "punctuation": /\\[\\.\\\\\\\\\\]/, + }, + "lookbehind": true, + "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, }, - "lookbehind": true, - "pattern": /\\(\\\\b\\(\\?:class\\|interface\\|extends\\|implements\\|instanceof\\|new\\)\\\\s\\+\\)\\[\\\\w\\.\\\\\\\\\\]\\+/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, - }, - ], - "comment": [ - { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - { + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\(\\?!\\\\s\\)\\[_\\$A-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\\\.\\(\\?:prototype\\|constructor\\)\\)/, + }, + ], + "comment": [ + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\\\]\\)\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, + }, + ], + "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, + "keyword": [ + { + "alias": "module", + "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, + }, + { + "alias": "control-flow", + "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, + }, + { + "alias": [ + "null", + "nil", + ], + "pattern": /\\\\bnull\\\\b/, + }, + { + "alias": "nil", + "pattern": /\\\\bundefined\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, + }, + { + "lookbehind": true, + "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + }, + ], + "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, + "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "string": { "greedy": true, - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\\\\\\\:\\]\\)\\\\/\\\\/\\.\\*/, - }, - ], - "function": /#\\?\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\(\\?=\\\\s\\*\\(\\?:\\\\\\.\\\\s\\*\\(\\?:apply\\|bind\\|call\\)\\\\s\\*\\)\\?\\\\\\(\\)/, - "keyword": [ - { - "alias": "module", - "pattern": /\\\\b\\(\\?:as\\|default\\|export\\|from\\|import\\)\\\\b/, - }, - { - "alias": "control-flow", - "pattern": /\\\\b\\(\\?:await\\|break\\|catch\\|continue\\|do\\|else\\|for\\|finally\\|if\\|return\\|switch\\|throw\\|try\\|while\\|yield\\)\\\\b/, - }, - { - "alias": [ - "null", - "nil", - ], - "pattern": /\\\\bnull\\\\b/, - }, - { - "alias": "nil", - "pattern": /\\\\bundefined\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\}\\)\\\\s\\*\\)\\(\\?:catch\\|finally\\)\\\\b/, - }, - { - "lookbehind": true, - "pattern": /\\(\\^\\|\\[\\^\\.\\]\\|\\\\\\.\\\\\\.\\\\\\.\\\\s\\*\\)\\\\b\\(\\?:as\\|async\\(\\?=\\\\s\\*\\(\\?:function\\\\b\\|\\\\\\(\\|\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\|\\$\\)\\)\\|await\\|break\\|case\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|for\\|from\\|function\\|\\(\\?:get\\|set\\)\\(\\?=\\\\s\\*\\[\\\\\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\\\b/, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - ], - "number": /\\\\b\\(\\?:\\(\\?:0\\[xX\\]\\(\\?:\\[\\\\dA-Fa-f\\]\\(\\?:_\\[\\\\dA-Fa-f\\]\\)\\?\\)\\+\\|0\\[bB\\]\\(\\?:\\[01\\]\\(\\?:_\\[01\\]\\)\\?\\)\\+\\|0\\[oO\\]\\(\\?:\\[0-7\\]\\(\\?:_\\[0-7\\]\\)\\?\\)\\+\\)n\\?\\|\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+n\\|NaN\\|Infinity\\)\\\\b\\|\\(\\?:\\\\b\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\\\\\.\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\*\\|\\\\B\\\\\\.\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\(\\?:\\[Ee\\]\\[\\+-\\]\\?\\(\\?:\\\\d\\(\\?:_\\\\d\\)\\?\\)\\+\\)\\?/, - "operator": /--\\|\\\\\\+\\\\\\+\\|\\\\\\*\\\\\\*=\\?\\|=>\\|&&=\\?\\|\\\\\\|\\\\\\|=\\?\\|\\[!=\\]==\\|<<=\\?\\|>>>\\?=\\?\\|\\[-\\+\\*/%&\\|\\^!=<>\\]=\\?\\|\\\\\\.\\{3\\}\\|\\\\\\?\\\\\\?=\\?\\|\\\\\\?\\\\\\.\\?\\|\\[~:\\]/, - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, + }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + }, + ], + "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, + "regex": { + "greedy": true, + "inside": { + "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, + "regex-flags": /\\[a-z\\]\\+\\$/, + "regex-source": { + "alias": "language-regex", + "inside": undefined, + "lookbehind": true, + "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, }, }, "lookbehind": true, - "pattern": /\\(\\(\\?:\\\\b\\|\\\\s\\|\\^\\)\\(\\?!\\(\\?:as\\|async\\|await\\|break\\|case\\|catch\\|class\\|const\\|continue\\|debugger\\|default\\|delete\\|do\\|else\\|enum\\|export\\|extends\\|finally\\|for\\|from\\|function\\|get\\|if\\|implements\\|import\\|in\\|instanceof\\|interface\\|let\\|new\\|null\\|of\\|package\\|private\\|protected\\|public\\|return\\|set\\|static\\|super\\|switch\\|this\\|throw\\|try\\|typeof\\|undefined\\|var\\|void\\|while\\|with\\|yield\\)\\(\\?!\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\)\\(\\?:\\(\\?!\\\\s\\)\\[_\\$a-zA-Z\\\\xA0-\\\\uFFFF\\]\\(\\?:\\(\\?!\\\\s\\)\\[\\$\\\\w\\\\xA0-\\\\uFFFF\\]\\)\\*\\\\s\\*\\)\\\\\\(\\\\s\\*\\|\\\\\\]\\\\s\\*\\\\\\(\\\\s\\*\\)\\(\\?!\\\\s\\)\\(\\?:\\[\\^\\(\\)\\\\s\\]\\|\\\\s\\+\\(\\?!\\[\\\\s\\)\\]\\)\\|\\\\\\(\\[\\^\\(\\)\\]\\*\\\\\\)\\)\\+\\(\\?=\\\\s\\*\\\\\\)\\\\s\\*\\\\\\{\\)/, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, }, - ], - "punctuation": /\\[\\{\\}\\[\\\\\\];\\(\\),\\.:\\]/, - "regex": { - "greedy": true, - "inside": { - "regex-delimiter": /\\^\\\\/\\|\\\\/\\$/, - "regex-flags": /\\[a-z\\]\\+\\$/, - "regex-source": { - "alias": "language-regex", - "inside": undefined, - "lookbehind": true, - "pattern": /\\^\\(\\\\/\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\/\\[a-z\\]\\*\\$\\)/, - }, + "string": { + "greedy": true, + "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\$\\\\w\\\\xA0-\\\\uFFFF\\."'\\\\\\]\\)\\\\s\\]\\|\\\\b\\(\\?:return\\|yield\\)\\)\\\\s\\*\\)\\\\/\\(\\?:\\\\\\[\\(\\?:\\[\\^\\\\\\]\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*\\]\\|\\\\\\\\\\.\\|\\[\\^/\\\\\\\\\\\\\\[\\\\r\\\\n\\]\\)\\+\\\\/\\[gimyus\\]\\{0,6\\}\\(\\?=\\(\\?:\\\\s\\|\\\\/\\\\\\*\\(\\?:\\[\\^\\*\\]\\|\\\\\\*\\(\\?!\\\\/\\)\\)\\*\\\\\\*\\\\/\\)\\*\\(\\?:\\$\\|\\[\\\\r\\\\n,\\.;:\\}\\)\\\\\\]\\]\\|\\\\/\\\\/\\)\\)/, - }, - "string": { - "greedy": true, - "pattern": /\\(\\["'\\]\\)\\(\\?:\\\\\\\\\\(\\?:\\\\r\\\\n\\|\\[\\\\s\\\\S\\]\\)\\|\\(\\?!\\\\1\\)\\[\\^\\\\\\\\\\\\r\\\\n\\]\\)\\*\\\\1/, }, }, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, + }, + "string": /\\[\\\\s\\\\S\\]\\+/, + "template-punctuation": { + "alias": "string", + "pattern": /\\^\`\\|\`\\$/, }, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[\\^\\\\\\\\\\]\\)\\(\\?:\\\\\\\\\\{2\\}\\)\\*\\)\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}/, }, - "string": /\\[\\\\s\\\\S\\]\\+/, - "template-punctuation": { - "alias": "string", - "pattern": /\\^\`\\|\`\\$/, + "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, + }, + }, + "wasm": { + "comment": [ + /\\\\\\(;\\[\\\\s\\\\S\\]\\*\\?;\\\\\\)/, + { + "greedy": true, + "pattern": /;;\\.\\*/, + }, + ], + "keyword": [ + { + "inside": { + "operator": /=/, + }, + "pattern": /\\\\b\\(\\?:align\\|offset\\)=/, + }, + { + "inside": { + "punctuation": /\\\\\\./, + }, + "pattern": /\\\\b\\(\\?:\\(\\?:f32\\|f64\\|i32\\|i64\\)\\(\\?:\\\\\\.\\(\\?:abs\\|add\\|and\\|ceil\\|clz\\|const\\|convert_\\[su\\]\\\\/i\\(\\?:32\\|64\\)\\|copysign\\|ctz\\|demote\\\\/f64\\|div\\(\\?:_\\[su\\]\\)\\?\\|eqz\\?\\|extend_\\[su\\]\\\\/i32\\|floor\\|ge\\(\\?:_\\[su\\]\\)\\?\\|gt\\(\\?:_\\[su\\]\\)\\?\\|le\\(\\?:_\\[su\\]\\)\\?\\|load\\(\\?:\\(\\?:8\\|16\\|32\\)_\\[su\\]\\)\\?\\|lt\\(\\?:_\\[su\\]\\)\\?\\|max\\|min\\|mul\\|nearest\\|neg\\?\\|or\\|popcnt\\|promote\\\\/f32\\|reinterpret\\\\/\\[fi\\]\\(\\?:32\\|64\\)\\|rem_\\[su\\]\\|rot\\[lr\\]\\|shl\\|shr_\\[su\\]\\|store\\(\\?:8\\|16\\|32\\)\\?\\|sqrt\\|sub\\|trunc\\(\\?:_\\[su\\]\\\\/f\\(\\?:32\\|64\\)\\)\\?\\|wrap\\\\/i64\\|xor\\)\\)\\?\\|memory\\\\\\.\\(\\?:grow\\|size\\)\\)\\\\b/, }, + /\\\\b\\(\\?:anyfunc\\|block\\|br\\(\\?:_if\\|_table\\)\\?\\|call\\(\\?:_indirect\\)\\?\\|data\\|drop\\|elem\\|else\\|end\\|export\\|func\\|get_\\(\\?:global\\|local\\)\\|global\\|if\\|import\\|local\\|loop\\|memory\\|module\\|mut\\|nop\\|offset\\|param\\|result\\|return\\|select\\|set_\\(\\?:global\\|local\\)\\|start\\|table\\|tee_local\\|then\\|type\\|unreachable\\)\\\\b/, + ], + "number": /\\[\\+-\\]\\?\\\\b\\(\\?:\\\\d\\(\\?:_\\?\\\\d\\)\\*\\(\\?:\\\\\\.\\\\d\\(\\?:_\\?\\\\d\\)\\*\\)\\?\\(\\?:\\[eE\\]\\[\\+-\\]\\?\\\\d\\(\\?:_\\?\\\\d\\)\\*\\)\\?\\|0x\\[\\\\da-fA-F\\]\\(\\?:_\\?\\[\\\\da-fA-F\\]\\)\\*\\(\\?:\\\\\\.\\[\\\\da-fA-F\\]\\(\\?:_\\?\\[\\\\da-fA-D\\]\\)\\*\\)\\?\\(\\?:\\[pP\\]\\[\\+-\\]\\?\\\\d\\(\\?:_\\?\\\\d\\)\\*\\)\\?\\)\\\\b\\|\\\\binf\\\\b\\|\\\\bnan\\(\\?::0x\\[\\\\da-fA-F\\]\\(\\?:_\\?\\[\\\\da-fA-D\\]\\)\\*\\)\\?\\\\b/, + "punctuation": /\\[\\(\\)\\]/, + "string": { + "greedy": true, + "pattern": /"\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^"\\\\\\\\\\]\\)\\*"/, }, - "pattern": /\`\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\\\\\$\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\(\\?:\\[\\^\\{\\}\\]\\|\\{\\[\\^\\}\\]\\*\\}\\)\\*\\}\\)\\+\\}\\|\\(\\?!\\\\\\$\\{\\)\\[\\^\\\\\\\\\`\\]\\)\\*\`/, + "variable": /\\\\\\$\\[\\\\w!#\\$%&'\\*\\+\\\\-\\./:<=>\\?@\\\\\\\\\\^_\`\\|~\\]\\+/i, }, - }, - "wasm": { - "comment": [ - /\\\\\\(;\\[\\\\s\\\\S\\]\\*\\?;\\\\\\)/, - { + "webmanifest": { + "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, + "comment": { + "greedy": true, + "pattern": /\\\\/\\\\/\\.\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, + }, + "null": { + "alias": "keyword", + "pattern": /\\\\bnull\\\\b/, + }, + "number": /-\\?\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\\\b/i, + "operator": /:/, + "property": { + "greedy": true, + "pattern": /"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\(\\?=\\\\s\\*:\\)/, + }, + "punctuation": /\\[\\{\\}\\[\\\\\\],\\]/, + "string": { + "greedy": true, + "pattern": /"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\(\\?!\\\\s\\*:\\)/, + }, + }, + "xml": { + "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, + "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, + "doctype": { + "greedy": true, + "inside": { + "doctype-tag": /\\^DOCTYPE/, + "internal-subset": { + "greedy": true, + "inside": [Circular], + "lookbehind": true, + "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, + }, + "name": /\\[\\^\\\\s<>'"\\]\\+/, + "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, + "string": { + "greedy": true, + "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, + }, + }, + "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, + }, + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, + "tag": { + "greedy": true, + "inside": { + "attr-name": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + }, + "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, + }, + "attr-value": { + "inside": { + "entity": [ + { + "alias": "named-entity", + "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + }, + /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, + ], + "punctuation": [ + { + "alias": "attr-equals", + "pattern": /\\^=/, + }, + /"\\|'/, + ], + }, + "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, + }, + "punctuation": /\\\\/\\?>/, + "tag": { + "inside": { + "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, + "punctuation": /\\^<\\\\/\\?/, + }, + "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, + }, + }, + "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, + }, + }, + "yaml": { + "boolean": { + "alias": "important", + "lookbehind": true, + "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:true\\|false\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, + }, + "comment": /#\\.\\*/, + "datetime": { + "alias": "number", + "lookbehind": true, + "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\\\d\\{4\\}-\\\\d\\\\d\\?-\\\\d\\\\d\\?\\(\\?:\\[tT\\]\\|\\[ \\\\t\\]\\+\\)\\\\d\\\\d\\?:\\\\d\\{2\\}:\\\\d\\{2\\}\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\(\\?:\\[ \\\\t\\]\\*\\(\\?:Z\\|\\[-\\+\\]\\\\d\\\\d\\?\\(\\?::\\\\d\\{2\\}\\)\\?\\)\\)\\?\\|\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}\\|\\\\d\\\\d\\?:\\\\d\\{2\\}\\(\\?::\\\\d\\{2\\}\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\)\\?\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/m, + }, + "directive": { + "alias": "important", + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\*\\)%\\.\\+/m, + }, + "important": /\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+/, + "key": { + "alias": "atrule", "greedy": true, - "pattern": /;;\\.\\*/, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[:\\\\-,\\[\\{\\\\r\\\\n\\?\\]\\)\\[ \\\\t\\]\\*\\(\\?:\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\(\\?:\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f!"#%&'\\*,\\\\-:>\\?@\\[\\\\\\]\`\\{\\|\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\|\\[\\?:-\\]\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\)\\(\\?:\\[ \\\\t\\]\\*\\(\\?:\\(\\?!\\[#:\\]\\)\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\|:\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\)\\)\\*\\|"\\(\\?:\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*"\\|'\\(\\?:\\[\\^'\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*'\\)\\(\\?=\\\\s\\*:\\\\s\\)/, }, - ], - "keyword": [ - { - "inside": { - "operator": /=/, - }, - "pattern": /\\\\b\\(\\?:align\\|offset\\)=/, + "null": { + "alias": "important", + "lookbehind": true, + "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:null\\|~\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, }, - { - "inside": { - "punctuation": /\\\\\\./, - }, - "pattern": /\\\\b\\(\\?:\\(\\?:f32\\|f64\\|i32\\|i64\\)\\(\\?:\\\\\\.\\(\\?:abs\\|add\\|and\\|ceil\\|clz\\|const\\|convert_\\[su\\]\\\\/i\\(\\?:32\\|64\\)\\|copysign\\|ctz\\|demote\\\\/f64\\|div\\(\\?:_\\[su\\]\\)\\?\\|eqz\\?\\|extend_\\[su\\]\\\\/i32\\|floor\\|ge\\(\\?:_\\[su\\]\\)\\?\\|gt\\(\\?:_\\[su\\]\\)\\?\\|le\\(\\?:_\\[su\\]\\)\\?\\|load\\(\\?:\\(\\?:8\\|16\\|32\\)_\\[su\\]\\)\\?\\|lt\\(\\?:_\\[su\\]\\)\\?\\|max\\|min\\|mul\\|nearest\\|neg\\?\\|or\\|popcnt\\|promote\\\\/f32\\|reinterpret\\\\/\\[fi\\]\\(\\?:32\\|64\\)\\|rem_\\[su\\]\\|rot\\[lr\\]\\|shl\\|shr_\\[su\\]\\|store\\(\\?:8\\|16\\|32\\)\\?\\|sqrt\\|sub\\|trunc\\(\\?:_\\[su\\]\\\\/f\\(\\?:32\\|64\\)\\)\\?\\|wrap\\\\/i64\\|xor\\)\\)\\?\\|memory\\\\\\.\\(\\?:grow\\|size\\)\\)\\\\b/, + "number": { + "lookbehind": true, + "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\[\\+-\\]\\?\\(\\?:0x\\[\\\\da-f\\]\\+\\|0o\\[0-7\\]\\+\\|\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\\\.\\?\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\\\\\.inf\\|\\\\\\.nan\\)\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, }, - /\\\\b\\(\\?:anyfunc\\|block\\|br\\(\\?:_if\\|_table\\)\\?\\|call\\(\\?:_indirect\\)\\?\\|data\\|drop\\|elem\\|else\\|end\\|export\\|func\\|get_\\(\\?:global\\|local\\)\\|global\\|if\\|import\\|local\\|loop\\|memory\\|module\\|mut\\|nop\\|offset\\|param\\|result\\|return\\|select\\|set_\\(\\?:global\\|local\\)\\|start\\|table\\|tee_local\\|then\\|type\\|unreachable\\)\\\\b/, - ], - "number": /\\[\\+-\\]\\?\\\\b\\(\\?:\\\\d\\(\\?:_\\?\\\\d\\)\\*\\(\\?:\\\\\\.\\\\d\\(\\?:_\\?\\\\d\\)\\*\\)\\?\\(\\?:\\[eE\\]\\[\\+-\\]\\?\\\\d\\(\\?:_\\?\\\\d\\)\\*\\)\\?\\|0x\\[\\\\da-fA-F\\]\\(\\?:_\\?\\[\\\\da-fA-F\\]\\)\\*\\(\\?:\\\\\\.\\[\\\\da-fA-F\\]\\(\\?:_\\?\\[\\\\da-fA-D\\]\\)\\*\\)\\?\\(\\?:\\[pP\\]\\[\\+-\\]\\?\\\\d\\(\\?:_\\?\\\\d\\)\\*\\)\\?\\)\\\\b\\|\\\\binf\\\\b\\|\\\\bnan\\(\\?::0x\\[\\\\da-fA-F\\]\\(\\?:_\\?\\[\\\\da-fA-D\\]\\)\\*\\)\\?\\\\b/, - "punctuation": /\\[\\(\\)\\]/, - "string": { - "greedy": true, - "pattern": /"\\(\\?:\\\\\\\\\\[\\\\s\\\\S\\]\\|\\[\\^"\\\\\\\\\\]\\)\\*"/, - }, - "variable": /\\\\\\$\\[\\\\w!#\\$%&'\\*\\+\\\\-\\./:<=>\\?@\\\\\\\\\\^_\`\\|~\\]\\+/i, - }, - "webmanifest": { - "boolean": /\\\\b\\(\\?:true\\|false\\)\\\\b/, - "comment": { - "greedy": true, - "pattern": /\\\\/\\\\/\\.\\*\\|\\\\/\\\\\\*\\[\\\\s\\\\S\\]\\*\\?\\(\\?:\\\\\\*\\\\/\\|\\$\\)/, - }, - "null": { - "alias": "keyword", - "pattern": /\\\\bnull\\\\b/, - }, - "number": /-\\?\\\\b\\\\d\\+\\(\\?:\\\\\\.\\\\d\\+\\)\\?\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\\\b/i, - "operator": /:/, - "property": { - "greedy": true, - "pattern": /"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\(\\?=\\\\s\\*:\\)/, - }, - "punctuation": /\\[\\{\\}\\[\\\\\\],\\]/, - "string": { - "greedy": true, - "pattern": /"\\(\\?:\\\\\\\\\\.\\|\\[\\^\\\\\\\\"\\\\r\\\\n\\]\\)\\*"\\(\\?!\\\\s\\*:\\)/, - }, - }, - "xml": { - "cdata": /<!\\\\\\[CDATA\\\\\\[\\[\\\\s\\\\S\\]\\*\\?\\]\\]>/i, - "comment": /<!--\\[\\\\s\\\\S\\]\\*\\?-->/, - "doctype": { - "greedy": true, - "inside": { - "doctype-tag": /\\^DOCTYPE/, - "internal-subset": { - "greedy": true, - "inside": [Circular], - "lookbehind": true, - "pattern": /\\(\\\\\\[\\)\\[\\\\s\\\\S\\]\\+\\(\\?=\\\\\\]>\\$\\)/, - }, - "name": /\\[\\^\\\\s<>'"\\]\\+/, - "punctuation": /\\^<!\\|>\\$\\|\\[\\[\\\\\\]\\]/, - "string": { - "greedy": true, - "pattern": /"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'/, - }, + "punctuation": /---\\|\\[:\\[\\\\\\]\\{\\}\\\\-,\\|>\\?\\]\\|\\\\\\.\\\\\\.\\\\\\./, + "scalar": { + "alias": "string", + "lookbehind": true, + "pattern": /\\(\\[\\\\-:\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\[\\|>\\]\\)\\[ \\\\t\\]\\*\\(\\?:\\(\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\[ \\\\t\\]\\+\\)\\\\S\\[\\^\\\\r\\\\n\\]\\*\\(\\?:\\\\2\\[\\^\\\\r\\\\n\\]\\+\\)\\*\\)/, + }, + "string": { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:"\\(\\?:\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*"\\|'\\(\\?:\\[\\^'\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*'\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/m, }, - "pattern": /<!DOCTYPE\\(\\?:\\[\\^>"'\\[\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\)\\+\\(\\?:\\\\\\[\\(\\?:\\[\\^<"'\\\\\\]\\]\\|"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|<\\(\\?!!--\\)\\|<!--\\(\\?:\\[\\^-\\]\\|-\\(\\?!->\\)\\)\\*-->\\)\\*\\\\\\]\\\\s\\*\\)\\?>/i, + "tag": /!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?/, }, - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, + "yml": { + "boolean": { + "alias": "important", + "lookbehind": true, + "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:true\\|false\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "prolog": /<\\\\\\?\\[\\\\s\\\\S\\]\\+\\?\\\\\\?>/, - "tag": { - "greedy": true, - "inside": { - "attr-name": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - }, - "pattern": /\\[\\^\\\\s>\\\\/\\]\\+/, - }, - "attr-value": { - "inside": { - "entity": [ - { - "alias": "named-entity", - "pattern": /&\\[\\\\da-z\\]\\{1,8\\};/i, - }, - /&#x\\?\\[\\\\da-f\\]\\{1,8\\};/i, - ], - "punctuation": [ - { - "alias": "attr-equals", - "pattern": /\\^=/, - }, - /"\\|'/, - ], - }, - "pattern": /=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\)/, - }, - "punctuation": /\\\\/\\?>/, - "tag": { - "inside": { - "namespace": /\\^\\[\\^\\\\s>\\\\/:\\]\\+:/, - "punctuation": /\\^<\\\\/\\?/, - }, - "pattern": /\\^<\\\\/\\?\\[\\^\\\\s>\\\\/\\]\\+/, - }, + "comment": /#\\.\\*/, + "datetime": { + "alias": "number", + "lookbehind": true, + "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\\\d\\{4\\}-\\\\d\\\\d\\?-\\\\d\\\\d\\?\\(\\?:\\[tT\\]\\|\\[ \\\\t\\]\\+\\)\\\\d\\\\d\\?:\\\\d\\{2\\}:\\\\d\\{2\\}\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\(\\?:\\[ \\\\t\\]\\*\\(\\?:Z\\|\\[-\\+\\]\\\\d\\\\d\\?\\(\\?::\\\\d\\{2\\}\\)\\?\\)\\)\\?\\|\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}\\|\\\\d\\\\d\\?:\\\\d\\{2\\}\\(\\?::\\\\d\\{2\\}\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\)\\?\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/m, }, - "pattern": /<\\\\/\\?\\(\\?!\\\\d\\)\\[\\^\\\\s>\\\\/=\\$<%\\]\\+\\(\\?:\\\\s\\(\\?:\\\\s\\*\\[\\^\\\\s>\\\\/=\\]\\+\\(\\?:\\\\s\\*=\\\\s\\*\\(\\?:"\\[\\^"\\]\\*"\\|'\\[\\^'\\]\\*'\\|\\[\\^\\\\s'">=\\]\\+\\(\\?=\\[\\\\s>\\]\\)\\)\\|\\(\\?=\\[\\\\s/>\\]\\)\\)\\)\\+\\)\\?\\\\s\\*\\\\/\\?>/, - }, - }, - "yaml": { - "boolean": { - "alias": "important", - "lookbehind": true, - "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:true\\|false\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, - }, - "comment": /#\\.\\*/, - "datetime": { - "alias": "number", - "lookbehind": true, - "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\\\d\\{4\\}-\\\\d\\\\d\\?-\\\\d\\\\d\\?\\(\\?:\\[tT\\]\\|\\[ \\\\t\\]\\+\\)\\\\d\\\\d\\?:\\\\d\\{2\\}:\\\\d\\{2\\}\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\(\\?:\\[ \\\\t\\]\\*\\(\\?:Z\\|\\[-\\+\\]\\\\d\\\\d\\?\\(\\?::\\\\d\\{2\\}\\)\\?\\)\\)\\?\\|\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}\\|\\\\d\\\\d\\?:\\\\d\\{2\\}\\(\\?::\\\\d\\{2\\}\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\)\\?\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/m, - }, - "directive": { - "alias": "important", - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\*\\)%\\.\\+/m, - }, - "important": /\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+/, - "key": { - "alias": "atrule", - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[:\\\\-,\\[\\{\\\\r\\\\n\\?\\]\\)\\[ \\\\t\\]\\*\\(\\?:\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\(\\?:\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f!"#%&'\\*,\\\\-:>\\?@\\[\\\\\\]\`\\{\\|\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\|\\[\\?:-\\]\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\)\\(\\?:\\[ \\\\t\\]\\*\\(\\?:\\(\\?!\\[#:\\]\\)\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\|:\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\)\\)\\*\\|"\\(\\?:\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*"\\|'\\(\\?:\\[\\^'\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*'\\)\\(\\?=\\\\s\\*:\\\\s\\)/, - }, - "null": { - "alias": "important", - "lookbehind": true, - "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:null\\|~\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\[\\+-\\]\\?\\(\\?:0x\\[\\\\da-f\\]\\+\\|0o\\[0-7\\]\\+\\|\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\\\.\\?\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\\\\\.inf\\|\\\\\\.nan\\)\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, - }, - "punctuation": /---\\|\\[:\\[\\\\\\]\\{\\}\\\\-,\\|>\\?\\]\\|\\\\\\.\\\\\\.\\\\\\./, - "scalar": { - "alias": "string", - "lookbehind": true, - "pattern": /\\(\\[\\\\-:\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\[\\|>\\]\\)\\[ \\\\t\\]\\*\\(\\?:\\(\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\[ \\\\t\\]\\+\\)\\\\S\\[\\^\\\\r\\\\n\\]\\*\\(\\?:\\\\2\\[\\^\\\\r\\\\n\\]\\+\\)\\*\\)/, - }, - "string": { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:"\\(\\?:\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*"\\|'\\(\\?:\\[\\^'\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*'\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/m, + "directive": { + "alias": "important", + "lookbehind": true, + "pattern": /\\(\\^\\[ \\\\t\\]\\*\\)%\\.\\+/m, + }, + "important": /\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+/, + "key": { + "alias": "atrule", + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\(\\?:\\^\\|\\[:\\\\-,\\[\\{\\\\r\\\\n\\?\\]\\)\\[ \\\\t\\]\\*\\(\\?:\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\(\\?:\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f!"#%&'\\*,\\\\-:>\\?@\\[\\\\\\]\`\\{\\|\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\|\\[\\?:-\\]\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\)\\(\\?:\\[ \\\\t\\]\\*\\(\\?:\\(\\?!\\[#:\\]\\)\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\|:\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\)\\)\\*\\|"\\(\\?:\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*"\\|'\\(\\?:\\[\\^'\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*'\\)\\(\\?=\\\\s\\*:\\\\s\\)/, + }, + "null": { + "alias": "important", + "lookbehind": true, + "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:null\\|~\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, + }, + "number": { + "lookbehind": true, + "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\[\\+-\\]\\?\\(\\?:0x\\[\\\\da-f\\]\\+\\|0o\\[0-7\\]\\+\\|\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\\\.\\?\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\\\\\.inf\\|\\\\\\.nan\\)\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, + }, + "punctuation": /---\\|\\[:\\[\\\\\\]\\{\\}\\\\-,\\|>\\?\\]\\|\\\\\\.\\\\\\.\\\\\\./, + "scalar": { + "alias": "string", + "lookbehind": true, + "pattern": /\\(\\[\\\\-:\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\[\\|>\\]\\)\\[ \\\\t\\]\\*\\(\\?:\\(\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\[ \\\\t\\]\\+\\)\\\\S\\[\\^\\\\r\\\\n\\]\\*\\(\\?:\\\\2\\[\\^\\\\r\\\\n\\]\\+\\)\\*\\)/, + }, + "string": { + "greedy": true, + "lookbehind": true, + "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:"\\(\\?:\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*"\\|'\\(\\?:\\[\\^'\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*'\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/m, + }, + "tag": /!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?/, }, - "tag": /!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?/, }, - "yml": { - "boolean": { - "alias": "important", - "lookbehind": true, - "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:true\\|false\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, - }, - "comment": /#\\.\\*/, - "datetime": { - "alias": "number", - "lookbehind": true, - "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\\\d\\{4\\}-\\\\d\\\\d\\?-\\\\d\\\\d\\?\\(\\?:\\[tT\\]\\|\\[ \\\\t\\]\\+\\)\\\\d\\\\d\\?:\\\\d\\{2\\}:\\\\d\\{2\\}\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\(\\?:\\[ \\\\t\\]\\*\\(\\?:Z\\|\\[-\\+\\]\\\\d\\\\d\\?\\(\\?::\\\\d\\{2\\}\\)\\?\\)\\)\\?\\|\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}\\|\\\\d\\\\d\\?:\\\\d\\{2\\}\\(\\?::\\\\d\\{2\\}\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\)\\?\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/m, - }, - "directive": { - "alias": "important", - "lookbehind": true, - "pattern": /\\(\\^\\[ \\\\t\\]\\*\\)%\\.\\+/m, - }, - "important": /\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+/, - "key": { - "alias": "atrule", - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\(\\?:\\^\\|\\[:\\\\-,\\[\\{\\\\r\\\\n\\?\\]\\)\\[ \\\\t\\]\\*\\(\\?:\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\(\\?:\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f!"#%&'\\*,\\\\-:>\\?@\\[\\\\\\]\`\\{\\|\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\|\\[\\?:-\\]\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\)\\(\\?:\\[ \\\\t\\]\\*\\(\\?:\\(\\?!\\[#:\\]\\)\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\|:\\[\\^\\\\s\\\\x00-\\\\x08\\\\x0e-\\\\x1f,\\[\\\\\\]\\{\\}\\\\x7f-\\\\x84\\\\x86-\\\\x9f\\\\ud800-\\\\udfff\\\\ufffe\\\\uffff\\]\\)\\)\\*\\|"\\(\\?:\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*"\\|'\\(\\?:\\[\\^'\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*'\\)\\(\\?=\\\\s\\*:\\\\s\\)/, - }, - "null": { - "alias": "important", - "lookbehind": true, - "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:null\\|~\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, - }, - "number": { - "lookbehind": true, - "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:\\[\\+-\\]\\?\\(\\?:0x\\[\\\\da-f\\]\\+\\|0o\\[0-7\\]\\+\\|\\(\\?:\\\\d\\+\\(\\?:\\\\\\.\\\\d\\*\\)\\?\\|\\\\\\.\\?\\\\d\\+\\)\\(\\?:e\\[\\+-\\]\\?\\\\d\\+\\)\\?\\|\\\\\\.inf\\|\\\\\\.nan\\)\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/im, - }, - "punctuation": /---\\|\\[:\\[\\\\\\]\\{\\}\\\\-,\\|>\\?\\]\\|\\\\\\.\\\\\\.\\\\\\./, - "scalar": { - "alias": "string", - "lookbehind": true, - "pattern": /\\(\\[\\\\-:\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\[\\|>\\]\\)\\[ \\\\t\\]\\*\\(\\?:\\(\\(\\?:\\\\r\\?\\\\n\\|\\\\r\\)\\[ \\\\t\\]\\+\\)\\\\S\\[\\^\\\\r\\\\n\\]\\*\\(\\?:\\\\2\\[\\^\\\\r\\\\n\\]\\+\\)\\*\\)/, - }, - "string": { - "greedy": true, - "lookbehind": true, - "pattern": /\\(\\[:\\\\-,\\[\\{\\]\\\\s\\*\\(\\?:\\\\s\\(\\?:!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\(\\?:\\[ \\]\\+\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\)\\?\\|\\[\\*&\\]\\[\\^\\\\s\\[\\\\\\]\\{\\},\\]\\+\\(\\?:\\[ \\]\\+!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?\\)\\?\\)\\[ \\\\t\\]\\+\\)\\?\\)\\(\\?:"\\(\\?:\\[\\^"\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*"\\|'\\(\\?:\\[\\^'\\\\\\\\\\\\r\\\\n\\]\\|\\\\\\\\\\.\\)\\*'\\)\\(\\?=\\[ \\\\t\\]\\*\\(\\?:\\$\\|,\\|\\]\\|\\}\\|\\(\\?:\\[\\\\r\\\\n\\]\\\\s\\*\\)\\?#\\)\\)/m, - }, - "tag": /!\\(\\?:<\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$,\\.!~\\*'\\(\\)\\[\\\\\\]\\]\\+>\\|\\(\\?:\\[a-zA-Z\\\\d-\\]\\*!\\)\\?\\[\\\\w\\\\-%#;/\\?:@&=\\+\\$\\.~\\*'\\(\\)\\]\\+\\)\\?/, + "matchGrammar": [Function], + "plugins": {}, + "tokenize": [Function], + "util": { + "clone": [Function], + "encode": [Function], + "objId": [Function], + "type": [Function], }, - }, - "matchGrammar": [Function], - "plugins": {}, - "tokenize": [Function], - "util": { - "clone": [Function], - "encode": [Function], - "objId": [Function], - "type": [Function], - }, + } } - } - code="" - language="jsx" - theme={ - { - "plain": { - "backgroundColor": "#282c34", - "color": "#ffffff", - }, - "styles": [ - { - "style": { - "color": "#b2b2b2", - }, - "types": [ - "comment", - "block-comment", - "prolog", - "doctype", - "cdata", - ], - }, - { - "style": { - "color": "#5a9bcf", - }, - "types": [ - "property", - "number", - "function-name", - "constant", - "symbol", - "deleted", - ], - }, - { - "style": { - "color": "#ff8b50", - }, - "types": [ - "boolean", - ], + code="" + language="tsx" + theme={ + { + "plain": { + "backgroundColor": "#27212e", + "color": "#ffffff", + "padding": "0.25em", }, - { - "style": { - "color": "#fc929e", + "styles": [ + { + "style": { + "color": "#91889b", + }, + "types": [ + "prolog", + "comment", + "cdata", + ], }, - "types": [ - "tag", - ], - }, - { - "style": { - "color": "#8dc891", + { + "style": { + "color": "#7b6995", + }, + "types": [ + "punctuation", + ], }, - "types": [ - "string", - "attr-value", - ], - }, - { - "style": { - "color": "#88c6Be", + { + "style": { + "color": "#7b6995", + }, + "types": [ + "builtin", + "constant", + "boolean", + ], }, - "types": [ - "punctuation", - ], - }, - { - "style": { - "color": "#d8dee9", + { + "style": { + "color": "#b381c5", + }, + "types": [ + "number", + ], }, - "types": [ - "selector", - "char", - "builtin", - "inserted", - ], - }, - { - "style": { - "color": "#79b6f2", + { + "style": { + "color": "#40b4c4", + }, + "types": [ + "important", + "atrule", + "property", + "keyword", + ], }, - "types": [ - "function", - ], - }, - { - "style": { - "color": "#d7deea", + { + "style": { + "color": "#74dfc4", + }, + "types": [ + "doctype", + "operator", + "inserted", + "tag", + "class-name", + "symbol", + ], }, - "types": [ - "operator", - "entity", - "url", - "variable", - ], - }, - { - "style": { - "color": "#c5a5c5", + { + "style": { + "color": "#eb64b9", + }, + "types": [ + "attr-name", + "function", + "deleted", + "selector", + ], }, - "types": [ - "keyword", - ], - }, - { - "style": { - "color": "#fac863", + { + "style": { + "color": "#b4dce7", + }, + "types": [ + "attr-value", + "regex", + "char", + "string", + ], }, - "types": [ - "atrule", - "class-name", - ], - }, - { - "style": { - "fontWeight": "400", + { + "style": { + "color": "#ffffff", + }, + "types": [ + "entity", + "url", + "variable", + ], }, - "types": [ - "important", - ], - }, - { - "style": { - "fontWeight": "700", + { + "style": { + "fontWeight": "bold", + }, + "types": [ + "bold", + ], }, - "types": [ - "bold", - ], - }, - { - "style": { - "fontStyle": "italic", + { + "style": { + "fontStyle": "italic", + }, + "types": [ + "italic", + ], }, - "types": [ - "italic", - ], - }, - { - "style": { - "cursor": "help", + { + "style": { + "cursor": "help", + }, + "types": [ + "entity", + ], }, - "types": [ - "entity", - ], - }, - { - "style": { - "opacity": 0.7, + { + "style": { + "opacity": 0.7, + }, + "types": [ + "namespace", + ], }, - "types": [ - "namespace", - ], - }, - ], - } - } - > - <span - className="token-line" - style={ - { - "backgroundColor": null, - "color": "#ffffff", + ], } } > <span - className="token plain" - key="0" + className="token-line" style={ { - "display": "inline-block", + "backgroundColor": null, + "color": "#ffffff", + "padding": "0.25em", } } > - + <span + className="token plain" + key="0" + style={ + { + "display": "inline-block", + } + } + > + + </span> </span> - </span> - + - </Highlight> - </y> - </pre> - <textarea - autoCapitalize="off" - autoComplete="off" - autoCorrect="off" - className="npm__react-simple-code-editor__textarea" - data-gramm={false} - onChange={[Function]} - onKeyDown={[Function]} - spellCheck={false} - style={ - { - "MozOsxFontSmoothing": "grayscale", - "WebkitFontSmoothing": "antialiased", - "WebkitTextFillColor": "transparent", - "background": "none", - "border": 0, - "boxSizing": "inherit", - "color": "inherit", - "display": "inherit", - "fontFamily": "inherit", - "fontSize": "inherit", - "fontStyle": "inherit", - "fontVariantLigatures": "inherit", - "fontWeight": "inherit", - "height": "100%", - "left": 0, - "letterSpacing": "inherit", - "lineHeight": "inherit", - "margin": 0, - "overflow": "hidden", - "overflowWrap": "break-word", - "paddingBottom": 10, - "paddingLeft": 10, - "paddingRight": 10, - "paddingTop": 10, - "position": "absolute", - "resize": "none", - "tabSize": "inherit", - "textIndent": "inherit", - "textRendering": "inherit", - "textTransform": "inherit", - "top": 0, - "whiteSpace": "pre-wrap", - "width": "100%", - "wordBreak": "keep-all", + </Highlight> + </y> + </pre> + <textarea + autoCapitalize="off" + autoComplete="off" + autoCorrect="off" + className="npm__react-simple-code-editor__textarea" + data-gramm={false} + onChange={[Function]} + onKeyDown={[Function]} + spellCheck={false} + style={ + { + "MozOsxFontSmoothing": "grayscale", + "WebkitFontSmoothing": "antialiased", + "WebkitTextFillColor": "transparent", + "background": "none", + "border": 0, + "boxSizing": "inherit", + "color": "inherit", + "display": "inherit", + "fontFamily": "inherit", + "fontSize": "inherit", + "fontStyle": "inherit", + "fontVariantLigatures": "inherit", + "fontWeight": "inherit", + "height": "100%", + "left": 0, + "letterSpacing": "inherit", + "lineHeight": "inherit", + "margin": 0, + "overflow": "hidden", + "overflowWrap": "break-word", + "paddingBottom": 10, + "paddingLeft": 10, + "paddingRight": 10, + "paddingTop": 10, + "position": "absolute", + "resize": "none", + "tabSize": "inherit", + "textIndent": "inherit", + "textRendering": "inherit", + "textTransform": "inherit", + "top": 0, + "whiteSpace": "pre-wrap", + "width": "100%", + "wordBreak": "keep-all", + } } - } - value="" - /> - <style - dangerouslySetInnerHTML={ - { - "__html": " + value="" + /> + <style + dangerouslySetInnerHTML={ + { + "__html": " /** * Reset the text fill color so that placeholder is visible */ @@ -37408,12 +37631,13 @@ exports[`LiveEdit renders correctly 1`] = ` } } ", + } } - } - /> - </div> - </Editor> - </g> + /> + </div> + </Editor> + </g> + </Component> </Component> </Styled(Component)> </code>