abap.js 24 KB

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