mode-abap-e10cc617.js.map 14 KB

1
  1. {"version":3,"file":"mode-abap-e10cc617.js","sources":["../../node_modules/ace-builds/src-noconflict/mode-abap.js"],"sourcesContent":["ace.define(\"ace/mode/abap_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"], function(require, exports, module){/*\n * based on\n * \" Vim ABAP syntax file\n * \" Language: SAP - ABAP/R4\n * \" Revision: 2.1\n * \" Maintainer: Marius Piedallu van Wyk <lailoken@gmail.com>\n * \" Last Change: 2012 Oct 23\n */\n\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextHighlightRules = require(\"./text_highlight_rules\").TextHighlightRules;\nvar AbapHighlightRules = function () {\n var keywordMapper = this.createKeywordMapper({\n \"variable.language\": \"this\",\n \"keyword\": \"ADD ALIAS ALIASES ASCENDING ASSERT ASSIGN ASSIGNING AT BACK\" +\n \" CALL CASE CATCH CHECK CLASS CLEAR CLOSE CNT COLLECT COMMIT COMMUNICATION COMPUTE CONCATENATE CONDENSE CONSTANTS CONTINUE CONTROLS CONVERT CREATE CURRENCY\" +\n \" DATA DEFINE DEFINITION DEFERRED DELETE DESCENDING DESCRIBE DETAIL DIVIDE DO\" +\n \" ELSE ELSEIF ENDAT ENDCASE ENDCLASS ENDDO ENDEXEC ENDFORM ENDFUNCTION ENDIF ENDIFEND ENDINTERFACE ENDLOOP ENDMETHOD ENDMODULE ENDON ENDPROVIDE ENDSELECT ENDTRY ENDWHILE EVENT EVENTS EXEC EXIT EXPORT EXPORTING EXTRACT\" +\n \" FETCH FIELDS FORM FORMAT FREE FROM FUNCTION\" +\n \" GENERATE GET\" +\n \" HIDE\" +\n \" IF IMPORT IMPORTING INDEX INFOTYPES INITIALIZATION INTERFACE INTERFACES INPUT INSERT IMPLEMENTATION\" +\n \" LEAVE LIKE LINE LOAD LOCAL LOOP\" +\n \" MESSAGE METHOD METHODS MODIFY MODULE MOVE MULTIPLY\" +\n \" ON OVERLAY OPTIONAL OTHERS\" +\n \" PACK PARAMETERS PERFORM POSITION PROGRAM PROVIDE PUT\" +\n \" RAISE RANGES READ RECEIVE RECEIVING REDEFINITION REFERENCE REFRESH REJECT REPLACE REPORT RESERVE RESTORE RETURN RETURNING ROLLBACK\" +\n \" SCAN SCROLL SEARCH SELECT SET SHIFT SKIP SORT SORTED SPLIT STANDARD STATICS STEP STOP SUBMIT SUBTRACT SUM SUMMARY SUPPRESS\" +\n \" TABLES TIMES TRANSFER TRANSLATE TRY TYPE TYPES\" +\n \" UNASSIGN ULINE UNPACK UPDATE\" +\n \" WHEN WHILE WINDOW WRITE\" +\n \" OCCURS STRUCTURE OBJECT PROPERTY\" +\n \" CASTING APPEND RAISING VALUE COLOR\" +\n \" CHANGING EXCEPTION EXCEPTIONS DEFAULT CHECKBOX COMMENT\" +\n \" ID NUMBER FOR TITLE OUTPUT\" +\n \" WITH EXIT USING\" +\n \" INTO WHERE GROUP BY HAVING ORDER BY SINGLE\" +\n \" APPENDING CORRESPONDING FIELDS OF TABLE\" +\n \" LEFT RIGHT OUTER INNER JOIN AS CLIENT SPECIFIED BYPASSING BUFFER UP TO ROWS CONNECTING\" +\n \" EQ NE LT LE GT GE NOT AND OR XOR IN LIKE BETWEEN\",\n \"constant.language\": \"TRUE FALSE NULL SPACE\",\n \"support.type\": \"c n i p f d t x string xstring decfloat16 decfloat34\",\n \"keyword.operator\": \"abs sign ceil floor trunc frac acos asin atan cos sin tan\" +\n \" abapOperator cosh sinh tanh exp log log10 sqrt\" +\n \" strlen xstrlen charlen numofchar dbmaxlen lines\"\n }, \"text\", true, \" \");\n var compoundKeywords = \"WITH\\\\W+(?:HEADER\\\\W+LINE|FRAME|KEY)|NO\\\\W+STANDARD\\\\W+PAGE\\\\W+HEADING|\" +\n \"EXIT\\\\W+FROM\\\\W+STEP\\\\W+LOOP|BEGIN\\\\W+OF\\\\W+(?:BLOCK|LINE)|BEGIN\\\\W+OF|\" +\n \"END\\\\W+OF\\\\W+(?:BLOCK|LINE)|END\\\\W+OF|NO\\\\W+INTERVALS|\" +\n \"RESPECTING\\\\W+BLANKS|SEPARATED\\\\W+BY|USING\\\\W+(?:EDIT\\\\W+MASK)|\" +\n \"WHERE\\\\W+(?:LINE)|RADIOBUTTON\\\\W+GROUP|REF\\\\W+TO|\" +\n \"(?:PUBLIC|PRIVATE|PROTECTED)(?:\\\\W+SECTION)?|DELETING\\\\W+(?:TRAILING|LEADING)\" +\n \"(?:ALL\\\\W+OCCURRENCES)|(?:FIRST|LAST)\\\\W+OCCURRENCE|INHERITING\\\\W+FROM|\" +\n \"LINE-COUNT|ADD-CORRESPONDING|AUTHORITY-CHECK|BREAK-POINT|CLASS-DATA|CLASS-METHODS|\" +\n \"CLASS-METHOD|DIVIDE-CORRESPONDING|EDITOR-CALL|END-OF-DEFINITION|END-OF-PAGE|END-OF-SELECTION|\" +\n \"FIELD-GROUPS|FIELD-SYMBOLS|FUNCTION-POOL|MOVE-CORRESPONDING|MULTIPLY-CORRESPONDING|NEW-LINE|\" +\n \"NEW-PAGE|NEW-SECTION|PRINT-CONTROL|RP-PROVIDE-FROM-LAST|SELECT-OPTIONS|SELECTION-SCREEN|\" +\n \"START-OF-SELECTION|SUBTRACT-CORRESPONDING|SYNTAX-CHECK|SYNTAX-TRACE|TOP-OF-PAGE|TYPE-POOL|\" +\n \"TYPE-POOLS|LINE-SIZE|LINE-COUNT|MESSAGE-ID|DISPLAY-MODE|READ(?:-ONLY)?|\" +\n \"IS\\\\W+(?:NOT\\\\W+)?(?:ASSIGNED|BOUND|INITIAL|SUPPLIED)\";\n this.$rules = {\n \"start\": [\n { token: \"string\", regex: \"`\", next: \"string\" },\n { token: \"string\", regex: \"'\", next: \"qstring\" },\n { token: \"doc.comment\", regex: /^\\*.+/ },\n { token: \"comment\", regex: /\".+$/ },\n { token: \"invalid\", regex: \"\\\\.{2,}\" },\n { token: \"keyword.operator\", regex: /\\W[\\-+%=<>*]\\W|\\*\\*|[~:,\\.&$]|->*?|=>/ },\n { token: \"paren.lparen\", regex: \"[\\\\[({]\" },\n { token: \"paren.rparen\", regex: \"[\\\\])}]\" },\n { token: \"constant.numeric\", regex: \"[+-]?\\\\d+\\\\b\" },\n { token: \"variable.parameter\", regex: /sy|pa?\\d\\d\\d\\d\\|t\\d\\d\\d\\.|innnn/ },\n { token: \"keyword\", regex: compoundKeywords },\n { token: \"variable.parameter\", regex: /\\w+-\\w[\\-\\w]*/ },\n { token: keywordMapper, regex: \"\\\\b\\\\w+\\\\b\" },\n { caseInsensitive: true }\n ],\n \"qstring\": [\n { token: \"constant.language.escape\", regex: \"''\" },\n { token: \"string\", regex: \"'\", next: \"start\" },\n { defaultToken: \"string\" }\n ],\n \"string\": [\n { token: \"constant.language.escape\", regex: \"``\" },\n { token: \"string\", regex: \"`\", next: \"start\" },\n { defaultToken: \"string\" }\n ]\n };\n};\noop.inherits(AbapHighlightRules, TextHighlightRules);\nexports.AbapHighlightRules = AbapHighlightRules;\n\n});\n\nace.define(\"ace/mode/folding/coffee\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/folding/fold_mode\",\"ace/range\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../../lib/oop\");\nvar BaseFoldMode = require(\"./fold_mode\").FoldMode;\nvar Range = require(\"../../range\").Range;\nvar FoldMode = exports.FoldMode = function () { };\noop.inherits(FoldMode, BaseFoldMode);\n(function () {\n this.getFoldWidgetRange = function (session, foldStyle, row) {\n var range = this.indentationBlock(session, row);\n if (range)\n return range;\n var re = /\\S/;\n var line = session.getLine(row);\n var startLevel = line.search(re);\n if (startLevel == -1 || line[startLevel] != \"#\")\n return;\n var startColumn = line.length;\n var maxRow = session.getLength();\n var startRow = row;\n var endRow = row;\n while (++row < maxRow) {\n line = session.getLine(row);\n var level = line.search(re);\n if (level == -1)\n continue;\n if (line[level] != \"#\")\n break;\n endRow = row;\n }\n if (endRow > startRow) {\n var endColumn = session.getLine(endRow).length;\n return new Range(startRow, startColumn, endRow, endColumn);\n }\n };\n this.getFoldWidget = function (session, foldStyle, row) {\n var line = session.getLine(row);\n var indent = line.search(/\\S/);\n var next = session.getLine(row + 1);\n var prev = session.getLine(row - 1);\n var prevIndent = prev.search(/\\S/);\n var nextIndent = next.search(/\\S/);\n if (indent == -1) {\n session.foldWidgets[row - 1] = prevIndent != -1 && prevIndent < nextIndent ? \"start\" : \"\";\n return \"\";\n }\n if (prevIndent == -1) {\n if (indent == nextIndent && line[indent] == \"#\" && next[indent] == \"#\") {\n session.foldWidgets[row - 1] = \"\";\n session.foldWidgets[row + 1] = \"\";\n return \"start\";\n }\n }\n else if (prevIndent == indent && line[indent] == \"#\" && prev[indent] == \"#\") {\n if (session.getLine(row - 2).search(/\\S/) == -1) {\n session.foldWidgets[row - 1] = \"start\";\n session.foldWidgets[row + 1] = \"\";\n return \"\";\n }\n }\n if (prevIndent != -1 && prevIndent < indent)\n session.foldWidgets[row - 1] = \"start\";\n else\n session.foldWidgets[row - 1] = \"\";\n if (indent < nextIndent)\n return \"start\";\n else\n return \"\";\n };\n}).call(FoldMode.prototype);\n\n});\n\nace.define(\"ace/mode/abap\",[\"require\",\"exports\",\"module\",\"ace/mode/abap_highlight_rules\",\"ace/mode/folding/coffee\",\"ace/range\",\"ace/mode/text\",\"ace/lib/oop\"], function(require, exports, module){\"use strict\";\nvar Rules = require(\"./abap_highlight_rules\").AbapHighlightRules;\nvar FoldMode = require(\"./folding/coffee\").FoldMode;\nvar Range = require(\"../range\").Range;\nvar TextMode = require(\"./text\").Mode;\nvar oop = require(\"../lib/oop\");\nfunction Mode() {\n this.HighlightRules = Rules;\n this.foldingRules = new FoldMode();\n}\noop.inherits(Mode, TextMode);\n(function () {\n this.lineCommentStart = '\"';\n this.getNextLineIndent = function (state, line, tab) {\n var indent = this.$getIndent(line);\n return indent;\n };\n this.$id = \"ace/mode/abap\";\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n}); (function() {\n ace.require([\"ace/mode/abap\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n "],"names":["require","exports","module","oop","TextHighlightRules","AbapHighlightRules","keywordMapper","compoundKeywords","BaseFoldMode","Range","FoldMode","session","foldStyle","row","range","re","line","startLevel","startColumn","maxRow","startRow","endRow","level","endColumn","indent","next","prev","prevIndent","nextIndent","Rules","TextMode","Mode","state","tab","m"],"mappings":"gaAAA,IAAI,OAAO,gCAAgC,CAAC,UAAU,UAAU,SAAS,cAAc,+BAA+B,EAAG,SAASA,EAASC,EAASC,EAAO,CAS3J,IAAIC,EAAMH,EAAQ,YAAY,EAC1BI,EAAqBJ,EAAQ,wBAAwB,EAAE,mBACvDK,EAAqB,UAAY,CACjC,IAAIC,EAAgB,KAAK,oBAAoB,CACzC,oBAAqB,OACrB,QAAW,oiDA0BX,oBAAqB,wBACrB,eAAgB,uDAChB,mBAAoB,0JAG5B,EAAO,OAAQ,GAAM,GAAG,EAChBC,EAAmB,ogCAcvB,KAAK,OAAS,CACV,MAAS,CACL,CAAE,MAAO,SAAU,MAAO,IAAK,KAAM,QAAU,EAC/C,CAAE,MAAO,SAAU,MAAO,IAAK,KAAM,SAAW,EAChD,CAAE,MAAO,cAAe,MAAO,OAAS,EACxC,CAAE,MAAO,UAAW,MAAO,MAAQ,EACnC,CAAE,MAAO,UAAW,MAAO,SAAW,EACtC,CAAE,MAAO,mBAAoB,MAAO,uCAAyC,EAC7E,CAAE,MAAO,eAAgB,MAAO,SAAW,EAC3C,CAAE,MAAO,eAAgB,MAAO,SAAW,EAC3C,CAAE,MAAO,mBAAoB,MAAO,cAAgB,EACpD,CAAE,MAAO,qBAAsB,MAAO,iCAAmC,EACzE,CAAE,MAAO,UAAW,MAAOA,CAAkB,EAC7C,CAAE,MAAO,qBAAsB,MAAO,eAAiB,EACvD,CAAE,MAAOD,EAAe,MAAO,YAAc,EAC7C,CAAE,gBAAiB,EAAM,CAC5B,EACD,QAAW,CACP,CAAE,MAAO,2BAA4B,MAAO,IAAM,EAClD,CAAE,MAAO,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