web-interface.assets.d4f1a314cb3668f8e17f24bccf0229b6.js Maven / Gradle / Ivy
(()=>{var v=(i,d)=>()=>(d||i((d={exports:{}}).exports,d),d.exports);var R=v((x,p)=>{ace.define("ace/mode/alda_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(i,d,k){"use strict";var m=i("../lib/oop"),h=i("./text_highlight_rules").TextHighlightRules,c=function(){this.$rules={pitch:[{token:"variable.parameter.operator.pitch.alda",regex:/(?:[+\-]+|\=)/},{token:"",regex:"",next:"timing"}],timing:[{token:"string.quoted.operator.timing.alda",regex:/\d+(?:s|ms)?/},{token:"",regex:"",next:"start"}],start:[{token:["constant.language.instrument.alda","constant.language.instrument.alda","meta.part.call.alda","storage.type.nickname.alda","meta.part.call.alda"],regex:/^([a-zA-Z]{2}[\w\-+\'()]*)((?:\s*\/\s*[a-zA-Z]{2}[\w\-+\'()]*)*)(?:(\s*)(\"[a-zA-Z]{2}[\w\-+\'()]*\"))?(\s*:)/},{token:["text","entity.other.inherited-class.voice.alda","text"],regex:/^(\s*)(V\d+)(:)/},{token:"comment.line.number-sign.alda",regex:/#.*$/},{token:"entity.name.function.pipe.measure.alda",regex:/\|/},{token:"comment.block.inline.alda",regex:/\(comment\b/,push:[{token:"comment.block.inline.alda",regex:/\)/,next:"pop"},{defaultToken:"comment.block.inline.alda"}]},{token:"entity.name.function.marker.alda",regex:/%[a-zA-Z]{2}[\w\-+\'()]*/},{token:"entity.name.function.at-marker.alda",regex:/@[a-zA-Z]{2}[\w\-+\'()]*/},{token:"keyword.operator.octave-change.alda",regex:/\bo\d+\b/},{token:"keyword.operator.octave-shift.alda",regex:/[><]/},{token:"keyword.operator.repeat.alda",regex:/\*\s*\d+/},{token:"string.quoted.operator.timing.alda",regex:/[.]|r\d*(?:s|ms)?/},{token:"text",regex:/([cdefgab])/,next:"pitch"},{token:"string.quoted.operator.timing.alda",regex:/~/,next:"timing"},{token:"punctuation.section.embedded.cram.alda",regex:/\}/,next:"timing"},{token:"constant.numeric.subchord.alda",regex:/\//},{todo:{token:"punctuation.section.embedded.cram.alda",regex:/\{/,push:[{token:"punctuation.section.embedded.cram.alda",regex:/\}/,next:"pop"},{include:"$self"}]}},{todo:{token:"keyword.control.sequence.alda",regex:/\[/,push:[{token:"keyword.control.sequence.alda",regex:/\]/,next:"pop"},{include:"$self"}]}},{token:"meta.inline.clojure.alda",regex:/\(/,push:[{token:"meta.inline.clojure.alda",regex:/\)/,next:"pop"},{include:"source.clojure"},{defaultToken:"meta.inline.clojure.alda"}]}]},this.normalizeRules()};c.metaData={scopeName:"source.alda",fileTypes:["alda"],name:"Alda"},m.inherits(c,h),d.AldaHighlightRules=c});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(i,d,k){"use strict";var m=i("../../lib/oop"),h=i("../../range").Range,c=i("./fold_mode").FoldMode,f=d.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};m.inherits(f,c),(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,a){var r=e.getLine(a);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var o=this._getFoldWidgetBase(e,t,a);return!o&&this.startRegionRe.test(r)?"start":o},this.getFoldWidgetRange=function(e,t,a,r){var o=e.getLine(a);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,a);var n=o.match(this.foldingStartMarker);if(n){var g=n.index;if(n[1])return this.openingBracketBlock(e,n[1],a,g);var l=e.getCommentFoldRange(a,g+n[0].length,1);return l&&!l.isMultiLine()&&(r?l=this.getSectionRange(e,a):t!="all"&&(l=null)),l}if(t!=="markbegin"){var n=o.match(this.foldingStopMarker);if(n){var g=n.index+n[0].length;return n[1]?this.closingBracketBlock(e,n[1],a,g):e.getCommentFoldRange(a,g,-1)}}},this.getSectionRange=function(e,t){var a=e.getLine(t),r=a.search(/\S/),o=t,g=a.length;t=t+1;for(var l=t,n=e.getLength();++tu)break;var s=this.getFoldWidgetRange(e,"all",t);if(s){if(s.start.row<=o)break;if(s.isMultiLine())t=s.end.row;else if(r==u)break}l=t}}return new h(o,g,l,e.getLine(l).length)},this.getCommentRegionBlock=function(e,t,a){for(var r=t.search(/\s*$/),o=e.getLength(),g=a,l=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,n=1;++ag)return new h(g,r,s,t.length)}}).call(f.prototype)});ace.define("ace/mode/alda",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/alda_highlight_rules","ace/mode/folding/cstyle"],function(i,d,k){"use strict";var m=i("../lib/oop"),h=i("./text").Mode,c=i("./alda_highlight_rules").AldaHighlightRules,f=i("./folding/cstyle").FoldMode,e=function(){this.HighlightRules=c,this.foldingRules=new f};m.inherits(e,h),(function(){this.$id="ace/mode/alda"}).call(e.prototype),d.Mode=e});(function(){ace.require(["ace/mode/alda"],function(i){typeof p=="object"&&typeof x=="object"&&p&&(p.exports=i)})})()});R();})();
//# sourceMappingURL=d4f1a314cb3668f8e17f24bccf0229b6.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy