ecl-D7EVTLAT.js 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. import "./chunk-2LSFTFF7.js";
  2. // node_modules/.pnpm/monaco-editor@0.38.0/node_modules/monaco-editor/esm/vs/basic-languages/ecl/ecl.js
  3. var conf = {
  4. comments: {
  5. lineComment: "//",
  6. blockComment: ["/*", "*/"]
  7. },
  8. brackets: [
  9. ["{", "}"],
  10. ["[", "]"],
  11. ["(", ")"]
  12. ],
  13. autoClosingPairs: [
  14. { open: "{", close: "}" },
  15. { open: "[", close: "]" },
  16. { open: "(", close: ")" },
  17. { open: "'", close: "'", notIn: ["string", "comment"] },
  18. { open: '"', close: '"', notIn: ["string", "comment"] }
  19. ],
  20. surroundingPairs: [
  21. { open: "{", close: "}" },
  22. { open: "[", close: "]" },
  23. { open: "(", close: ")" },
  24. { open: "<", close: ">" },
  25. { open: "'", close: "'" },
  26. { open: '"', close: '"' }
  27. ]
  28. };
  29. var language = {
  30. defaultToken: "",
  31. tokenPostfix: ".ecl",
  32. ignoreCase: true,
  33. brackets: [
  34. { open: "{", close: "}", token: "delimiter.curly" },
  35. { open: "[", close: "]", token: "delimiter.square" },
  36. { open: "(", close: ")", token: "delimiter.parenthesis" },
  37. { open: "<", close: ">", token: "delimiter.angle" }
  38. ],
  39. pounds: [
  40. "append",
  41. "break",
  42. "declare",
  43. "demangle",
  44. "end",
  45. "for",
  46. "getdatatype",
  47. "if",
  48. "inmodule",
  49. "loop",
  50. "mangle",
  51. "onwarning",
  52. "option",
  53. "set",
  54. "stored",
  55. "uniquename"
  56. ].join("|"),
  57. keywords: [
  58. "__compressed__",
  59. "after",
  60. "all",
  61. "and",
  62. "any",
  63. "as",
  64. "atmost",
  65. "before",
  66. "beginc",
  67. "best",
  68. "between",
  69. "case",
  70. "cluster",
  71. "compressed",
  72. "compression",
  73. "const",
  74. "counter",
  75. "csv",
  76. "default",
  77. "descend",
  78. "embed",
  79. "encoding",
  80. "encrypt",
  81. "end",
  82. "endc",
  83. "endembed",
  84. "endmacro",
  85. "enum",
  86. "escape",
  87. "except",
  88. "exclusive",
  89. "expire",
  90. "export",
  91. "extend",
  92. "fail",
  93. "few",
  94. "fileposition",
  95. "first",
  96. "flat",
  97. "forward",
  98. "from",
  99. "full",
  100. "function",
  101. "functionmacro",
  102. "group",
  103. "grouped",
  104. "heading",
  105. "hole",
  106. "ifblock",
  107. "import",
  108. "in",
  109. "inner",
  110. "interface",
  111. "internal",
  112. "joined",
  113. "keep",
  114. "keyed",
  115. "last",
  116. "left",
  117. "limit",
  118. "linkcounted",
  119. "literal",
  120. "little_endian",
  121. "load",
  122. "local",
  123. "locale",
  124. "lookup",
  125. "lzw",
  126. "macro",
  127. "many",
  128. "maxcount",
  129. "maxlength",
  130. "min skew",
  131. "module",
  132. "mofn",
  133. "multiple",
  134. "named",
  135. "namespace",
  136. "nocase",
  137. "noroot",
  138. "noscan",
  139. "nosort",
  140. "not",
  141. "noxpath",
  142. "of",
  143. "onfail",
  144. "only",
  145. "opt",
  146. "or",
  147. "outer",
  148. "overwrite",
  149. "packed",
  150. "partition",
  151. "penalty",
  152. "physicallength",
  153. "pipe",
  154. "prefetch",
  155. "quote",
  156. "record",
  157. "repeat",
  158. "retry",
  159. "return",
  160. "right",
  161. "right1",
  162. "right2",
  163. "rows",
  164. "rowset",
  165. "scan",
  166. "scope",
  167. "self",
  168. "separator",
  169. "service",
  170. "shared",
  171. "skew",
  172. "skip",
  173. "smart",
  174. "soapaction",
  175. "sql",
  176. "stable",
  177. "store",
  178. "terminator",
  179. "thor",
  180. "threshold",
  181. "timelimit",
  182. "timeout",
  183. "token",
  184. "transform",
  185. "trim",
  186. "type",
  187. "unicodeorder",
  188. "unordered",
  189. "unsorted",
  190. "unstable",
  191. "update",
  192. "use",
  193. "validate",
  194. "virtual",
  195. "whole",
  196. "width",
  197. "wild",
  198. "within",
  199. "wnotrim",
  200. "xml",
  201. "xpath"
  202. ],
  203. functions: [
  204. "abs",
  205. "acos",
  206. "aggregate",
  207. "allnodes",
  208. "apply",
  209. "ascii",
  210. "asin",
  211. "assert",
  212. "asstring",
  213. "atan",
  214. "atan2",
  215. "ave",
  216. "build",
  217. "buildindex",
  218. "case",
  219. "catch",
  220. "choose",
  221. "choosen",
  222. "choosesets",
  223. "clustersize",
  224. "combine",
  225. "correlation",
  226. "cos",
  227. "cosh",
  228. "count",
  229. "covariance",
  230. "cron",
  231. "dataset",
  232. "dedup",
  233. "define",
  234. "denormalize",
  235. "dictionary",
  236. "distribute",
  237. "distributed",
  238. "distribution",
  239. "ebcdic",
  240. "enth",
  241. "error",
  242. "evaluate",
  243. "event",
  244. "eventextra",
  245. "eventname",
  246. "exists",
  247. "exp",
  248. "fail",
  249. "failcode",
  250. "failmessage",
  251. "fetch",
  252. "fromunicode",
  253. "fromxml",
  254. "getenv",
  255. "getisvalid",
  256. "global",
  257. "graph",
  258. "group",
  259. "hash",
  260. "hash32",
  261. "hash64",
  262. "hashcrc",
  263. "hashmd5",
  264. "having",
  265. "httpcall",
  266. "httpheader",
  267. "if",
  268. "iff",
  269. "index",
  270. "intformat",
  271. "isvalid",
  272. "iterate",
  273. "join",
  274. "keydiff",
  275. "keypatch",
  276. "keyunicode",
  277. "length",
  278. "library",
  279. "limit",
  280. "ln",
  281. "loadxml",
  282. "local",
  283. "log",
  284. "loop",
  285. "map",
  286. "matched",
  287. "matchlength",
  288. "matchposition",
  289. "matchtext",
  290. "matchunicode",
  291. "max",
  292. "merge",
  293. "mergejoin",
  294. "min",
  295. "nofold",
  296. "nolocal",
  297. "nonempty",
  298. "normalize",
  299. "nothor",
  300. "notify",
  301. "output",
  302. "parallel",
  303. "parse",
  304. "pipe",
  305. "power",
  306. "preload",
  307. "process",
  308. "project",
  309. "pull",
  310. "random",
  311. "range",
  312. "rank",
  313. "ranked",
  314. "realformat",
  315. "recordof",
  316. "regexfind",
  317. "regexreplace",
  318. "regroup",
  319. "rejected",
  320. "rollup",
  321. "round",
  322. "roundup",
  323. "row",
  324. "rowdiff",
  325. "sample",
  326. "sequential",
  327. "set",
  328. "sin",
  329. "sinh",
  330. "sizeof",
  331. "soapcall",
  332. "sort",
  333. "sorted",
  334. "sqrt",
  335. "stepped",
  336. "stored",
  337. "sum",
  338. "table",
  339. "tan",
  340. "tanh",
  341. "thisnode",
  342. "topn",
  343. "tounicode",
  344. "toxml",
  345. "transfer",
  346. "transform",
  347. "trim",
  348. "truncate",
  349. "typeof",
  350. "ungroup",
  351. "unicodeorder",
  352. "variance",
  353. "wait",
  354. "which",
  355. "workunit",
  356. "xmldecode",
  357. "xmlencode",
  358. "xmltext",
  359. "xmlunicode"
  360. ],
  361. typesint: ["integer", "unsigned"].join("|"),
  362. typesnum: ["data", "qstring", "string", "unicode", "utf8", "varstring", "varunicode"],
  363. typesone: [
  364. "ascii",
  365. "big_endian",
  366. "boolean",
  367. "data",
  368. "decimal",
  369. "ebcdic",
  370. "grouped",
  371. "integer",
  372. "linkcounted",
  373. "pattern",
  374. "qstring",
  375. "real",
  376. "record",
  377. "rule",
  378. "set of",
  379. "streamed",
  380. "string",
  381. "token",
  382. "udecimal",
  383. "unicode",
  384. "unsigned",
  385. "utf8",
  386. "varstring",
  387. "varunicode"
  388. ].join("|"),
  389. operators: ["+", "-", "/", ":=", "<", "<>", "=", ">", "\\", "and", "in", "not", "or"],
  390. symbols: /[=><!~?:&|+\-*\/\^%]+/,
  391. escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
  392. tokenizer: {
  393. root: [
  394. [/@typesint[4|8]/, "type"],
  395. [/#(@pounds)/, "type"],
  396. [/@typesone/, "type"],
  397. [
  398. /[a-zA-Z_$][\w-$]*/,
  399. {
  400. cases: {
  401. "@functions": "keyword.function",
  402. "@keywords": "keyword",
  403. "@operators": "operator"
  404. }
  405. }
  406. ],
  407. { include: "@whitespace" },
  408. [/[{}()\[\]]/, "@brackets"],
  409. [/[<>](?!@symbols)/, "@brackets"],
  410. [
  411. /@symbols/,
  412. {
  413. cases: {
  414. "@operators": "delimiter",
  415. "@default": ""
  416. }
  417. }
  418. ],
  419. [/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/, "number.float"],
  420. [/0[xX][0-9a-fA-F_]+/, "number.hex"],
  421. [/0[bB][01]+/, "number.hex"],
  422. [/[0-9_]+/, "number"],
  423. [/[;,.]/, "delimiter"],
  424. [/"([^"\\]|\\.)*$/, "string.invalid"],
  425. [/"/, "string", "@string"],
  426. [/'[^\\']'/, "string"],
  427. [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
  428. [/'/, "string.invalid"]
  429. ],
  430. whitespace: [
  431. [/[ \t\v\f\r\n]+/, ""],
  432. [/\/\*/, "comment", "@comment"],
  433. [/\/\/.*$/, "comment"]
  434. ],
  435. comment: [
  436. [/[^\/*]+/, "comment"],
  437. [/\*\//, "comment", "@pop"],
  438. [/[\/*]/, "comment"]
  439. ],
  440. string: [
  441. [/[^\\']+/, "string"],
  442. [/@escapes/, "string.escape"],
  443. [/\\./, "string.escape.invalid"],
  444. [/'/, "string", "@pop"]
  445. ]
  446. }
  447. };
  448. export {
  449. conf,
  450. language
  451. };
  452. /*! Bundled license information:
  453. monaco-editor/esm/vs/basic-languages/ecl/ecl.js:
  454. (*!-----------------------------------------------------------------------------
  455. * Copyright (c) Microsoft Corporation. All rights reserved.
  456. * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0)
  457. * Released under the MIT license
  458. * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
  459. *-----------------------------------------------------------------------------*)
  460. */
  461. //# sourceMappingURL=ecl-D7EVTLAT.js.map