1 |
- {"version":3,"file":"mode-cobol-a6e66c3d.js","sources":["../../node_modules/ace-builds/src-noconflict/mode-cobol.js"],"sourcesContent":["ace.define(\"ace/mode/cobol_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextHighlightRules = require(\"./text_highlight_rules\").TextHighlightRules;\nvar CobolHighlightRules = function () {\n var keywords = \"ACCEPT|MERGE|SUM|ADD||MESSAGE|TABLE|ADVANCING|MODE|TAPE|\" +\n \"AFTER|MULTIPLY|TEST|ALL|NEGATIVE|TEXT|ALPHABET|NEXT|THAN|\" +\n \"ALSO|NO|THEN|ALTERNATE|NOT|THROUGH|AND|NUMBER|THRU|ANY|OCCURS|\" +\n \"TIME|ARE|OF|TO|AREA|OFF|TOP||ASCENDING|OMITTED|TRUE|ASSIGN|ON|TYPE|AT|OPEN|\" +\n \"UNIT|AUTHOR|OR|UNTIL|BEFORE|OTHER|UP|BLANK|OUTPUT|USE|BLOCK|PAGE|USING|BOTTOM|\" +\n \"PERFORM|VALUE|BY|PIC|VALUES|CALL|PICTURE|WHEN|CANCEL|PLUS|WITH|CD|POINTER|WRITE|\" +\n \"CHARACTER|POSITION||ZERO|CLOSE|POSITIVE|ZEROS|COLUMN|PROCEDURE|ZEROES|COMMA|PROGRAM|\" +\n \"COMMON|PROGRAM-ID|COMMUNICATION|QUOTE|COMP|RANDOM|COMPUTE|READ|CONTAINS|RECEIVE|CONFIGURATION|\" +\n \"RECORD|CONTINUE|REDEFINES|CONTROL|REFERENCE|COPY|REMAINDER|COUNT|REPLACE|DATA|REPORT|DATE|RESERVE|\" +\n \"DAY|RESET|DELETE|RETURN|DESTINATION|REWIND|DISABLE|REWRITE|DISPLAY|RIGHT|DIVIDE|RUN|DOWN|SAME|\" +\n \"ELSE|SEARCH|ENABLE|SECTION|END|SELECT|ENVIRONMENT|SENTENCE|EQUAL|SET|ERROR|SIGN|EXIT|SEQUENTIAL|\" +\n \"EXTERNAL|SIZE|FLASE|SORT|FILE|SOURCE|LENGTH|SPACE|LESS|STANDARD|LIMIT|START|LINE|STOP|LOCK|STRING|LOW-VALUE|SUBTRACT\";\n var builtinConstants = (\"true|false|null\");\n var builtinFunctions = (\"count|min|max|avg|sum|rank|now|coalesce|main\");\n var keywordMapper = this.createKeywordMapper({\n \"support.function\": builtinFunctions,\n \"keyword\": keywords,\n \"constant.language\": builtinConstants\n }, \"identifier\", true);\n this.$rules = {\n \"start\": [{\n token: \"comment\",\n regex: \"\\\\*.*$\"\n }, {\n token: \"string\",\n regex: '\".*?\"'\n }, {\n token: \"string\",\n regex: \"'.*?'\"\n }, {\n token: \"constant.numeric\",\n regex: \"[+-]?\\\\d+(?:(?:\\\\.\\\\d*)?(?:[eE][+-]?\\\\d+)?)?\\\\b\"\n }, {\n token: keywordMapper,\n regex: \"[a-zA-Z_$][a-zA-Z0-9_$]*\\\\b\"\n }, {\n token: \"keyword.operator\",\n regex: \"\\\\+|\\\\-|\\\\/|\\\\/\\\\/|%|<@>|@>|<@|&|\\\\^|~|<|>|<=|=>|==|!=|<>|=\"\n }, {\n token: \"paren.lparen\",\n regex: \"[\\\\(]\"\n }, {\n token: \"paren.rparen\",\n regex: \"[\\\\)]\"\n }, {\n token: \"text\",\n regex: \"\\\\s+\"\n }]\n };\n};\noop.inherits(CobolHighlightRules, TextHighlightRules);\nexports.CobolHighlightRules = CobolHighlightRules;\n\n});\n\nace.define(\"ace/mode/cobol\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/cobol_highlight_rules\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextMode = require(\"./text\").Mode;\nvar CobolHighlightRules = require(\"./cobol_highlight_rules\").CobolHighlightRules;\nvar Mode = function () {\n this.HighlightRules = CobolHighlightRules;\n this.$behaviour = this.$defaultBehaviour;\n};\noop.inherits(Mode, TextMode);\n(function () {\n this.lineCommentStart = \"*\";\n this.$id = \"ace/mode/cobol\";\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n}); (function() {\n ace.require([\"ace/mode/cobol\"], 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","CobolHighlightRules","keywords","builtinConstants","builtinFunctions","keywordMapper","TextMode","Mode","m"],"mappings":"gaAAA,IAAI,OAAO,iCAAiC,CAAC,UAAU,UAAU,SAAS,cAAc,+BAA+B,EAAG,SAASA,EAASC,EAASC,EAAO,CAC5J,IAAIC,EAAMH,EAAQ,YAAY,EAC1BI,EAAqBJ,EAAQ,wBAAwB,EAAE,mBACvDK,EAAsB,UAAY,CAClC,IAAIC,EAAW,i+BAYXC,EAAoB,kBACpBC,EAAoB,+CACpBC,EAAgB,KAAK,oBAAoB,CACzC,mBAAoBD,EACpB,QAAWF,EACX,oBAAqBC,CAC7B,EAAO,aAAc,EAAI,EACrB,KAAK,OAAS,CACV,MAAS,CAAC,CACF,MAAO,UACP,MAAO,QACvB,EAAe,CACC,MAAO,SACP,MAAO,OACvB,EAAe,CACC,MAAO,SACP,MAAO,OACvB,EAAe,CACC,MAAO,mBACP,MAAO,iDACvB,EAAe,CACC,MAAOE,EACP,MAAO,6BACvB,EAAe,CACC,MAAO,mBACP,MAAO,6DACvB,EAAe,CACC,MAAO,eACP,MAAO,OACvB,EAAe,CACC,MAAO,eACP,MAAO,OACvB,EAAe,CACC,MAAO,OACP,MAAO,MACvB,CAAa,CACb,CACA,EACAN,EAAI,SAASE,EAAqBD,CAAkB,EACpDH,EAAQ,oBAAsBI,CAE9B,CAAC,EAED,IAAI,OAAO,iBAAiB,CAAC,UAAU,UAAU,SAAS,cAAc,gBAAgB,gCAAgC,EAAG,SAASL,EAASC,EAASC,EAAO,CAC7J,IAAIC,EAAMH,EAAQ,YAAY,EAC1BU,EAAWV,EAAQ,QAAQ,EAAE,KAC7BK,EAAsBL,EAAQ,yBAAyB,EAAE,oBACzDW,EAAO,UAAY,CACnB,KAAK,eAAiBN,EACtB,KAAK,WAAa,KAAK,iBAC3B,EACAF,EAAI,SAASQ,EAAMD,CAAQ,EAC1B,UAAY,CACT,KAAK,iBAAmB,IACxB,KAAK,IAAM,gBACf,EAAG,KAAKC,EAAK,SAAS,EACtBV,EAAQ,KAAOU,CAEf,CAAC,EAAmB,UAAW,CACX,IAAI,QAAQ,CAAC,gBAAgB,EAAG,SAASC,EAAG,CACuBV,IAC3DA,EAAA,QAAiBU,EAE7C,CAAqB,CACrB","x_google_ignoreList":[0]}
|