easy-email-pro-theme 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/VariablesEditorContent-08997e30.mjs +147384 -0
- package/lib/abap-e7729493.mjs +1315 -0
- package/lib/apex-ea0b1b44.mjs +320 -0
- package/lib/assets/json.worker-2db083a8.js +16634 -0
- package/lib/azcli-92ca1f6b.mjs +75 -0
- package/lib/bat-a8aff72a.mjs +96 -0
- package/lib/bicep-a4d73496.mjs +116 -0
- package/lib/cameligo-93a61573.mjs +169 -0
- package/lib/clojure-a4292303.mjs +755 -0
- package/lib/coffee-c79fd580.mjs +229 -0
- package/lib/cpp-4bbc4355.mjs +391 -0
- package/lib/csharp-8ee8b919.mjs +321 -0
- package/lib/csp-7ff23ab5.mjs +58 -0
- package/lib/css-675efd06.mjs +185 -0
- package/lib/cssMode-e5b02650.mjs +2031 -0
- package/lib/cypher-ff6c93d1.mjs +263 -0
- package/lib/dart-b81ee8da.mjs +271 -0
- package/lib/dockerfile-4d34b657.mjs +133 -0
- package/lib/ecl-829c6c9f.mjs +455 -0
- package/lib/elixir-d20ab92c.mjs +490 -0
- package/lib/flow9-d363677c.mjs +142 -0
- package/lib/freemarker2-07352200.mjs +675 -0
- package/lib/fsharp-e5e10937.mjs +211 -0
- package/lib/go-49d8dd1b.mjs +209 -0
- package/lib/graphql-397d36cc.mjs +142 -0
- package/lib/handlebars-eb587af4.mjs +403 -0
- package/lib/hcl-2bc5a11b.mjs +178 -0
- package/lib/html-805b20b1.mjs +293 -0
- package/lib/html2canvas.esm-858519c4.mjs +7837 -0
- package/lib/htmlMode-a339a06a.mjs +2047 -0
- package/lib/index.js +40838 -0
- package/lib/ini-777fd0a6.mjs +69 -0
- package/lib/java-88c2ae93.mjs +222 -0
- package/lib/javascript-b5849f55.mjs +78 -0
- package/lib/jsonMode-1b509c19.mjs +2607 -0
- package/lib/julia-7e1d65a2.mjs +497 -0
- package/lib/kotlin-da15198d.mjs +246 -0
- package/lib/less-0057666d.mjs +168 -0
- package/lib/lexon-4f74b04c.mjs +152 -0
- package/lib/liquid-d5c8a287.mjs +250 -0
- package/lib/lua-da0a0c60.mjs +158 -0
- package/lib/m3-14d67e1c.mjs +211 -0
- package/lib/markdown-37ba20b1.mjs +203 -0
- package/lib/mips-d0b2c227.mjs +195 -0
- package/lib/monacoeditorwork/css.worker.bundle.js +46736 -0
- package/lib/monacoeditorwork/editor.worker.bundle.js +9954 -0
- package/lib/monacoeditorwork/html.worker.bundle.js +25985 -0
- package/lib/monacoeditorwork/json.worker.bundle.js +17214 -0
- package/lib/monacoeditorwork/ts.worker.bundle.js +172133 -0
- package/lib/msdax-29068c66.mjs +378 -0
- package/lib/mysql-7833c854.mjs +877 -0
- package/lib/objective-c-91c200d7.mjs +189 -0
- package/lib/pascal-eb8fa4fd.mjs +246 -0
- package/lib/pascaligo-855a8af1.mjs +159 -0
- package/lib/perl-6aab1ca2.mjs +600 -0
- package/lib/pgsql-f2266c91.mjs +848 -0
- package/lib/php-9806c791.mjs +472 -0
- package/lib/pla-c1d8ec04.mjs +132 -0
- package/lib/postiats-04d6db22.mjs +545 -0
- package/lib/powerquery-ec4dd65a.mjs +891 -0
- package/lib/powershell-cc02a40e.mjs +234 -0
- package/lib/protobuf-83b8e701.mjs +423 -0
- package/lib/pug-06fecd70.mjs +394 -0
- package/lib/python-7da9e073.mjs +270 -0
- package/lib/qsharp-232171da.mjs +283 -0
- package/lib/r-c048a1d4.mjs +246 -0
- package/lib/razor-c88b46b3.mjs +524 -0
- package/lib/redis-4399e06c.mjs +299 -0
- package/lib/redshift-ba36da77.mjs +807 -0
- package/lib/restructuredtext-cac6fcb7.mjs +163 -0
- package/lib/ruby-dca5ee98.mjs +445 -0
- package/lib/rust-c0b8769e.mjs +338 -0
- package/lib/sb-2b0bce6c.mjs +111 -0
- package/lib/scala-58e9dfc7.mjs +354 -0
- package/lib/scheme-fdc48747.mjs +115 -0
- package/lib/scss-defea6f2.mjs +243 -0
- package/lib/shell-8e11dc85.mjs +225 -0
- package/lib/solidity-8d74b890.mjs +1352 -0
- package/lib/sophia-b97eb718.mjs +191 -0
- package/lib/sparql-68163824.mjs +194 -0
- package/lib/sql-59977475.mjs +819 -0
- package/lib/st-febe75da.mjs +415 -0
- package/lib/style.css +6503 -0
- package/lib/swift-b95bae51.mjs +316 -0
- package/lib/systemverilog-4461e8b3.mjs +557 -0
- package/lib/tcl-8f97c15f.mjs +233 -0
- package/lib/tsMode-934544e6.mjs +1216 -0
- package/lib/twig-a68d494c.mjs +324 -0
- package/lib/typescript-049ec7b9.mjs +339 -0
- package/lib/typings/assets/font/iconfont.d.ts +0 -0
- package/lib/typings/components/BlockSideBar/BlockItem/index.d.ts +9 -0
- package/lib/typings/components/BlockSideBar/BlockList/index.d.ts +5 -0
- package/lib/typings/components/BlockSideBar/BlocksPanel/index.d.ts +2 -0
- package/lib/typings/components/BlockSideBar/LayoutItem/index.d.ts +6 -0
- package/lib/typings/components/BlockSideBar/index.d.ts +5 -0
- package/lib/typings/components/ColumnLayout/LayoutItemList.d.ts +6 -0
- package/lib/typings/components/ColumnLayout/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationDrawer/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Button/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Column/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Divider/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Hero/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Image/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Navbar/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Page/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Section/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Social/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Spacer/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Text/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Wrapper/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundColor.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundImage.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundPosition.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Border.d.ts +11 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BorderRadius.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/ButtonCategory.d.ts +10 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Buttons.d.ts +18 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Columns.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Direction.d.ts +9 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/Condition.d.ts +9 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/Iteration.d.ts +9 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/index.d.ts +3 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DividerLine.d.ts +10 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontFamily.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontSize.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontWeight.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/GlobalLink.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Heading.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Height.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/ImageUrl.d.ts +6 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/ImageWidth.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/LetterSpacing.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/LineHeight.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Link.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Padding.d.ts +10 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/PixelAndPercentField.d.ts +11 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/PixelField.d.ts +3 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/StackOnMobile.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAlign.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAndHeadingList.d.ts +6 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAndHeadingStyle.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Typography.d.ts +17 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/VerticalAlign.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/WebFonts.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Width.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/index.d.ts +103 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributePanel.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributesPanelWrapper/index.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/CollapseWrapper/index.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/ResponsiveTabs/ResponsiveField.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/ResponsiveTabs/index.d.ts +11 -0
- package/lib/typings/components/ConfigurationPanel/components/SourceCodePanel/index.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/UniversalElementPanel/index.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/index.d.ts +8 -0
- package/lib/typings/components/Controller/index.d.ts +3 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmail/components/DesktopEmailPreview/index.d.ts +5 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmail/components/MobilePreview/index.d.ts +5 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmail/index.d.ts +8 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmailDrawer/index.d.ts +4 -0
- package/lib/typings/components/EditorTabs/components/TabHeader/index.d.ts +5 -0
- package/lib/typings/components/EditorTabs/index.d.ts +4 -0
- package/lib/typings/components/Form/ButtonField.d.ts +13 -0
- package/lib/typings/components/Form/ButtonGroupField.d.ts +15 -0
- package/lib/typings/components/Form/ColorPicker/ColorPickerContent.d.ts +7 -0
- package/lib/typings/components/Form/ColorPicker/index.d.ts +14 -0
- package/lib/typings/components/Form/EditPanelListField.d.ts +17 -0
- package/lib/typings/components/Form/EditPanelTabsField.d.ts +13 -0
- package/lib/typings/components/Form/ImageUploaderField/index.d.ts +20 -0
- package/lib/typings/components/Form/RichTextField/index.d.ts +10 -0
- package/lib/typings/components/Form/Select.d.ts +11 -0
- package/lib/typings/components/Form/SwitchField/index.d.ts +5 -0
- package/lib/typings/components/Form/SyncChildrenField.d.ts +11 -0
- package/lib/typings/components/Form/VariablesEditor/VariablesEditorContent.d.ts +7 -0
- package/lib/typings/components/Form/VariablesEditor/index.d.ts +2 -0
- package/lib/typings/components/Form/WatchField.d.ts +11 -0
- package/lib/typings/components/Form/adapter/JsonAdapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/color.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/fontStyle.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/fontWeight.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/index.d.ts +8 -0
- package/lib/typings/components/Form/adapter/italic.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/pixel.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/pixelNumber.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/slider.adapter.d.ts +4 -0
- package/lib/typings/components/Form/enhancer.d.ts +12 -0
- package/lib/typings/components/Form/index.d.ts +26 -0
- package/lib/typings/components/FullHeightOverlayScrollbars/index.d.ts +9 -0
- package/lib/typings/components/FullScreenLoading/index.d.ts +7 -0
- package/lib/typings/components/Hotkeys/index.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/RichTextBar.d.ts +6 -0
- package/lib/typings/components/HoveringToolbar/componens/BgColor.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FontColor.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FontFamily.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FontSize.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FormatButton.d.ts +9 -0
- package/lib/typings/components/HoveringToolbar/componens/MergeTag.d.ts +8 -0
- package/lib/typings/components/HoveringToolbar/componens/TextAlign.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/TextLink.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/TurnInto.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/constants.d.ts +0 -0
- package/lib/typings/components/HoveringToolbar/index.d.ts +3 -0
- package/lib/typings/components/HoveringToolbar/utils/getLinkNode.d.ts +3 -0
- package/lib/typings/components/IconFont/index.d.ts +10 -0
- package/lib/typings/components/MergeTagComponent/index.d.ts +7 -0
- package/lib/typings/components/MergetagPopover/index.d.ts +2 -0
- package/lib/typings/components/Providers/ControllerProvider.d.ts +4 -0
- package/lib/typings/components/Providers/DraggingProvider.d.ts +20 -0
- package/lib/typings/components/Providers/FormProvider.d.ts +4 -0
- package/lib/typings/components/Providers/UniversalElementProvider.d.ts +10 -0
- package/lib/typings/components/Providers/index.d.ts +6 -0
- package/lib/typings/components/UniversalElementEditorDrawer/index.d.ts +5 -0
- package/lib/typings/components/UnsplashImages/index.d.ts +206 -0
- package/lib/typings/components/index.d.ts +69 -0
- package/lib/typings/hooks/index.d.ts +6 -0
- package/lib/typings/hooks/useDragging.d.ts +15 -0
- package/lib/typings/hooks/useEditorForm.d.ts +12 -0
- package/lib/typings/hooks/useElementDefault.d.ts +9 -0
- package/lib/typings/hooks/useElementInteract.d.ts +6 -0
- package/lib/typings/hooks/useFontFamily.d.ts +7 -0
- package/lib/typings/hooks/useUniversalContent.d.ts +1 -0
- package/lib/typings/index.d.ts +5 -0
- package/lib/typings/store/ColorState.d.ts +9 -0
- package/lib/typings/store/EditorState.d.ts +12 -0
- package/lib/typings/store/Minimalist.d.ts +35 -0
- package/lib/typings/store/index.d.ts +49 -0
- package/lib/typings/themes/Minimalist/components/AutoSelectElement.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/BlockMenusOverlay/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/BlockResizer/index.d.ts +12 -0
- package/lib/typings/themes/Minimalist/components/ColumnLayoutOverlay/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementHover/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementPlaceholder/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementSelected/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementTools/index.d.ts +8 -0
- package/lib/typings/themes/Minimalist/components/ImageAction/MoreActionsMenusOverlay/index.d.ts +10 -0
- package/lib/typings/themes/Minimalist/components/ImageAction/MoreIcon/index.d.ts +5 -0
- package/lib/typings/themes/Minimalist/components/ImageAction/index.d.ts +7 -0
- package/lib/typings/themes/Minimalist/index.d.ts +10 -0
- package/lib/typings/themes/Minimalist/withTheme.d.ts +4 -0
- package/lib/typings/themes/Retro/components/AutoDeselectElement.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/AddIcon/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/DragIcon/index.d.ts +4 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementHover/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementPlaceholder/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementSelected/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementTools/index.d.ts +8 -0
- package/lib/typings/themes/Retro/components/ElementInteract/index.d.ts +3 -0
- package/lib/typings/themes/Retro/index.d.ts +10 -0
- package/lib/typings/themes/Retro/withTheme.d.ts +2 -0
- package/lib/typings/themes/index.d.ts +2 -0
- package/lib/typings/typings/custom-types.d.ts +96 -0
- package/lib/typings/typings/index.d.ts +1 -0
- package/lib/typings/utils/Uploader.d.ts +35 -0
- package/lib/typings/utils/environment.d.ts +1 -0
- package/lib/typings/utils/generateLogic.d.ts +3 -0
- package/lib/typings/utils/getElementPageLayout.d.ts +16 -0
- package/lib/typings/utils/getFallbackValue.d.ts +7 -0
- package/lib/typings/utils/hideCursor.d.ts +2 -0
- package/lib/typings/utils/hotkeys.d.ts +18 -0
- package/lib/typings/utils/index.d.ts +2 -0
- package/lib/typings/utils/isValidHttpUrl.d.ts +1 -0
- package/lib/typings/utils/mjmlToJson/HtmlNodeAdapter.d.ts +2 -0
- package/lib/typings/utils/mjmlToJson/basicElementToStandardElement.d.ts +2 -0
- package/lib/typings/utils/mjmlToJson/formatPadding.d.ts +1 -0
- package/lib/typings/utils/mjmlToJson/index.d.ts +2 -0
- package/lib/typings/utils/onDrag.d.ts +10 -0
- package/lib/typings/utils/previewLoadImage.d.ts +1 -0
- package/lib/vb-dfbee74a.mjs +365 -0
- package/lib/xml-c6d1e274.mjs +106 -0
- package/lib/yaml-3c88ef61.mjs +195 -0
- package/package.json +44 -0
|
@@ -0,0 +1,600 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.36.1(6c56744c3419458f0dd48864520b759d1a3a1ca8)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/
|
|
7
|
+
var conf = {
|
|
8
|
+
comments: {
|
|
9
|
+
lineComment: "#"
|
|
10
|
+
},
|
|
11
|
+
brackets: [
|
|
12
|
+
["{", "}"],
|
|
13
|
+
["[", "]"],
|
|
14
|
+
["(", ")"]
|
|
15
|
+
],
|
|
16
|
+
autoClosingPairs: [
|
|
17
|
+
{ open: "{", close: "}" },
|
|
18
|
+
{ open: "[", close: "]" },
|
|
19
|
+
{ open: "(", close: ")" },
|
|
20
|
+
{ open: '"', close: '"' },
|
|
21
|
+
{ open: "'", close: "'" },
|
|
22
|
+
{ open: "`", close: "`" }
|
|
23
|
+
],
|
|
24
|
+
surroundingPairs: [
|
|
25
|
+
{ open: "{", close: "}" },
|
|
26
|
+
{ open: "[", close: "]" },
|
|
27
|
+
{ open: "(", close: ")" },
|
|
28
|
+
{ open: '"', close: '"' },
|
|
29
|
+
{ open: "'", close: "'" },
|
|
30
|
+
{ open: "`", close: "`" }
|
|
31
|
+
]
|
|
32
|
+
};
|
|
33
|
+
var language = {
|
|
34
|
+
defaultToken: "",
|
|
35
|
+
tokenPostfix: ".perl",
|
|
36
|
+
brackets: [
|
|
37
|
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
38
|
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
|
39
|
+
{ token: "delimiter.square", open: "[", close: "]" }
|
|
40
|
+
],
|
|
41
|
+
keywords: [
|
|
42
|
+
"__DATA__",
|
|
43
|
+
"else",
|
|
44
|
+
"lock",
|
|
45
|
+
"__END__",
|
|
46
|
+
"elsif",
|
|
47
|
+
"lt",
|
|
48
|
+
"__FILE__",
|
|
49
|
+
"eq",
|
|
50
|
+
"__LINE__",
|
|
51
|
+
"exp",
|
|
52
|
+
"ne",
|
|
53
|
+
"sub",
|
|
54
|
+
"__PACKAGE__",
|
|
55
|
+
"for",
|
|
56
|
+
"no",
|
|
57
|
+
"and",
|
|
58
|
+
"foreach",
|
|
59
|
+
"or",
|
|
60
|
+
"unless",
|
|
61
|
+
"cmp",
|
|
62
|
+
"ge",
|
|
63
|
+
"package",
|
|
64
|
+
"until",
|
|
65
|
+
"continue",
|
|
66
|
+
"gt",
|
|
67
|
+
"while",
|
|
68
|
+
"CORE",
|
|
69
|
+
"if",
|
|
70
|
+
"xor",
|
|
71
|
+
"do",
|
|
72
|
+
"le",
|
|
73
|
+
"__DIE__",
|
|
74
|
+
"__WARN__"
|
|
75
|
+
],
|
|
76
|
+
builtinFunctions: [
|
|
77
|
+
"-A",
|
|
78
|
+
"END",
|
|
79
|
+
"length",
|
|
80
|
+
"setpgrp",
|
|
81
|
+
"-B",
|
|
82
|
+
"endgrent",
|
|
83
|
+
"link",
|
|
84
|
+
"setpriority",
|
|
85
|
+
"-b",
|
|
86
|
+
"endhostent",
|
|
87
|
+
"listen",
|
|
88
|
+
"setprotoent",
|
|
89
|
+
"-C",
|
|
90
|
+
"endnetent",
|
|
91
|
+
"local",
|
|
92
|
+
"setpwent",
|
|
93
|
+
"-c",
|
|
94
|
+
"endprotoent",
|
|
95
|
+
"localtime",
|
|
96
|
+
"setservent",
|
|
97
|
+
"-d",
|
|
98
|
+
"endpwent",
|
|
99
|
+
"log",
|
|
100
|
+
"setsockopt",
|
|
101
|
+
"-e",
|
|
102
|
+
"endservent",
|
|
103
|
+
"lstat",
|
|
104
|
+
"shift",
|
|
105
|
+
"-f",
|
|
106
|
+
"eof",
|
|
107
|
+
"map",
|
|
108
|
+
"shmctl",
|
|
109
|
+
"-g",
|
|
110
|
+
"eval",
|
|
111
|
+
"mkdir",
|
|
112
|
+
"shmget",
|
|
113
|
+
"-k",
|
|
114
|
+
"exec",
|
|
115
|
+
"msgctl",
|
|
116
|
+
"shmread",
|
|
117
|
+
"-l",
|
|
118
|
+
"exists",
|
|
119
|
+
"msgget",
|
|
120
|
+
"shmwrite",
|
|
121
|
+
"-M",
|
|
122
|
+
"exit",
|
|
123
|
+
"msgrcv",
|
|
124
|
+
"shutdown",
|
|
125
|
+
"-O",
|
|
126
|
+
"fcntl",
|
|
127
|
+
"msgsnd",
|
|
128
|
+
"sin",
|
|
129
|
+
"-o",
|
|
130
|
+
"fileno",
|
|
131
|
+
"my",
|
|
132
|
+
"sleep",
|
|
133
|
+
"-p",
|
|
134
|
+
"flock",
|
|
135
|
+
"next",
|
|
136
|
+
"socket",
|
|
137
|
+
"-r",
|
|
138
|
+
"fork",
|
|
139
|
+
"not",
|
|
140
|
+
"socketpair",
|
|
141
|
+
"-R",
|
|
142
|
+
"format",
|
|
143
|
+
"oct",
|
|
144
|
+
"sort",
|
|
145
|
+
"-S",
|
|
146
|
+
"formline",
|
|
147
|
+
"open",
|
|
148
|
+
"splice",
|
|
149
|
+
"-s",
|
|
150
|
+
"getc",
|
|
151
|
+
"opendir",
|
|
152
|
+
"split",
|
|
153
|
+
"-T",
|
|
154
|
+
"getgrent",
|
|
155
|
+
"ord",
|
|
156
|
+
"sprintf",
|
|
157
|
+
"-t",
|
|
158
|
+
"getgrgid",
|
|
159
|
+
"our",
|
|
160
|
+
"sqrt",
|
|
161
|
+
"-u",
|
|
162
|
+
"getgrnam",
|
|
163
|
+
"pack",
|
|
164
|
+
"srand",
|
|
165
|
+
"-w",
|
|
166
|
+
"gethostbyaddr",
|
|
167
|
+
"pipe",
|
|
168
|
+
"stat",
|
|
169
|
+
"-W",
|
|
170
|
+
"gethostbyname",
|
|
171
|
+
"pop",
|
|
172
|
+
"state",
|
|
173
|
+
"-X",
|
|
174
|
+
"gethostent",
|
|
175
|
+
"pos",
|
|
176
|
+
"study",
|
|
177
|
+
"-x",
|
|
178
|
+
"getlogin",
|
|
179
|
+
"print",
|
|
180
|
+
"substr",
|
|
181
|
+
"-z",
|
|
182
|
+
"getnetbyaddr",
|
|
183
|
+
"printf",
|
|
184
|
+
"symlink",
|
|
185
|
+
"abs",
|
|
186
|
+
"getnetbyname",
|
|
187
|
+
"prototype",
|
|
188
|
+
"syscall",
|
|
189
|
+
"accept",
|
|
190
|
+
"getnetent",
|
|
191
|
+
"push",
|
|
192
|
+
"sysopen",
|
|
193
|
+
"alarm",
|
|
194
|
+
"getpeername",
|
|
195
|
+
"quotemeta",
|
|
196
|
+
"sysread",
|
|
197
|
+
"atan2",
|
|
198
|
+
"getpgrp",
|
|
199
|
+
"rand",
|
|
200
|
+
"sysseek",
|
|
201
|
+
"AUTOLOAD",
|
|
202
|
+
"getppid",
|
|
203
|
+
"read",
|
|
204
|
+
"system",
|
|
205
|
+
"BEGIN",
|
|
206
|
+
"getpriority",
|
|
207
|
+
"readdir",
|
|
208
|
+
"syswrite",
|
|
209
|
+
"bind",
|
|
210
|
+
"getprotobyname",
|
|
211
|
+
"readline",
|
|
212
|
+
"tell",
|
|
213
|
+
"binmode",
|
|
214
|
+
"getprotobynumber",
|
|
215
|
+
"readlink",
|
|
216
|
+
"telldir",
|
|
217
|
+
"bless",
|
|
218
|
+
"getprotoent",
|
|
219
|
+
"readpipe",
|
|
220
|
+
"tie",
|
|
221
|
+
"break",
|
|
222
|
+
"getpwent",
|
|
223
|
+
"recv",
|
|
224
|
+
"tied",
|
|
225
|
+
"caller",
|
|
226
|
+
"getpwnam",
|
|
227
|
+
"redo",
|
|
228
|
+
"time",
|
|
229
|
+
"chdir",
|
|
230
|
+
"getpwuid",
|
|
231
|
+
"ref",
|
|
232
|
+
"times",
|
|
233
|
+
"CHECK",
|
|
234
|
+
"getservbyname",
|
|
235
|
+
"rename",
|
|
236
|
+
"truncate",
|
|
237
|
+
"chmod",
|
|
238
|
+
"getservbyport",
|
|
239
|
+
"require",
|
|
240
|
+
"uc",
|
|
241
|
+
"chomp",
|
|
242
|
+
"getservent",
|
|
243
|
+
"reset",
|
|
244
|
+
"ucfirst",
|
|
245
|
+
"chop",
|
|
246
|
+
"getsockname",
|
|
247
|
+
"return",
|
|
248
|
+
"umask",
|
|
249
|
+
"chown",
|
|
250
|
+
"getsockopt",
|
|
251
|
+
"reverse",
|
|
252
|
+
"undef",
|
|
253
|
+
"chr",
|
|
254
|
+
"glob",
|
|
255
|
+
"rewinddir",
|
|
256
|
+
"UNITCHECK",
|
|
257
|
+
"chroot",
|
|
258
|
+
"gmtime",
|
|
259
|
+
"rindex",
|
|
260
|
+
"unlink",
|
|
261
|
+
"close",
|
|
262
|
+
"goto",
|
|
263
|
+
"rmdir",
|
|
264
|
+
"unpack",
|
|
265
|
+
"closedir",
|
|
266
|
+
"grep",
|
|
267
|
+
"say",
|
|
268
|
+
"unshift",
|
|
269
|
+
"connect",
|
|
270
|
+
"hex",
|
|
271
|
+
"scalar",
|
|
272
|
+
"untie",
|
|
273
|
+
"cos",
|
|
274
|
+
"index",
|
|
275
|
+
"seek",
|
|
276
|
+
"use",
|
|
277
|
+
"crypt",
|
|
278
|
+
"INIT",
|
|
279
|
+
"seekdir",
|
|
280
|
+
"utime",
|
|
281
|
+
"dbmclose",
|
|
282
|
+
"int",
|
|
283
|
+
"select",
|
|
284
|
+
"values",
|
|
285
|
+
"dbmopen",
|
|
286
|
+
"ioctl",
|
|
287
|
+
"semctl",
|
|
288
|
+
"vec",
|
|
289
|
+
"defined",
|
|
290
|
+
"join",
|
|
291
|
+
"semget",
|
|
292
|
+
"wait",
|
|
293
|
+
"delete",
|
|
294
|
+
"keys",
|
|
295
|
+
"semop",
|
|
296
|
+
"waitpid",
|
|
297
|
+
"DESTROY",
|
|
298
|
+
"kill",
|
|
299
|
+
"send",
|
|
300
|
+
"wantarray",
|
|
301
|
+
"die",
|
|
302
|
+
"last",
|
|
303
|
+
"setgrent",
|
|
304
|
+
"warn",
|
|
305
|
+
"dump",
|
|
306
|
+
"lc",
|
|
307
|
+
"sethostent",
|
|
308
|
+
"write",
|
|
309
|
+
"each",
|
|
310
|
+
"lcfirst",
|
|
311
|
+
"setnetent"
|
|
312
|
+
],
|
|
313
|
+
builtinFileHandlers: ["ARGV", "STDERR", "STDOUT", "ARGVOUT", "STDIN", "ENV"],
|
|
314
|
+
builtinVariables: [
|
|
315
|
+
"$!",
|
|
316
|
+
"$^RE_TRIE_MAXBUF",
|
|
317
|
+
"$LAST_REGEXP_CODE_RESULT",
|
|
318
|
+
'$"',
|
|
319
|
+
"$^S",
|
|
320
|
+
"$LIST_SEPARATOR",
|
|
321
|
+
"$#",
|
|
322
|
+
"$^T",
|
|
323
|
+
"$MATCH",
|
|
324
|
+
"$$",
|
|
325
|
+
"$^TAINT",
|
|
326
|
+
"$MULTILINE_MATCHING",
|
|
327
|
+
"$%",
|
|
328
|
+
"$^UNICODE",
|
|
329
|
+
"$NR",
|
|
330
|
+
"$&",
|
|
331
|
+
"$^UTF8LOCALE",
|
|
332
|
+
"$OFMT",
|
|
333
|
+
"$'",
|
|
334
|
+
"$^V",
|
|
335
|
+
"$OFS",
|
|
336
|
+
"$(",
|
|
337
|
+
"$^W",
|
|
338
|
+
"$ORS",
|
|
339
|
+
"$)",
|
|
340
|
+
"$^WARNING_BITS",
|
|
341
|
+
"$OS_ERROR",
|
|
342
|
+
"$*",
|
|
343
|
+
"$^WIDE_SYSTEM_CALLS",
|
|
344
|
+
"$OSNAME",
|
|
345
|
+
"$+",
|
|
346
|
+
"$^X",
|
|
347
|
+
"$OUTPUT_AUTO_FLUSH",
|
|
348
|
+
"$,",
|
|
349
|
+
"$_",
|
|
350
|
+
"$OUTPUT_FIELD_SEPARATOR",
|
|
351
|
+
"$-",
|
|
352
|
+
"$`",
|
|
353
|
+
"$OUTPUT_RECORD_SEPARATOR",
|
|
354
|
+
"$.",
|
|
355
|
+
"$a",
|
|
356
|
+
"$PERL_VERSION",
|
|
357
|
+
"$/",
|
|
358
|
+
"$ACCUMULATOR",
|
|
359
|
+
"$PERLDB",
|
|
360
|
+
"$0",
|
|
361
|
+
"$ARG",
|
|
362
|
+
"$PID",
|
|
363
|
+
"$:",
|
|
364
|
+
"$ARGV",
|
|
365
|
+
"$POSTMATCH",
|
|
366
|
+
"$;",
|
|
367
|
+
"$b",
|
|
368
|
+
"$PREMATCH",
|
|
369
|
+
"$<",
|
|
370
|
+
"$BASETIME",
|
|
371
|
+
"$PROCESS_ID",
|
|
372
|
+
"$=",
|
|
373
|
+
"$CHILD_ERROR",
|
|
374
|
+
"$PROGRAM_NAME",
|
|
375
|
+
"$>",
|
|
376
|
+
"$COMPILING",
|
|
377
|
+
"$REAL_GROUP_ID",
|
|
378
|
+
"$?",
|
|
379
|
+
"$DEBUGGING",
|
|
380
|
+
"$REAL_USER_ID",
|
|
381
|
+
"$@",
|
|
382
|
+
"$EFFECTIVE_GROUP_ID",
|
|
383
|
+
"$RS",
|
|
384
|
+
"$[",
|
|
385
|
+
"$EFFECTIVE_USER_ID",
|
|
386
|
+
"$SUBSCRIPT_SEPARATOR",
|
|
387
|
+
"$\\",
|
|
388
|
+
"$EGID",
|
|
389
|
+
"$SUBSEP",
|
|
390
|
+
"$]",
|
|
391
|
+
"$ERRNO",
|
|
392
|
+
"$SYSTEM_FD_MAX",
|
|
393
|
+
"$^",
|
|
394
|
+
"$EUID",
|
|
395
|
+
"$UID",
|
|
396
|
+
"$^A",
|
|
397
|
+
"$EVAL_ERROR",
|
|
398
|
+
"$WARNING",
|
|
399
|
+
"$^C",
|
|
400
|
+
"$EXCEPTIONS_BEING_CAUGHT",
|
|
401
|
+
"$|",
|
|
402
|
+
"$^CHILD_ERROR_NATIVE",
|
|
403
|
+
"$EXECUTABLE_NAME",
|
|
404
|
+
"$~",
|
|
405
|
+
"$^D",
|
|
406
|
+
"$EXTENDED_OS_ERROR",
|
|
407
|
+
"%!",
|
|
408
|
+
"$^E",
|
|
409
|
+
"$FORMAT_FORMFEED",
|
|
410
|
+
"%^H",
|
|
411
|
+
"$^ENCODING",
|
|
412
|
+
"$FORMAT_LINE_BREAK_CHARACTERS",
|
|
413
|
+
"%ENV",
|
|
414
|
+
"$^F",
|
|
415
|
+
"$FORMAT_LINES_LEFT",
|
|
416
|
+
"%INC",
|
|
417
|
+
"$^H",
|
|
418
|
+
"$FORMAT_LINES_PER_PAGE",
|
|
419
|
+
"%OVERLOAD",
|
|
420
|
+
"$^I",
|
|
421
|
+
"$FORMAT_NAME",
|
|
422
|
+
"%SIG",
|
|
423
|
+
"$^L",
|
|
424
|
+
"$FORMAT_PAGE_NUMBER",
|
|
425
|
+
"@+",
|
|
426
|
+
"$^M",
|
|
427
|
+
"$FORMAT_TOP_NAME",
|
|
428
|
+
"@-",
|
|
429
|
+
"$^N",
|
|
430
|
+
"$GID",
|
|
431
|
+
"@_",
|
|
432
|
+
"$^O",
|
|
433
|
+
"$INPLACE_EDIT",
|
|
434
|
+
"@ARGV",
|
|
435
|
+
"$^OPEN",
|
|
436
|
+
"$INPUT_LINE_NUMBER",
|
|
437
|
+
"@INC",
|
|
438
|
+
"$^P",
|
|
439
|
+
"$INPUT_RECORD_SEPARATOR",
|
|
440
|
+
"@LAST_MATCH_START",
|
|
441
|
+
"$^R",
|
|
442
|
+
"$LAST_MATCH_END",
|
|
443
|
+
"$^RE_DEBUG_FLAGS",
|
|
444
|
+
"$LAST_PAREN_MATCH"
|
|
445
|
+
],
|
|
446
|
+
symbols: /[:+\-\^*$&%@=<>!?|\/~\.]/,
|
|
447
|
+
quoteLikeOps: ["qr", "m", "s", "q", "qq", "qx", "qw", "tr", "y"],
|
|
448
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
449
|
+
tokenizer: {
|
|
450
|
+
root: [
|
|
451
|
+
{ include: "@whitespace" },
|
|
452
|
+
[
|
|
453
|
+
/[a-zA-Z\-_][\w\-_]*/,
|
|
454
|
+
{
|
|
455
|
+
cases: {
|
|
456
|
+
"@keywords": "keyword",
|
|
457
|
+
"@builtinFunctions": "type.identifier",
|
|
458
|
+
"@builtinFileHandlers": "variable.predefined",
|
|
459
|
+
"@quoteLikeOps": {
|
|
460
|
+
token: "@rematch",
|
|
461
|
+
next: "quotedConstructs"
|
|
462
|
+
},
|
|
463
|
+
"@default": ""
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
],
|
|
467
|
+
[
|
|
468
|
+
/[\$@%][*@#?\+\-\$!\w\\\^><~:;\.]+/,
|
|
469
|
+
{
|
|
470
|
+
cases: {
|
|
471
|
+
"@builtinVariables": "variable.predefined",
|
|
472
|
+
"@default": "variable"
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
{ include: "@strings" },
|
|
477
|
+
{ include: "@dblStrings" },
|
|
478
|
+
{ include: "@perldoc" },
|
|
479
|
+
{ include: "@heredoc" },
|
|
480
|
+
[/[{}\[\]()]/, "@brackets"],
|
|
481
|
+
[/[\/](?:(?:\[(?:\\]|[^\]])+\])|(?:\\\/|[^\]\/]))*[\/]\w*\s*(?=[).,;]|$)/, "regexp"],
|
|
482
|
+
[/@symbols/, "operators"],
|
|
483
|
+
{ include: "@numbers" },
|
|
484
|
+
[/[,;]/, "delimiter"]
|
|
485
|
+
],
|
|
486
|
+
whitespace: [
|
|
487
|
+
[/\s+/, "white"],
|
|
488
|
+
[/(^#!.*$)/, "metatag"],
|
|
489
|
+
[/(^#.*$)/, "comment"]
|
|
490
|
+
],
|
|
491
|
+
numbers: [
|
|
492
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
493
|
+
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
|
494
|
+
[/\d+/, "number"]
|
|
495
|
+
],
|
|
496
|
+
strings: [[/'/, "string", "@stringBody"]],
|
|
497
|
+
stringBody: [
|
|
498
|
+
[/'/, "string", "@popall"],
|
|
499
|
+
[/\\'/, "string.escape"],
|
|
500
|
+
[/./, "string"]
|
|
501
|
+
],
|
|
502
|
+
dblStrings: [[/"/, "string", "@dblStringBody"]],
|
|
503
|
+
dblStringBody: [
|
|
504
|
+
[/"/, "string", "@popall"],
|
|
505
|
+
[/@escapes/, "string.escape"],
|
|
506
|
+
[/\\./, "string.escape.invalid"],
|
|
507
|
+
{ include: "@variables" },
|
|
508
|
+
[/./, "string"]
|
|
509
|
+
],
|
|
510
|
+
quotedConstructs: [
|
|
511
|
+
[/(q|qw|tr|y)\s*\(/, { token: "string.delim", switchTo: "@qstring.(.)" }],
|
|
512
|
+
[/(q|qw|tr|y)\s*\[/, { token: "string.delim", switchTo: "@qstring.[.]" }],
|
|
513
|
+
[/(q|qw|tr|y)\s*\{/, { token: "string.delim", switchTo: "@qstring.{.}" }],
|
|
514
|
+
[/(q|qw|tr|y)\s*</, { token: "string.delim", switchTo: "@qstring.<.>" }],
|
|
515
|
+
[/(q|qw|tr|y)#/, { token: "string.delim", switchTo: "@qstring.#.#" }],
|
|
516
|
+
[/(q|qw|tr|y)\s*([^A-Za-z0-9#\s])/, { token: "string.delim", switchTo: "@qstring.$2.$2" }],
|
|
517
|
+
[/(q|qw|tr|y)\s+(\w)/, { token: "string.delim", switchTo: "@qstring.$2.$2" }],
|
|
518
|
+
[/(qr|m|s)\s*\(/, { token: "regexp.delim", switchTo: "@qregexp.(.)" }],
|
|
519
|
+
[/(qr|m|s)\s*\[/, { token: "regexp.delim", switchTo: "@qregexp.[.]" }],
|
|
520
|
+
[/(qr|m|s)\s*\{/, { token: "regexp.delim", switchTo: "@qregexp.{.}" }],
|
|
521
|
+
[/(qr|m|s)\s*</, { token: "regexp.delim", switchTo: "@qregexp.<.>" }],
|
|
522
|
+
[/(qr|m|s)#/, { token: "regexp.delim", switchTo: "@qregexp.#.#" }],
|
|
523
|
+
[/(qr|m|s)\s*([^A-Za-z0-9_#\s])/, { token: "regexp.delim", switchTo: "@qregexp.$2.$2" }],
|
|
524
|
+
[/(qr|m|s)\s+(\w)/, { token: "regexp.delim", switchTo: "@qregexp.$2.$2" }],
|
|
525
|
+
[/(qq|qx)\s*\(/, { token: "string.delim", switchTo: "@qqstring.(.)" }],
|
|
526
|
+
[/(qq|qx)\s*\[/, { token: "string.delim", switchTo: "@qqstring.[.]" }],
|
|
527
|
+
[/(qq|qx)\s*\{/, { token: "string.delim", switchTo: "@qqstring.{.}" }],
|
|
528
|
+
[/(qq|qx)\s*</, { token: "string.delim", switchTo: "@qqstring.<.>" }],
|
|
529
|
+
[/(qq|qx)#/, { token: "string.delim", switchTo: "@qqstring.#.#" }],
|
|
530
|
+
[/(qq|qx)\s*([^A-Za-z0-9#\s])/, { token: "string.delim", switchTo: "@qqstring.$2.$2" }],
|
|
531
|
+
[/(qq|qx)\s+(\w)/, { token: "string.delim", switchTo: "@qqstring.$2.$2" }]
|
|
532
|
+
],
|
|
533
|
+
qstring: [
|
|
534
|
+
[/\\./, "string.escape"],
|
|
535
|
+
[
|
|
536
|
+
/./,
|
|
537
|
+
{
|
|
538
|
+
cases: {
|
|
539
|
+
"$#==$S3": { token: "string.delim", next: "@pop" },
|
|
540
|
+
"$#==$S2": { token: "string.delim", next: "@push" },
|
|
541
|
+
"@default": "string"
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
]
|
|
545
|
+
],
|
|
546
|
+
qregexp: [
|
|
547
|
+
{ include: "@variables" },
|
|
548
|
+
[/\\./, "regexp.escape"],
|
|
549
|
+
[
|
|
550
|
+
/./,
|
|
551
|
+
{
|
|
552
|
+
cases: {
|
|
553
|
+
"$#==$S3": {
|
|
554
|
+
token: "regexp.delim",
|
|
555
|
+
next: "@regexpModifiers"
|
|
556
|
+
},
|
|
557
|
+
"$#==$S2": { token: "regexp.delim", next: "@push" },
|
|
558
|
+
"@default": "regexp"
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
]
|
|
562
|
+
],
|
|
563
|
+
regexpModifiers: [[/[msixpodualngcer]+/, { token: "regexp.modifier", next: "@popall" }]],
|
|
564
|
+
qqstring: [{ include: "@variables" }, { include: "@qstring" }],
|
|
565
|
+
heredoc: [
|
|
566
|
+
[/<<\s*['"`]?([\w\-]+)['"`]?/, { token: "string.heredoc.delimiter", next: "@heredocBody.$1" }]
|
|
567
|
+
],
|
|
568
|
+
heredocBody: [
|
|
569
|
+
[
|
|
570
|
+
/^([\w\-]+)$/,
|
|
571
|
+
{
|
|
572
|
+
cases: {
|
|
573
|
+
"$1==$S2": [
|
|
574
|
+
{
|
|
575
|
+
token: "string.heredoc.delimiter",
|
|
576
|
+
next: "@popall"
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"@default": "string.heredoc"
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
],
|
|
583
|
+
[/./, "string.heredoc"]
|
|
584
|
+
],
|
|
585
|
+
perldoc: [[/^=\w/, "comment.doc", "@perldocBody"]],
|
|
586
|
+
perldocBody: [
|
|
587
|
+
[/^=cut\b/, "type.identifier", "@popall"],
|
|
588
|
+
[/./, "comment.doc"]
|
|
589
|
+
],
|
|
590
|
+
variables: [
|
|
591
|
+
[/\$\w+/, "variable"],
|
|
592
|
+
[/@\w+/, "variable"],
|
|
593
|
+
[/%\w+/, "variable"]
|
|
594
|
+
]
|
|
595
|
+
}
|
|
596
|
+
};
|
|
597
|
+
export {
|
|
598
|
+
conf,
|
|
599
|
+
language
|
|
600
|
+
};
|