12 |
- import{g as D}from"./index-91b358e1.js";function R(n,c){for(var e=0;e<c.length;e++){const o=c[e];if(typeof o!="string"&&!Array.isArray(o)){for(const r in o)if(r!=="default"&&!(r in n)){const a=Object.getOwnPropertyDescriptor(o,r);a&&Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>o[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(n,c){ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,o,r){var a=e("../lib/oop"),l=e("./text_highlight_rules").TextHighlightRules,i=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},i.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};a.inherits(i,l),i.getTagRule=function(t){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},i.getStartRule=function(t){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:t}},i.getEndRule=function(t){return{token:"comment.doc",regex:"\\*\\/",next:t}},o.DocCommentHighlightRules=i}),ace.define("ace/mode/edifact_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(e,o,r){var a=e("../lib/oop"),l=e("./doc_comment_highlight_rules").DocCommentHighlightRules,i=e("./text_highlight_rules").TextHighlightRules,t=function(){var s="UNH",d="ADR|AGR|AJT|ALC|ALI|APP|APR|ARD|ARR|ASI|ATT|AUT|BAS|BGM|BII|BUS|CAV|CCD|CCI|CDI|CDS|CDV|CED|CIN|CLA|CLI|CMP|CNI|CNT|COD|COM|COT|CPI|CPS|CPT|CST|CTA|CUX|DAM|DFN|DGS|DII|DIM|DLI|DLM|DMS|DOC|DRD|DSG|DSI|DTM|EDT|EFI|ELM|ELU|ELV|EMP|EQA|EQD|EQN|ERC|ERP|EVE|FCA|FII|FNS|FNT|FOR|FSQ|FTX|GDS|GEI|GID|GIN|GIR|GOR|GPO|GRU|HAN|HYN|ICD|IDE|IFD|IHC|IMD|IND|INP|INV|IRQ|LAN|LIN|LOC|MEA|MEM|MKS|MOA|MSG|MTD|NAD|NAT|PAC|PAI|PAS|PCC|PCD|PCI|PDI|PER|PGI|PIA|PNA|POC|PRC|PRI|PRV|PSD|PTY|PYT|QRS|QTY|QUA|QVR|RCS|REL|RFF|RJL|RNG|ROD|RSL|RTE|SAL|SCC|SCD|SEG|SEL|SEQ|SFI|SGP|SGU|SPR|SPS|STA|STC|STG|STS|TAX|TCC|TDT|TEM|TMD|TMP|TOD|TPL|TRU|TSR|UNB|UNZ|UNT|UGH|UGT|UNS|VLI",s="UNH",h="null|Infinity|NaN|undefined",m="",f="BY|SE|ON|INV|JP|UNOA",C=this.createKeywordMapper({"variable.language":"this",keyword:f,"entity.name.segment":d,"entity.name.header":s,"constant.language":h,"support.function":m},"identifier");this.$rules={start:[{token:"punctuation.operator",regex:"\\+.\\+"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:C,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+"},{token:"punctuation.operator",regex:"\\:|'"},{token:"identifier",regex:"\\:D\\:"}]},this.embedRules(l,"doc-",[l.getEndRule("start")])};t.metaData={fileTypes:["edi"],keyEquivalent:"^~E",name:"Edifact",scopeName:"source.edifact"},a.inherits(t,i),o.EdifactHighlightRules=t}),ace.define("ace/mode/edifact",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/edifact_highlight_rules"],function(e,o,r){var a=e("../lib/oop"),l=e("./text").Mode,i=e("./edifact_highlight_rules").EdifactHighlightRules,t=function(){this.HighlightRules=i,this.$behaviour=this.$defaultBehaviour};a.inherits(t,l),function(){this.$id="ace/mode/edifact",this.snippetFileId="ace/snippets/edifact"}.call(t.prototype),o.Mode=t}),function(){ace.require(["ace/mode/edifact"],function(e){n&&(n.exports=e)})}()})(g);var u=g.exports;const p=D(u),I=R({__proto__:null,default:p},[u]);export{I as m};
- //# sourceMappingURL=mode-edifact-b2efe8ac.js.map
|