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,545 @@
|
|
|
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
|
+
blockComment: ["(*", "*)"]
|
|
11
|
+
},
|
|
12
|
+
brackets: [
|
|
13
|
+
["{", "}"],
|
|
14
|
+
["[", "]"],
|
|
15
|
+
["(", ")"],
|
|
16
|
+
["<", ">"]
|
|
17
|
+
],
|
|
18
|
+
autoClosingPairs: [
|
|
19
|
+
{ open: '"', close: '"', notIn: ["string", "comment"] },
|
|
20
|
+
{ open: "{", close: "}", notIn: ["string", "comment"] },
|
|
21
|
+
{ open: "[", close: "]", notIn: ["string", "comment"] },
|
|
22
|
+
{ open: "(", close: ")", notIn: ["string", "comment"] }
|
|
23
|
+
]
|
|
24
|
+
};
|
|
25
|
+
var language = {
|
|
26
|
+
tokenPostfix: ".pats",
|
|
27
|
+
defaultToken: "invalid",
|
|
28
|
+
keywords: [
|
|
29
|
+
"abstype",
|
|
30
|
+
"abst0ype",
|
|
31
|
+
"absprop",
|
|
32
|
+
"absview",
|
|
33
|
+
"absvtype",
|
|
34
|
+
"absviewtype",
|
|
35
|
+
"absvt0ype",
|
|
36
|
+
"absviewt0ype",
|
|
37
|
+
"as",
|
|
38
|
+
"and",
|
|
39
|
+
"assume",
|
|
40
|
+
"begin",
|
|
41
|
+
"classdec",
|
|
42
|
+
"datasort",
|
|
43
|
+
"datatype",
|
|
44
|
+
"dataprop",
|
|
45
|
+
"dataview",
|
|
46
|
+
"datavtype",
|
|
47
|
+
"dataviewtype",
|
|
48
|
+
"do",
|
|
49
|
+
"end",
|
|
50
|
+
"extern",
|
|
51
|
+
"extype",
|
|
52
|
+
"extvar",
|
|
53
|
+
"exception",
|
|
54
|
+
"fn",
|
|
55
|
+
"fnx",
|
|
56
|
+
"fun",
|
|
57
|
+
"prfn",
|
|
58
|
+
"prfun",
|
|
59
|
+
"praxi",
|
|
60
|
+
"castfn",
|
|
61
|
+
"if",
|
|
62
|
+
"then",
|
|
63
|
+
"else",
|
|
64
|
+
"ifcase",
|
|
65
|
+
"in",
|
|
66
|
+
"infix",
|
|
67
|
+
"infixl",
|
|
68
|
+
"infixr",
|
|
69
|
+
"prefix",
|
|
70
|
+
"postfix",
|
|
71
|
+
"implmnt",
|
|
72
|
+
"implement",
|
|
73
|
+
"primplmnt",
|
|
74
|
+
"primplement",
|
|
75
|
+
"import",
|
|
76
|
+
"let",
|
|
77
|
+
"local",
|
|
78
|
+
"macdef",
|
|
79
|
+
"macrodef",
|
|
80
|
+
"nonfix",
|
|
81
|
+
"symelim",
|
|
82
|
+
"symintr",
|
|
83
|
+
"overload",
|
|
84
|
+
"of",
|
|
85
|
+
"op",
|
|
86
|
+
"rec",
|
|
87
|
+
"sif",
|
|
88
|
+
"scase",
|
|
89
|
+
"sortdef",
|
|
90
|
+
"sta",
|
|
91
|
+
"stacst",
|
|
92
|
+
"stadef",
|
|
93
|
+
"static",
|
|
94
|
+
"staload",
|
|
95
|
+
"dynload",
|
|
96
|
+
"try",
|
|
97
|
+
"tkindef",
|
|
98
|
+
"typedef",
|
|
99
|
+
"propdef",
|
|
100
|
+
"viewdef",
|
|
101
|
+
"vtypedef",
|
|
102
|
+
"viewtypedef",
|
|
103
|
+
"prval",
|
|
104
|
+
"var",
|
|
105
|
+
"prvar",
|
|
106
|
+
"when",
|
|
107
|
+
"where",
|
|
108
|
+
"with",
|
|
109
|
+
"withtype",
|
|
110
|
+
"withprop",
|
|
111
|
+
"withview",
|
|
112
|
+
"withvtype",
|
|
113
|
+
"withviewtype"
|
|
114
|
+
],
|
|
115
|
+
keywords_dlr: [
|
|
116
|
+
"$delay",
|
|
117
|
+
"$ldelay",
|
|
118
|
+
"$arrpsz",
|
|
119
|
+
"$arrptrsize",
|
|
120
|
+
"$d2ctype",
|
|
121
|
+
"$effmask",
|
|
122
|
+
"$effmask_ntm",
|
|
123
|
+
"$effmask_exn",
|
|
124
|
+
"$effmask_ref",
|
|
125
|
+
"$effmask_wrt",
|
|
126
|
+
"$effmask_all",
|
|
127
|
+
"$extern",
|
|
128
|
+
"$extkind",
|
|
129
|
+
"$extype",
|
|
130
|
+
"$extype_struct",
|
|
131
|
+
"$extval",
|
|
132
|
+
"$extfcall",
|
|
133
|
+
"$extmcall",
|
|
134
|
+
"$literal",
|
|
135
|
+
"$myfilename",
|
|
136
|
+
"$mylocation",
|
|
137
|
+
"$myfunction",
|
|
138
|
+
"$lst",
|
|
139
|
+
"$lst_t",
|
|
140
|
+
"$lst_vt",
|
|
141
|
+
"$list",
|
|
142
|
+
"$list_t",
|
|
143
|
+
"$list_vt",
|
|
144
|
+
"$rec",
|
|
145
|
+
"$rec_t",
|
|
146
|
+
"$rec_vt",
|
|
147
|
+
"$record",
|
|
148
|
+
"$record_t",
|
|
149
|
+
"$record_vt",
|
|
150
|
+
"$tup",
|
|
151
|
+
"$tup_t",
|
|
152
|
+
"$tup_vt",
|
|
153
|
+
"$tuple",
|
|
154
|
+
"$tuple_t",
|
|
155
|
+
"$tuple_vt",
|
|
156
|
+
"$break",
|
|
157
|
+
"$continue",
|
|
158
|
+
"$raise",
|
|
159
|
+
"$showtype",
|
|
160
|
+
"$vcopyenv_v",
|
|
161
|
+
"$vcopyenv_vt",
|
|
162
|
+
"$tempenver",
|
|
163
|
+
"$solver_assert",
|
|
164
|
+
"$solver_verify"
|
|
165
|
+
],
|
|
166
|
+
keywords_srp: [
|
|
167
|
+
"#if",
|
|
168
|
+
"#ifdef",
|
|
169
|
+
"#ifndef",
|
|
170
|
+
"#then",
|
|
171
|
+
"#elif",
|
|
172
|
+
"#elifdef",
|
|
173
|
+
"#elifndef",
|
|
174
|
+
"#else",
|
|
175
|
+
"#endif",
|
|
176
|
+
"#error",
|
|
177
|
+
"#prerr",
|
|
178
|
+
"#print",
|
|
179
|
+
"#assert",
|
|
180
|
+
"#undef",
|
|
181
|
+
"#define",
|
|
182
|
+
"#include",
|
|
183
|
+
"#require",
|
|
184
|
+
"#pragma",
|
|
185
|
+
"#codegen2",
|
|
186
|
+
"#codegen3"
|
|
187
|
+
],
|
|
188
|
+
irregular_keyword_list: [
|
|
189
|
+
"val+",
|
|
190
|
+
"val-",
|
|
191
|
+
"val",
|
|
192
|
+
"case+",
|
|
193
|
+
"case-",
|
|
194
|
+
"case",
|
|
195
|
+
"addr@",
|
|
196
|
+
"addr",
|
|
197
|
+
"fold@",
|
|
198
|
+
"free@",
|
|
199
|
+
"fix@",
|
|
200
|
+
"fix",
|
|
201
|
+
"lam@",
|
|
202
|
+
"lam",
|
|
203
|
+
"llam@",
|
|
204
|
+
"llam",
|
|
205
|
+
"viewt@ype+",
|
|
206
|
+
"viewt@ype-",
|
|
207
|
+
"viewt@ype",
|
|
208
|
+
"viewtype+",
|
|
209
|
+
"viewtype-",
|
|
210
|
+
"viewtype",
|
|
211
|
+
"view+",
|
|
212
|
+
"view-",
|
|
213
|
+
"view@",
|
|
214
|
+
"view",
|
|
215
|
+
"type+",
|
|
216
|
+
"type-",
|
|
217
|
+
"type",
|
|
218
|
+
"vtype+",
|
|
219
|
+
"vtype-",
|
|
220
|
+
"vtype",
|
|
221
|
+
"vt@ype+",
|
|
222
|
+
"vt@ype-",
|
|
223
|
+
"vt@ype",
|
|
224
|
+
"viewt@ype+",
|
|
225
|
+
"viewt@ype-",
|
|
226
|
+
"viewt@ype",
|
|
227
|
+
"viewtype+",
|
|
228
|
+
"viewtype-",
|
|
229
|
+
"viewtype",
|
|
230
|
+
"prop+",
|
|
231
|
+
"prop-",
|
|
232
|
+
"prop",
|
|
233
|
+
"type+",
|
|
234
|
+
"type-",
|
|
235
|
+
"type",
|
|
236
|
+
"t@ype",
|
|
237
|
+
"t@ype+",
|
|
238
|
+
"t@ype-",
|
|
239
|
+
"abst@ype",
|
|
240
|
+
"abstype",
|
|
241
|
+
"absviewt@ype",
|
|
242
|
+
"absvt@ype",
|
|
243
|
+
"for*",
|
|
244
|
+
"for",
|
|
245
|
+
"while*",
|
|
246
|
+
"while"
|
|
247
|
+
],
|
|
248
|
+
keywords_types: [
|
|
249
|
+
"bool",
|
|
250
|
+
"double",
|
|
251
|
+
"byte",
|
|
252
|
+
"int",
|
|
253
|
+
"short",
|
|
254
|
+
"char",
|
|
255
|
+
"void",
|
|
256
|
+
"unit",
|
|
257
|
+
"long",
|
|
258
|
+
"float",
|
|
259
|
+
"string",
|
|
260
|
+
"strptr"
|
|
261
|
+
],
|
|
262
|
+
keywords_effects: [
|
|
263
|
+
"0",
|
|
264
|
+
"fun",
|
|
265
|
+
"clo",
|
|
266
|
+
"prf",
|
|
267
|
+
"funclo",
|
|
268
|
+
"cloptr",
|
|
269
|
+
"cloref",
|
|
270
|
+
"ref",
|
|
271
|
+
"ntm",
|
|
272
|
+
"1"
|
|
273
|
+
],
|
|
274
|
+
operators: [
|
|
275
|
+
"@",
|
|
276
|
+
"!",
|
|
277
|
+
"|",
|
|
278
|
+
"`",
|
|
279
|
+
":",
|
|
280
|
+
"$",
|
|
281
|
+
".",
|
|
282
|
+
"=",
|
|
283
|
+
"#",
|
|
284
|
+
"~",
|
|
285
|
+
"..",
|
|
286
|
+
"...",
|
|
287
|
+
"=>",
|
|
288
|
+
"=<>",
|
|
289
|
+
"=/=>",
|
|
290
|
+
"=>>",
|
|
291
|
+
"=/=>>",
|
|
292
|
+
"<",
|
|
293
|
+
">",
|
|
294
|
+
"><",
|
|
295
|
+
".<",
|
|
296
|
+
">.",
|
|
297
|
+
".<>.",
|
|
298
|
+
"->",
|
|
299
|
+
"-<>"
|
|
300
|
+
],
|
|
301
|
+
brackets: [
|
|
302
|
+
{ open: ",(", close: ")", token: "delimiter.parenthesis" },
|
|
303
|
+
{ open: "`(", close: ")", token: "delimiter.parenthesis" },
|
|
304
|
+
{ open: "%(", close: ")", token: "delimiter.parenthesis" },
|
|
305
|
+
{ open: "'(", close: ")", token: "delimiter.parenthesis" },
|
|
306
|
+
{ open: "'{", close: "}", token: "delimiter.parenthesis" },
|
|
307
|
+
{ open: "@(", close: ")", token: "delimiter.parenthesis" },
|
|
308
|
+
{ open: "@{", close: "}", token: "delimiter.brace" },
|
|
309
|
+
{ open: "@[", close: "]", token: "delimiter.square" },
|
|
310
|
+
{ open: "#[", close: "]", token: "delimiter.square" },
|
|
311
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
312
|
+
{ open: "[", close: "]", token: "delimiter.square" },
|
|
313
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
|
314
|
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
|
315
|
+
],
|
|
316
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
317
|
+
IDENTFST: /[a-zA-Z_]/,
|
|
318
|
+
IDENTRST: /[a-zA-Z0-9_'$]/,
|
|
319
|
+
symbolic: /[%&+-./:=@~`^|*!$#?<>]/,
|
|
320
|
+
digit: /[0-9]/,
|
|
321
|
+
digitseq0: /@digit*/,
|
|
322
|
+
xdigit: /[0-9A-Za-z]/,
|
|
323
|
+
xdigitseq0: /@xdigit*/,
|
|
324
|
+
INTSP: /[lLuU]/,
|
|
325
|
+
FLOATSP: /[fFlL]/,
|
|
326
|
+
fexponent: /[eE][+-]?[0-9]+/,
|
|
327
|
+
fexponent_bin: /[pP][+-]?[0-9]+/,
|
|
328
|
+
deciexp: /\.[0-9]*@fexponent?/,
|
|
329
|
+
hexiexp: /\.[0-9a-zA-Z]*@fexponent_bin?/,
|
|
330
|
+
irregular_keywords: /val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,
|
|
331
|
+
ESCHAR: /[ntvbrfa\\\?'"\(\[\{]/,
|
|
332
|
+
start: "root",
|
|
333
|
+
tokenizer: {
|
|
334
|
+
root: [
|
|
335
|
+
{ regex: /[ \t\r\n]+/, action: { token: "" } },
|
|
336
|
+
{ regex: /\(\*\)/, action: { token: "invalid" } },
|
|
337
|
+
{
|
|
338
|
+
regex: /\(\*/,
|
|
339
|
+
action: { token: "comment", next: "lexing_COMMENT_block_ml" }
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
regex: /\(/,
|
|
343
|
+
action: "@brackets"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
regex: /\)/,
|
|
347
|
+
action: "@brackets"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
regex: /\[/,
|
|
351
|
+
action: "@brackets"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
regex: /\]/,
|
|
355
|
+
action: "@brackets"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
regex: /\{/,
|
|
359
|
+
action: "@brackets"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
regex: /\}/,
|
|
363
|
+
action: "@brackets"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
regex: /,\(/,
|
|
367
|
+
action: "@brackets"
|
|
368
|
+
},
|
|
369
|
+
{ regex: /,/, action: { token: "delimiter.comma" } },
|
|
370
|
+
{ regex: /;/, action: { token: "delimiter.semicolon" } },
|
|
371
|
+
{
|
|
372
|
+
regex: /@\(/,
|
|
373
|
+
action: "@brackets"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
regex: /@\[/,
|
|
377
|
+
action: "@brackets"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
regex: /@\{/,
|
|
381
|
+
action: "@brackets"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
regex: /:</,
|
|
385
|
+
action: { token: "keyword", next: "@lexing_EFFECT_commaseq0" }
|
|
386
|
+
},
|
|
387
|
+
{ regex: /\.@symbolic+/, action: { token: "identifier.sym" } },
|
|
388
|
+
{
|
|
389
|
+
regex: /\.@digit*@fexponent@FLOATSP*/,
|
|
390
|
+
action: { token: "number.float" }
|
|
391
|
+
},
|
|
392
|
+
{ regex: /\.@digit+/, action: { token: "number.float" } },
|
|
393
|
+
{
|
|
394
|
+
regex: /\$@IDENTFST@IDENTRST*/,
|
|
395
|
+
action: {
|
|
396
|
+
cases: {
|
|
397
|
+
"@keywords_dlr": { token: "keyword.dlr" },
|
|
398
|
+
"@default": { token: "namespace" }
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
regex: /\#@IDENTFST@IDENTRST*/,
|
|
404
|
+
action: {
|
|
405
|
+
cases: {
|
|
406
|
+
"@keywords_srp": { token: "keyword.srp" },
|
|
407
|
+
"@default": { token: "identifier" }
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
{ regex: /%\(/, action: { token: "delimiter.parenthesis" } },
|
|
412
|
+
{
|
|
413
|
+
regex: /^%{(#|\^|\$)?/,
|
|
414
|
+
action: {
|
|
415
|
+
token: "keyword",
|
|
416
|
+
next: "@lexing_EXTCODE",
|
|
417
|
+
nextEmbedded: "text/javascript"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
{ regex: /^%}/, action: { token: "keyword" } },
|
|
421
|
+
{ regex: /'\(/, action: { token: "delimiter.parenthesis" } },
|
|
422
|
+
{ regex: /'\[/, action: { token: "delimiter.bracket" } },
|
|
423
|
+
{ regex: /'\{/, action: { token: "delimiter.brace" } },
|
|
424
|
+
[/(')(\\@ESCHAR|\\[xX]@xdigit+|\\@digit+)(')/, ["string", "string.escape", "string"]],
|
|
425
|
+
[/'[^\\']'/, "string"],
|
|
426
|
+
[/"/, "string.quote", "@lexing_DQUOTE"],
|
|
427
|
+
{
|
|
428
|
+
regex: /`\(/,
|
|
429
|
+
action: "@brackets"
|
|
430
|
+
},
|
|
431
|
+
{ regex: /\\/, action: { token: "punctuation" } },
|
|
432
|
+
{
|
|
433
|
+
regex: /@irregular_keywords(?!@IDENTRST)/,
|
|
434
|
+
action: { token: "keyword" }
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
regex: /@IDENTFST@IDENTRST*[<!\[]?/,
|
|
438
|
+
action: {
|
|
439
|
+
cases: {
|
|
440
|
+
"@keywords": { token: "keyword" },
|
|
441
|
+
"@keywords_types": { token: "type" },
|
|
442
|
+
"@default": { token: "identifier" }
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
regex: /\/\/\/\//,
|
|
448
|
+
action: { token: "comment", next: "@lexing_COMMENT_rest" }
|
|
449
|
+
},
|
|
450
|
+
{ regex: /\/\/.*$/, action: { token: "comment" } },
|
|
451
|
+
{
|
|
452
|
+
regex: /\/\*/,
|
|
453
|
+
action: { token: "comment", next: "@lexing_COMMENT_block_c" }
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
regex: /-<|=</,
|
|
457
|
+
action: { token: "keyword", next: "@lexing_EFFECT_commaseq0" }
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
regex: /@symbolic+/,
|
|
461
|
+
action: {
|
|
462
|
+
cases: {
|
|
463
|
+
"@operators": "keyword",
|
|
464
|
+
"@default": "operator"
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
regex: /0[xX]@xdigit+(@hexiexp|@fexponent_bin)@FLOATSP*/,
|
|
470
|
+
action: { token: "number.float" }
|
|
471
|
+
},
|
|
472
|
+
{ regex: /0[xX]@xdigit+@INTSP*/, action: { token: "number.hex" } },
|
|
473
|
+
{
|
|
474
|
+
regex: /0[0-7]+(?![0-9])@INTSP*/,
|
|
475
|
+
action: { token: "number.octal" }
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
regex: /@digit+(@fexponent|@deciexp)@FLOATSP*/,
|
|
479
|
+
action: { token: "number.float" }
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
regex: /@digit@digitseq0@INTSP*/,
|
|
483
|
+
action: { token: "number.decimal" }
|
|
484
|
+
},
|
|
485
|
+
{ regex: /@digit+@INTSP*/, action: { token: "number" } }
|
|
486
|
+
],
|
|
487
|
+
lexing_COMMENT_block_ml: [
|
|
488
|
+
[/[^\(\*]+/, "comment"],
|
|
489
|
+
[/\(\*/, "comment", "@push"],
|
|
490
|
+
[/\(\*/, "comment.invalid"],
|
|
491
|
+
[/\*\)/, "comment", "@pop"],
|
|
492
|
+
[/\*/, "comment"]
|
|
493
|
+
],
|
|
494
|
+
lexing_COMMENT_block_c: [
|
|
495
|
+
[/[^\/*]+/, "comment"],
|
|
496
|
+
[/\*\//, "comment", "@pop"],
|
|
497
|
+
[/[\/*]/, "comment"]
|
|
498
|
+
],
|
|
499
|
+
lexing_COMMENT_rest: [
|
|
500
|
+
[/$/, "comment", "@pop"],
|
|
501
|
+
[/.*/, "comment"]
|
|
502
|
+
],
|
|
503
|
+
lexing_EFFECT_commaseq0: [
|
|
504
|
+
{
|
|
505
|
+
regex: /@IDENTFST@IDENTRST+|@digit+/,
|
|
506
|
+
action: {
|
|
507
|
+
cases: {
|
|
508
|
+
"@keywords_effects": { token: "type.effect" },
|
|
509
|
+
"@default": { token: "identifier" }
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
{ regex: /,/, action: { token: "punctuation" } },
|
|
514
|
+
{ regex: />/, action: { token: "@rematch", next: "@pop" } }
|
|
515
|
+
],
|
|
516
|
+
lexing_EXTCODE: [
|
|
517
|
+
{
|
|
518
|
+
regex: /^%}/,
|
|
519
|
+
action: {
|
|
520
|
+
token: "@rematch",
|
|
521
|
+
next: "@pop",
|
|
522
|
+
nextEmbedded: "@pop"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
{ regex: /[^%]+/, action: "" }
|
|
526
|
+
],
|
|
527
|
+
lexing_DQUOTE: [
|
|
528
|
+
{ regex: /"/, action: { token: "string.quote", next: "@pop" } },
|
|
529
|
+
{
|
|
530
|
+
regex: /(\{\$)(@IDENTFST@IDENTRST*)(\})/,
|
|
531
|
+
action: [{ token: "string.escape" }, { token: "identifier" }, { token: "string.escape" }]
|
|
532
|
+
},
|
|
533
|
+
{ regex: /\\$/, action: { token: "string.escape" } },
|
|
534
|
+
{
|
|
535
|
+
regex: /\\(@ESCHAR|[xX]@xdigit+|@digit+)/,
|
|
536
|
+
action: { token: "string.escape" }
|
|
537
|
+
},
|
|
538
|
+
{ regex: /[^\\"]+/, action: { token: "string" } }
|
|
539
|
+
]
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
export {
|
|
543
|
+
conf,
|
|
544
|
+
language
|
|
545
|
+
};
|