abap.js 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342
  1. "use strict";
  2. /*!-----------------------------------------------------------------------------
  3. * Copyright (c) Microsoft Corporation. All rights reserved.
  4. * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0)
  5. * Released under the MIT license
  6. * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
  7. *-----------------------------------------------------------------------------*/
  8. define("vs/basic-languages/abap/abap", ["require"],(require)=>{
  9. var moduleExports = (() => {
  10. var __defProp = Object.defineProperty;
  11. var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
  12. var __getOwnPropNames = Object.getOwnPropertyNames;
  13. var __hasOwnProp = Object.prototype.hasOwnProperty;
  14. var __export = (target, all) => {
  15. for (var name in all)
  16. __defProp(target, name, { get: all[name], enumerable: true });
  17. };
  18. var __copyProps = (to, from, except, desc) => {
  19. if (from && typeof from === "object" || typeof from === "function") {
  20. for (let key of __getOwnPropNames(from))
  21. if (!__hasOwnProp.call(to, key) && key !== except)
  22. __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  23. }
  24. return to;
  25. };
  26. var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
  27. // src/basic-languages/abap/abap.ts
  28. var abap_exports = {};
  29. __export(abap_exports, {
  30. conf: () => conf,
  31. language: () => language
  32. });
  33. var conf = {
  34. comments: {
  35. lineComment: "*"
  36. },
  37. brackets: [
  38. ["[", "]"],
  39. ["(", ")"]
  40. ]
  41. };
  42. var language = {
  43. defaultToken: "invalid",
  44. ignoreCase: true,
  45. tokenPostfix: ".abap",
  46. keywords: [
  47. "abap-source",
  48. "abbreviated",
  49. "abstract",
  50. "accept",
  51. "accepting",
  52. "according",
  53. "activation",
  54. "actual",
  55. "add",
  56. "add-corresponding",
  57. "adjacent",
  58. "after",
  59. "alias",
  60. "aliases",
  61. "align",
  62. "all",
  63. "allocate",
  64. "alpha",
  65. "analysis",
  66. "analyzer",
  67. "and",
  68. "append",
  69. "appendage",
  70. "appending",
  71. "application",
  72. "archive",
  73. "area",
  74. "arithmetic",
  75. "as",
  76. "ascending",
  77. "aspect",
  78. "assert",
  79. "assign",
  80. "assigned",
  81. "assigning",
  82. "association",
  83. "asynchronous",
  84. "at",
  85. "attributes",
  86. "authority",
  87. "authority-check",
  88. "avg",
  89. "back",
  90. "background",
  91. "backup",
  92. "backward",
  93. "badi",
  94. "base",
  95. "before",
  96. "begin",
  97. "between",
  98. "big",
  99. "binary",
  100. "bintohex",
  101. "bit",
  102. "black",
  103. "blank",
  104. "blanks",
  105. "blob",
  106. "block",
  107. "blocks",
  108. "blue",
  109. "bound",
  110. "boundaries",
  111. "bounds",
  112. "boxed",
  113. "break-point",
  114. "buffer",
  115. "by",
  116. "bypassing",
  117. "byte",
  118. "byte-order",
  119. "call",
  120. "calling",
  121. "case",
  122. "cast",
  123. "casting",
  124. "catch",
  125. "center",
  126. "centered",
  127. "chain",
  128. "chain-input",
  129. "chain-request",
  130. "change",
  131. "changing",
  132. "channels",
  133. "character",
  134. "char-to-hex",
  135. "check",
  136. "checkbox",
  137. "ci_",
  138. "circular",
  139. "class",
  140. "class-coding",
  141. "class-data",
  142. "class-events",
  143. "class-methods",
  144. "class-pool",
  145. "cleanup",
  146. "clear",
  147. "client",
  148. "clob",
  149. "clock",
  150. "close",
  151. "coalesce",
  152. "code",
  153. "coding",
  154. "col_background",
  155. "col_group",
  156. "col_heading",
  157. "col_key",
  158. "col_negative",
  159. "col_normal",
  160. "col_positive",
  161. "col_total",
  162. "collect",
  163. "color",
  164. "column",
  165. "columns",
  166. "comment",
  167. "comments",
  168. "commit",
  169. "common",
  170. "communication",
  171. "comparing",
  172. "component",
  173. "components",
  174. "compression",
  175. "compute",
  176. "concat",
  177. "concat_with_space",
  178. "concatenate",
  179. "cond",
  180. "condense",
  181. "condition",
  182. "connect",
  183. "connection",
  184. "constants",
  185. "context",
  186. "contexts",
  187. "continue",
  188. "control",
  189. "controls",
  190. "conv",
  191. "conversion",
  192. "convert",
  193. "copies",
  194. "copy",
  195. "corresponding",
  196. "country",
  197. "cover",
  198. "cpi",
  199. "create",
  200. "creating",
  201. "critical",
  202. "currency",
  203. "currency_conversion",
  204. "current",
  205. "cursor",
  206. "cursor-selection",
  207. "customer",
  208. "customer-function",
  209. "dangerous",
  210. "data",
  211. "database",
  212. "datainfo",
  213. "dataset",
  214. "date",
  215. "dats_add_days",
  216. "dats_add_months",
  217. "dats_days_between",
  218. "dats_is_valid",
  219. "daylight",
  220. "dd/mm/yy",
  221. "dd/mm/yyyy",
  222. "ddmmyy",
  223. "deallocate",
  224. "decimal_shift",
  225. "decimals",
  226. "declarations",
  227. "deep",
  228. "default",
  229. "deferred",
  230. "define",
  231. "defining",
  232. "definition",
  233. "delete",
  234. "deleting",
  235. "demand",
  236. "department",
  237. "descending",
  238. "describe",
  239. "destination",
  240. "detail",
  241. "dialog",
  242. "directory",
  243. "disconnect",
  244. "display",
  245. "display-mode",
  246. "distinct",
  247. "divide",
  248. "divide-corresponding",
  249. "division",
  250. "do",
  251. "dummy",
  252. "duplicate",
  253. "duplicates",
  254. "duration",
  255. "during",
  256. "dynamic",
  257. "dynpro",
  258. "edit",
  259. "editor-call",
  260. "else",
  261. "elseif",
  262. "empty",
  263. "enabled",
  264. "enabling",
  265. "encoding",
  266. "end",
  267. "endat",
  268. "endcase",
  269. "endcatch",
  270. "endchain",
  271. "endclass",
  272. "enddo",
  273. "endenhancement",
  274. "end-enhancement-section",
  275. "endexec",
  276. "endform",
  277. "endfunction",
  278. "endian",
  279. "endif",
  280. "ending",
  281. "endinterface",
  282. "end-lines",
  283. "endloop",
  284. "endmethod",
  285. "endmodule",
  286. "end-of-definition",
  287. "end-of-editing",
  288. "end-of-file",
  289. "end-of-page",
  290. "end-of-selection",
  291. "endon",
  292. "endprovide",
  293. "endselect",
  294. "end-test-injection",
  295. "end-test-seam",
  296. "endtry",
  297. "endwhile",
  298. "endwith",
  299. "engineering",
  300. "enhancement",
  301. "enhancement-point",
  302. "enhancements",
  303. "enhancement-section",
  304. "entries",
  305. "entry",
  306. "enum",
  307. "environment",
  308. "equiv",
  309. "errormessage",
  310. "errors",
  311. "escaping",
  312. "event",
  313. "events",
  314. "exact",
  315. "except",
  316. "exception",
  317. "exceptions",
  318. "exception-table",
  319. "exclude",
  320. "excluding",
  321. "exec",
  322. "execute",
  323. "exists",
  324. "exit",
  325. "exit-command",
  326. "expand",
  327. "expanding",
  328. "expiration",
  329. "explicit",
  330. "exponent",
  331. "export",
  332. "exporting",
  333. "extend",
  334. "extended",
  335. "extension",
  336. "extract",
  337. "fail",
  338. "fetch",
  339. "field",
  340. "field-groups",
  341. "fields",
  342. "field-symbol",
  343. "field-symbols",
  344. "file",
  345. "filter",
  346. "filters",
  347. "filter-table",
  348. "final",
  349. "find",
  350. "first",
  351. "first-line",
  352. "fixed-point",
  353. "fkeq",
  354. "fkge",
  355. "flush",
  356. "font",
  357. "for",
  358. "form",
  359. "format",
  360. "forward",
  361. "found",
  362. "frame",
  363. "frames",
  364. "free",
  365. "friends",
  366. "from",
  367. "function",
  368. "functionality",
  369. "function-pool",
  370. "further",
  371. "gaps",
  372. "generate",
  373. "get",
  374. "giving",
  375. "gkeq",
  376. "gkge",
  377. "global",
  378. "grant",
  379. "green",
  380. "group",
  381. "groups",
  382. "handle",
  383. "handler",
  384. "harmless",
  385. "hashed",
  386. "having",
  387. "hdb",
  388. "header",
  389. "headers",
  390. "heading",
  391. "head-lines",
  392. "help-id",
  393. "help-request",
  394. "hextobin",
  395. "hide",
  396. "high",
  397. "hint",
  398. "hold",
  399. "hotspot",
  400. "icon",
  401. "id",
  402. "identification",
  403. "identifier",
  404. "ids",
  405. "if",
  406. "ignore",
  407. "ignoring",
  408. "immediately",
  409. "implementation",
  410. "implementations",
  411. "implemented",
  412. "implicit",
  413. "import",
  414. "importing",
  415. "in",
  416. "inactive",
  417. "incl",
  418. "include",
  419. "includes",
  420. "including",
  421. "increment",
  422. "index",
  423. "index-line",
  424. "infotypes",
  425. "inheriting",
  426. "init",
  427. "initial",
  428. "initialization",
  429. "inner",
  430. "inout",
  431. "input",
  432. "insert",
  433. "instance",
  434. "instances",
  435. "instr",
  436. "intensified",
  437. "interface",
  438. "interface-pool",
  439. "interfaces",
  440. "internal",
  441. "intervals",
  442. "into",
  443. "inverse",
  444. "inverted-date",
  445. "is",
  446. "iso",
  447. "job",
  448. "join",
  449. "keep",
  450. "keeping",
  451. "kernel",
  452. "key",
  453. "keys",
  454. "keywords",
  455. "kind",
  456. "language",
  457. "last",
  458. "late",
  459. "layout",
  460. "leading",
  461. "leave",
  462. "left",
  463. "left-justified",
  464. "leftplus",
  465. "leftspace",
  466. "legacy",
  467. "length",
  468. "let",
  469. "level",
  470. "levels",
  471. "like",
  472. "line",
  473. "lines",
  474. "line-count",
  475. "linefeed",
  476. "line-selection",
  477. "line-size",
  478. "list",
  479. "listbox",
  480. "list-processing",
  481. "little",
  482. "llang",
  483. "load",
  484. "load-of-program",
  485. "lob",
  486. "local",
  487. "locale",
  488. "locator",
  489. "logfile",
  490. "logical",
  491. "log-point",
  492. "long",
  493. "loop",
  494. "low",
  495. "lower",
  496. "lpad",
  497. "lpi",
  498. "ltrim",
  499. "mail",
  500. "main",
  501. "major-id",
  502. "mapping",
  503. "margin",
  504. "mark",
  505. "mask",
  506. "match",
  507. "matchcode",
  508. "max",
  509. "maximum",
  510. "medium",
  511. "members",
  512. "memory",
  513. "mesh",
  514. "message",
  515. "message-id",
  516. "messages",
  517. "messaging",
  518. "method",
  519. "methods",
  520. "min",
  521. "minimum",
  522. "minor-id",
  523. "mm/dd/yy",
  524. "mm/dd/yyyy",
  525. "mmddyy",
  526. "mode",
  527. "modif",
  528. "modifier",
  529. "modify",
  530. "module",
  531. "move",
  532. "move-corresponding",
  533. "multiply",
  534. "multiply-corresponding",
  535. "name",
  536. "nametab",
  537. "native",
  538. "nested",
  539. "nesting",
  540. "new",
  541. "new-line",
  542. "new-page",
  543. "new-section",
  544. "next",
  545. "no",
  546. "no-display",
  547. "no-extension",
  548. "no-gap",
  549. "no-gaps",
  550. "no-grouping",
  551. "no-heading",
  552. "no-scrolling",
  553. "no-sign",
  554. "no-title",
  555. "no-topofpage",
  556. "no-zero",
  557. "node",
  558. "nodes",
  559. "non-unicode",
  560. "non-unique",
  561. "not",
  562. "null",
  563. "number",
  564. "object",
  565. "objects",
  566. "obligatory",
  567. "occurrence",
  568. "occurrences",
  569. "occurs",
  570. "of",
  571. "off",
  572. "offset",
  573. "ole",
  574. "on",
  575. "only",
  576. "open",
  577. "option",
  578. "optional",
  579. "options",
  580. "or",
  581. "order",
  582. "other",
  583. "others",
  584. "out",
  585. "outer",
  586. "output",
  587. "output-length",
  588. "overflow",
  589. "overlay",
  590. "pack",
  591. "package",
  592. "pad",
  593. "padding",
  594. "page",
  595. "pages",
  596. "parameter",
  597. "parameters",
  598. "parameter-table",
  599. "part",
  600. "partially",
  601. "pattern",
  602. "percentage",
  603. "perform",
  604. "performing",
  605. "person",
  606. "pf1",
  607. "pf10",
  608. "pf11",
  609. "pf12",
  610. "pf13",
  611. "pf14",
  612. "pf15",
  613. "pf2",
  614. "pf3",
  615. "pf4",
  616. "pf5",
  617. "pf6",
  618. "pf7",
  619. "pf8",
  620. "pf9",
  621. "pf-status",
  622. "pink",
  623. "places",
  624. "pool",
  625. "pos_high",
  626. "pos_low",
  627. "position",
  628. "pragmas",
  629. "precompiled",
  630. "preferred",
  631. "preserving",
  632. "primary",
  633. "print",
  634. "print-control",
  635. "priority",
  636. "private",
  637. "procedure",
  638. "process",
  639. "program",
  640. "property",
  641. "protected",
  642. "provide",
  643. "public",
  644. "push",
  645. "pushbutton",
  646. "put",
  647. "queue-only",
  648. "quickinfo",
  649. "radiobutton",
  650. "raise",
  651. "raising",
  652. "range",
  653. "ranges",
  654. "read",
  655. "reader",
  656. "read-only",
  657. "receive",
  658. "received",
  659. "receiver",
  660. "receiving",
  661. "red",
  662. "redefinition",
  663. "reduce",
  664. "reduced",
  665. "ref",
  666. "reference",
  667. "refresh",
  668. "regex",
  669. "reject",
  670. "remote",
  671. "renaming",
  672. "replace",
  673. "replacement",
  674. "replacing",
  675. "report",
  676. "request",
  677. "requested",
  678. "reserve",
  679. "reset",
  680. "resolution",
  681. "respecting",
  682. "responsible",
  683. "result",
  684. "results",
  685. "resumable",
  686. "resume",
  687. "retry",
  688. "return",
  689. "returncode",
  690. "returning",
  691. "returns",
  692. "right",
  693. "right-justified",
  694. "rightplus",
  695. "rightspace",
  696. "risk",
  697. "rmc_communication_failure",
  698. "rmc_invalid_status",
  699. "rmc_system_failure",
  700. "role",
  701. "rollback",
  702. "rows",
  703. "rpad",
  704. "rtrim",
  705. "run",
  706. "sap",
  707. "sap-spool",
  708. "saving",
  709. "scale_preserving",
  710. "scale_preserving_scientific",
  711. "scan",
  712. "scientific",
  713. "scientific_with_leading_zero",
  714. "scroll",
  715. "scroll-boundary",
  716. "scrolling",
  717. "search",
  718. "secondary",
  719. "seconds",
  720. "section",
  721. "select",
  722. "selection",
  723. "selections",
  724. "selection-screen",
  725. "selection-set",
  726. "selection-sets",
  727. "selection-table",
  728. "select-options",
  729. "send",
  730. "separate",
  731. "separated",
  732. "set",
  733. "shared",
  734. "shift",
  735. "short",
  736. "shortdump-id",
  737. "sign_as_postfix",
  738. "single",
  739. "size",
  740. "skip",
  741. "skipping",
  742. "smart",
  743. "some",
  744. "sort",
  745. "sortable",
  746. "sorted",
  747. "source",
  748. "specified",
  749. "split",
  750. "spool",
  751. "spots",
  752. "sql",
  753. "sqlscript",
  754. "stable",
  755. "stamp",
  756. "standard",
  757. "starting",
  758. "start-of-editing",
  759. "start-of-selection",
  760. "state",
  761. "statement",
  762. "statements",
  763. "static",
  764. "statics",
  765. "statusinfo",
  766. "step-loop",
  767. "stop",
  768. "structure",
  769. "structures",
  770. "style",
  771. "subkey",
  772. "submatches",
  773. "submit",
  774. "subroutine",
  775. "subscreen",
  776. "subtract",
  777. "subtract-corresponding",
  778. "suffix",
  779. "sum",
  780. "summary",
  781. "summing",
  782. "supplied",
  783. "supply",
  784. "suppress",
  785. "switch",
  786. "switchstates",
  787. "symbol",
  788. "syncpoints",
  789. "syntax",
  790. "syntax-check",
  791. "syntax-trace",
  792. "system-call",
  793. "system-exceptions",
  794. "system-exit",
  795. "tab",
  796. "tabbed",
  797. "table",
  798. "tables",
  799. "tableview",
  800. "tabstrip",
  801. "target",
  802. "task",
  803. "tasks",
  804. "test",
  805. "testing",
  806. "test-injection",
  807. "test-seam",
  808. "text",
  809. "textpool",
  810. "then",
  811. "throw",
  812. "time",
  813. "times",
  814. "timestamp",
  815. "timezone",
  816. "tims_is_valid",
  817. "title",
  818. "titlebar",
  819. "title-lines",
  820. "to",
  821. "tokenization",
  822. "tokens",
  823. "top-lines",
  824. "top-of-page",
  825. "trace-file",
  826. "trace-table",
  827. "trailing",
  828. "transaction",
  829. "transfer",
  830. "transformation",
  831. "translate",
  832. "transporting",
  833. "trmac",
  834. "truncate",
  835. "truncation",
  836. "try",
  837. "tstmp_add_seconds",
  838. "tstmp_current_utctimestamp",
  839. "tstmp_is_valid",
  840. "tstmp_seconds_between",
  841. "type",
  842. "type-pool",
  843. "type-pools",
  844. "types",
  845. "uline",
  846. "unassign",
  847. "under",
  848. "unicode",
  849. "union",
  850. "unique",
  851. "unit_conversion",
  852. "unix",
  853. "unpack",
  854. "until",
  855. "unwind",
  856. "up",
  857. "update",
  858. "upper",
  859. "user",
  860. "user-command",
  861. "using",
  862. "utf-8",
  863. "valid",
  864. "value",
  865. "value-request",
  866. "values",
  867. "vary",
  868. "varying",
  869. "verification-message",
  870. "version",
  871. "via",
  872. "view",
  873. "visible",
  874. "wait",
  875. "warning",
  876. "when",
  877. "whenever",
  878. "where",
  879. "while",
  880. "width",
  881. "window",
  882. "windows",
  883. "with",
  884. "with-heading",
  885. "without",
  886. "with-title",
  887. "word",
  888. "work",
  889. "write",
  890. "writer",
  891. "xml",
  892. "xsd",
  893. "yellow",
  894. "yes",
  895. "yymmdd",
  896. "zero",
  897. "zone",
  898. "abap_system_timezone",
  899. "abap_user_timezone",
  900. "access",
  901. "action",
  902. "adabas",
  903. "adjust_numbers",
  904. "allow_precision_loss",
  905. "allowed",
  906. "amdp",
  907. "applicationuser",
  908. "as_geo_json",
  909. "as400",
  910. "associations",
  911. "balance",
  912. "behavior",
  913. "breakup",
  914. "bulk",
  915. "cds",
  916. "cds_client",
  917. "check_before_save",
  918. "child",
  919. "clients",
  920. "corr",
  921. "corr_spearman",
  922. "cross",
  923. "cycles",
  924. "datn_add_days",
  925. "datn_add_months",
  926. "datn_days_between",
  927. "dats_from_datn",
  928. "dats_tims_to_tstmp",
  929. "dats_to_datn",
  930. "db2",
  931. "db6",
  932. "ddl",
  933. "dense_rank",
  934. "depth",
  935. "deterministic",
  936. "discarding",
  937. "entities",
  938. "entity",
  939. "error",
  940. "failed",
  941. "finalize",
  942. "first_value",
  943. "fltp_to_dec",
  944. "following",
  945. "fractional",
  946. "full",
  947. "graph",
  948. "grouping",
  949. "hierarchy",
  950. "hierarchy_ancestors",
  951. "hierarchy_ancestors_aggregate",
  952. "hierarchy_descendants",
  953. "hierarchy_descendants_aggregate",
  954. "hierarchy_siblings",
  955. "incremental",
  956. "indicators",
  957. "lag",
  958. "last_value",
  959. "lead",
  960. "leaves",
  961. "like_regexpr",
  962. "link",
  963. "locale_sap",
  964. "lock",
  965. "locks",
  966. "many",
  967. "mapped",
  968. "matched",
  969. "measures",
  970. "median",
  971. "mssqlnt",
  972. "multiple",
  973. "nodetype",
  974. "ntile",
  975. "nulls",
  976. "occurrences_regexpr",
  977. "one",
  978. "operations",
  979. "oracle",
  980. "orphans",
  981. "over",
  982. "parent",
  983. "parents",
  984. "partition",
  985. "pcre",
  986. "period",
  987. "pfcg_mapping",
  988. "preceding",
  989. "privileged",
  990. "product",
  991. "projection",
  992. "rank",
  993. "redirected",
  994. "replace_regexpr",
  995. "reported",
  996. "response",
  997. "responses",
  998. "root",
  999. "row",
  1000. "row_number",
  1001. "sap_system_date",
  1002. "save",
  1003. "schema",
  1004. "session",
  1005. "sets",
  1006. "shortdump",
  1007. "siblings",
  1008. "spantree",
  1009. "start",
  1010. "stddev",
  1011. "string_agg",
  1012. "subtotal",
  1013. "sybase",
  1014. "tims_from_timn",
  1015. "tims_to_timn",
  1016. "to_blob",
  1017. "to_clob",
  1018. "total",
  1019. "trace-entry",
  1020. "tstmp_to_dats",
  1021. "tstmp_to_dst",
  1022. "tstmp_to_tims",
  1023. "tstmpl_from_utcl",
  1024. "tstmpl_to_utcl",
  1025. "unbounded",
  1026. "utcl_add_seconds",
  1027. "utcl_current",
  1028. "utcl_seconds_between",
  1029. "uuid",
  1030. "var",
  1031. "verbatim"
  1032. ],
  1033. builtinFunctions: [
  1034. "abs",
  1035. "acos",
  1036. "asin",
  1037. "atan",
  1038. "bit-set",
  1039. "boolc",
  1040. "boolx",
  1041. "ceil",
  1042. "char_off",
  1043. "charlen",
  1044. "cmax",
  1045. "cmin",
  1046. "concat_lines_of",
  1047. "contains",
  1048. "contains_any_not_of",
  1049. "contains_any_of",
  1050. "cos",
  1051. "cosh",
  1052. "count",
  1053. "count_any_not_of",
  1054. "count_any_of",
  1055. "dbmaxlen",
  1056. "distance",
  1057. "escape",
  1058. "exp",
  1059. "find_any_not_of",
  1060. "find_any_of",
  1061. "find_end",
  1062. "floor",
  1063. "frac",
  1064. "from_mixed",
  1065. "ipow",
  1066. "line_exists",
  1067. "line_index",
  1068. "log",
  1069. "log10",
  1070. "matches",
  1071. "nmax",
  1072. "nmin",
  1073. "numofchar",
  1074. "repeat",
  1075. "rescale",
  1076. "reverse",
  1077. "round",
  1078. "segment",
  1079. "shift_left",
  1080. "shift_right",
  1081. "sign",
  1082. "sin",
  1083. "sinh",
  1084. "sqrt",
  1085. "strlen",
  1086. "substring",
  1087. "substring_after",
  1088. "substring_before",
  1089. "substring_from",
  1090. "substring_to",
  1091. "tan",
  1092. "tanh",
  1093. "to_lower",
  1094. "to_mixed",
  1095. "to_upper",
  1096. "trunc",
  1097. "utclong_add",
  1098. "utclong_current",
  1099. "utclong_diff",
  1100. "xsdbool",
  1101. "xstrlen"
  1102. ],
  1103. typeKeywords: [
  1104. "b",
  1105. "c",
  1106. "d",
  1107. "decfloat16",
  1108. "decfloat34",
  1109. "f",
  1110. "i",
  1111. "int8",
  1112. "n",
  1113. "p",
  1114. "s",
  1115. "string",
  1116. "t",
  1117. "utclong",
  1118. "x",
  1119. "xstring",
  1120. "any",
  1121. "clike",
  1122. "csequence",
  1123. "decfloat",
  1124. "numeric",
  1125. "simple",
  1126. "xsequence",
  1127. "accp",
  1128. "char",
  1129. "clnt",
  1130. "cuky",
  1131. "curr",
  1132. "datn",
  1133. "dats",
  1134. "d16d",
  1135. "d16n",
  1136. "d16r",
  1137. "d34d",
  1138. "d34n",
  1139. "d34r",
  1140. "dec",
  1141. "df16_dec",
  1142. "df16_raw",
  1143. "df34_dec",
  1144. "df34_raw",
  1145. "fltp",
  1146. "geom_ewkb",
  1147. "int1",
  1148. "int2",
  1149. "int4",
  1150. "lang",
  1151. "lchr",
  1152. "lraw",
  1153. "numc",
  1154. "quan",
  1155. "raw",
  1156. "rawstring",
  1157. "sstring",
  1158. "timn",
  1159. "tims",
  1160. "unit",
  1161. "utcl",
  1162. "df16_scl",
  1163. "df34_scl",
  1164. "prec",
  1165. "varc",
  1166. "abap_bool",
  1167. "abap_false",
  1168. "abap_true",
  1169. "abap_undefined",
  1170. "me",
  1171. "screen",
  1172. "space",
  1173. "super",
  1174. "sy",
  1175. "syst",
  1176. "table_line",
  1177. "*sys*"
  1178. ],
  1179. builtinMethods: ["class_constructor", "constructor"],
  1180. derivedTypes: [
  1181. "%CID",
  1182. "%CID_REF",
  1183. "%CONTROL",
  1184. "%DATA",
  1185. "%ELEMENT",
  1186. "%FAIL",
  1187. "%KEY",
  1188. "%MSG",
  1189. "%PARAM",
  1190. "%PID",
  1191. "%PID_ASSOC",
  1192. "%PID_PARENT",
  1193. "%_HINTS"
  1194. ],
  1195. cdsLanguage: [
  1196. "@AbapAnnotation",
  1197. "@AbapCatalog",
  1198. "@AccessControl",
  1199. "@API",
  1200. "@ClientDependent",
  1201. "@ClientHandling",
  1202. "@CompatibilityContract",
  1203. "@DataAging",
  1204. "@EndUserText",
  1205. "@Environment",
  1206. "@LanguageDependency",
  1207. "@MappingRole",
  1208. "@Metadata",
  1209. "@MetadataExtension",
  1210. "@ObjectModel",
  1211. "@Scope",
  1212. "@Semantics",
  1213. "$EXTENSION",
  1214. "$SELF"
  1215. ],
  1216. selectors: ["->", "->*", "=>", "~", "~*"],
  1217. operators: [
  1218. " +",
  1219. " -",
  1220. "/",
  1221. "*",
  1222. "**",
  1223. "div",
  1224. "mod",
  1225. "=",
  1226. "#",
  1227. "@",
  1228. "+=",
  1229. "-=",
  1230. "*=",
  1231. "/=",
  1232. "**=",
  1233. "&&=",
  1234. "?=",
  1235. "&",
  1236. "&&",
  1237. "bit-and",
  1238. "bit-not",
  1239. "bit-or",
  1240. "bit-xor",
  1241. "m",
  1242. "o",
  1243. "z",
  1244. "<",
  1245. " >",
  1246. "<=",
  1247. ">=",
  1248. "<>",
  1249. "><",
  1250. "=<",
  1251. "=>",
  1252. "bt",
  1253. "byte-ca",
  1254. "byte-cn",
  1255. "byte-co",
  1256. "byte-cs",
  1257. "byte-na",
  1258. "byte-ns",
  1259. "ca",
  1260. "cn",
  1261. "co",
  1262. "cp",
  1263. "cs",
  1264. "eq",
  1265. "ge",
  1266. "gt",
  1267. "le",
  1268. "lt",
  1269. "na",
  1270. "nb",
  1271. "ne",
  1272. "np",
  1273. "ns",
  1274. "*/",
  1275. "*:",
  1276. "--",
  1277. "/*",
  1278. "//"
  1279. ],
  1280. symbols: /[=><!~?&+\-*\/\^%#@]+/,
  1281. tokenizer: {
  1282. root: [
  1283. [
  1284. /[a-z_\/$%@]([\w\/$%]|-(?!>))*/,
  1285. {
  1286. cases: {
  1287. "@typeKeywords": "type",
  1288. "@keywords": "keyword",
  1289. "@cdsLanguage": "annotation",
  1290. "@derivedTypes": "type",
  1291. "@builtinFunctions": "type",
  1292. "@builtinMethods": "type",
  1293. "@operators": "key",
  1294. "@default": "identifier"
  1295. }
  1296. }
  1297. ],
  1298. [/<[\w]+>/, "identifier"],
  1299. [/##[\w|_]+/, "comment"],
  1300. { include: "@whitespace" },
  1301. [/[:,.]/, "delimiter"],
  1302. [/[{}()\[\]]/, "@brackets"],
  1303. [
  1304. /@symbols/,
  1305. {
  1306. cases: {
  1307. "@selectors": "tag",
  1308. "@operators": "key",
  1309. "@default": ""
  1310. }
  1311. }
  1312. ],
  1313. [/'/, { token: "string", bracket: "@open", next: "@stringquote" }],
  1314. [/`/, { token: "string", bracket: "@open", next: "@stringping" }],
  1315. [/\|/, { token: "string", bracket: "@open", next: "@stringtemplate" }],
  1316. [/\d+/, "number"]
  1317. ],
  1318. stringtemplate: [
  1319. [/[^\\\|]+/, "string"],
  1320. [/\\\|/, "string"],
  1321. [/\|/, { token: "string", bracket: "@close", next: "@pop" }]
  1322. ],
  1323. stringping: [
  1324. [/[^\\`]+/, "string"],
  1325. [/`/, { token: "string", bracket: "@close", next: "@pop" }]
  1326. ],
  1327. stringquote: [
  1328. [/[^\\']+/, "string"],
  1329. [/'/, { token: "string", bracket: "@close", next: "@pop" }]
  1330. ],
  1331. whitespace: [
  1332. [/[ \t\r\n]+/, ""],
  1333. [/^\*.*$/, "comment"],
  1334. [/\".*$/, "comment"]
  1335. ]
  1336. }
  1337. };
  1338. return __toCommonJS(abap_exports);
  1339. })();
  1340. return moduleExports;
  1341. });