mode-ini-298ec18f.js.map 8.2 KB

1
  1. {"version":3,"file":"mode-ini-298ec18f.js","sources":["../../node_modules/ace-builds/src-noconflict/mode-ini.js"],"sourcesContent":["ace.define(\"ace/mode/ini_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"], function(require, exports, module){/* This file was autogenerated from tool\\tm bundles\\ini.tmbundle\\Syntaxes\\Ini.plist (uuid: ) */\n\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextHighlightRules = require(\"./text_highlight_rules\").TextHighlightRules;\nvar escapeRe = \"\\\\\\\\(?:[\\\\\\\\0abtrn;#=:]|x[a-fA-F\\\\d]{4})\";\nvar IniHighlightRules = function () {\n this.$rules = {\n start: [{\n token: 'punctuation.definition.comment.ini',\n regex: '#.*',\n push_: [{\n token: 'comment.line.number-sign.ini',\n regex: '$|^',\n next: 'pop'\n }, {\n defaultToken: 'comment.line.number-sign.ini'\n }]\n }, {\n token: 'punctuation.definition.comment.ini',\n regex: ';.*',\n push_: [{\n token: 'comment.line.semicolon.ini',\n regex: '$|^',\n next: 'pop'\n }, {\n defaultToken: 'comment.line.semicolon.ini'\n }]\n }, {\n token: ['keyword.other.definition.ini', 'text', 'punctuation.separator.key-value.ini'],\n regex: '\\\\b([a-zA-Z0-9_.-]+)\\\\b(\\\\s*)(=)'\n }, {\n token: ['punctuation.definition.entity.ini', 'constant.section.group-title.ini', 'punctuation.definition.entity.ini'],\n regex: '^(\\\\[)(.*?)(\\\\])'\n }, {\n token: 'punctuation.definition.string.begin.ini',\n regex: \"'\",\n push: [{\n token: 'punctuation.definition.string.end.ini',\n regex: \"'\",\n next: 'pop'\n }, {\n token: \"constant.language.escape\",\n regex: escapeRe\n }, {\n defaultToken: 'string.quoted.single.ini'\n }]\n }, {\n token: 'punctuation.definition.string.begin.ini',\n regex: '\"',\n push: [{\n token: \"constant.language.escape\",\n regex: escapeRe\n }, {\n token: 'punctuation.definition.string.end.ini',\n regex: '\"',\n next: 'pop'\n }, {\n defaultToken: 'string.quoted.double.ini'\n }]\n }]\n };\n this.normalizeRules();\n};\nIniHighlightRules.metaData = {\n fileTypes: ['ini', 'conf'],\n keyEquivalent: '^~I',\n name: 'Ini',\n scopeName: 'source.ini'\n};\noop.inherits(IniHighlightRules, TextHighlightRules);\nexports.IniHighlightRules = IniHighlightRules;\n\n});\n\nace.define(\"ace/mode/folding/ini\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/range\",\"ace/mode/folding/fold_mode\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../../lib/oop\");\nvar Range = require(\"../../range\").Range;\nvar BaseFoldMode = require(\"./fold_mode\").FoldMode;\nvar FoldMode = exports.FoldMode = function () {\n};\noop.inherits(FoldMode, BaseFoldMode);\n(function () {\n this.foldingStartMarker = /^\\s*\\[([^\\])]*)]\\s*(?:$|[;#])/;\n this.getFoldWidgetRange = function (session, foldStyle, row) {\n var re = this.foldingStartMarker;\n var line = session.getLine(row);\n var m = line.match(re);\n if (!m)\n return;\n var startName = m[1] + \".\";\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 if (/^\\s*$/.test(line))\n continue;\n m = line.match(re);\n if (m && m[1].lastIndexOf(startName, 0) !== 0)\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}).call(FoldMode.prototype);\n\n});\n\nace.define(\"ace/mode/ini\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/ini_highlight_rules\",\"ace/mode/folding/ini\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextMode = require(\"./text\").Mode;\nvar IniHighlightRules = require(\"./ini_highlight_rules\").IniHighlightRules;\nvar FoldMode = require(\"./folding/ini\").FoldMode;\nvar Mode = function () {\n this.HighlightRules = IniHighlightRules;\n this.foldingRules = new FoldMode();\n this.$behaviour = this.$defaultBehaviour;\n};\noop.inherits(Mode, TextMode);\n(function () {\n this.lineCommentStart = \";\";\n this.blockComment = null;\n this.$id = \"ace/mode/ini\";\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n}); (function() {\n ace.require([\"ace/mode/ini\"], 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","escapeRe","IniHighlightRules","Range","BaseFoldMode","FoldMode","session","foldStyle","row","re","line","m","startName","startColumn","maxRow","startRow","endRow","endColumn","TextMode","Mode"],"mappings":"gaAAA,IAAI,OAAO,+BAA+B,CAAC,UAAU,UAAU,SAAS,cAAc,+BAA+B,EAAG,SAASA,EAASC,EAASC,EAAO,CAE1J,IAAIC,EAAMH,EAAQ,YAAY,EAC1BI,EAAqBJ,EAAQ,wBAAwB,EAAE,mBACvDK,EAAW,2CACXC,EAAoB,UAAY,CAChC,KAAK,OAAS,CACV,MAAO,CAAC,CACA,MAAO,qCACP,MAAO,MACP,MAAO,CAAC,CACA,MAAO,+BACP,MAAO,MACP,KAAM,KAC9B,EAAuB,CACC,aAAc,8BACtC,CAAqB,CACrB,EAAe,CACC,MAAO,qCACP,MAAO,MACP,MAAO,CAAC,CACA,MAAO,6BACP,MAAO,MACP,KAAM,KAC9B,EAAuB,CACC,aAAc,4BACtC,CAAqB,CACrB,EAAe,CACC,MAAO,CAAC,+BAAgC,OAAQ,qCAAqC,EACrF,MAAO,kCACvB,EAAe,CACC,MAAO,CAAC,oCAAqC,mCAAoC,mCAAmC,EACpH,MAAO,kBACvB,EAAe,CACC,MAAO,0CACP,MAAO,IACP,KAAM,CAAC,CACC,MAAO,wCACP,MAAO,IACP,KAAM,KAC9B,EAAuB,CACC,MAAO,2BACP,MAAOD,CAC/B,EAAuB,CACC,aAAc,0BACtC,CAAqB,CACrB,EAAe,CACC,MAAO,0CACP,MAAO,IACP,KAA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