web-interface.assets.7222998c10fabd9c824cf8cf540b3b74.js Maven / Gradle / Ivy
(()=>{var b=(i,s)=>()=>(s||i((s={exports:{}}).exports,s),s.exports);var R=b((_,y)=>{ace.define("ace/mode/logiql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(i,s,L){"use strict";var p=i("../lib/oop"),v=i("./text_highlight_rules").TextHighlightRules,c=function(){this.$rules={start:[{token:"comment.block",regex:"/\\*",push:[{token:"comment.block",regex:"\\*/",next:"pop"},{defaultToken:"comment.block"}]},{token:"comment.single",regex:"//.*"},{token:"constant.numeric",regex:"\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?[fd]?"},{token:"string",regex:'"',push:[{token:"string",regex:'"',next:"pop"},{defaultToken:"string"}]},{token:"constant.language",regex:"\\b(true|false)\\b"},{token:"entity.name.type.logicblox",regex:"`[a-zA-Z_:]+(\\d|\\a)*\\b"},{token:"keyword.start",regex:"->",comment:"Constraint"},{token:"keyword.start",regex:"-->",comment:"Level 1 Constraint"},{token:"keyword.start",regex:"<-",comment:"Rule"},{token:"keyword.start",regex:"<--",comment:"Level 1 Rule"},{token:"keyword.end",regex:"\\.",comment:"Terminator"},{token:"keyword.other",regex:"!",comment:"Negation"},{token:"keyword.other",regex:",",comment:"Conjunction"},{token:"keyword.other",regex:";",comment:"Disjunction"},{token:"keyword.operator",regex:"<=|>=|!=|<|>",comment:"Equality"},{token:"keyword.other",regex:"@",comment:"Equality"},{token:"keyword.operator",regex:"\\+|-|\\*|/",comment:"Arithmetic operations"},{token:"keyword",regex:"::",comment:"Colon colon"},{token:"support.function",regex:"\\b(agg\\s*<<)",push:[{include:"$self"},{token:"support.function",regex:">>",next:"pop"}]},{token:"storage.modifier",regex:"\\b(lang:[\\w:]*)"},{token:["storage.type","text"],regex:"(export|sealed|clauses|block|alias|alias_all)(\\s*\\()(?=`)"},{token:"entity.name",regex:"[a-zA-Z_][a-zA-Z_0-9:]*(@prev|@init|@final)?(?=(\\(|\\[))"},{token:"variable.parameter",regex:"([a-zA-Z][a-zA-Z_0-9]*|_)\\s*(?=(,|\\.|<-|->|\\)|\\]|=))"}]},this.normalizeRules()};p.inherits(c,v),s.LogiQLHighlightRules=c});ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(i,s,L){"use strict";var p=i("../../lib/oop"),v=i("./fold_mode").FoldMode,c=i("../../range").Range,f=s.FoldMode=function(){};p.inherits(f,v),function(){this.commentBlock=function(e,d){var o=/\S/,t=e.getLine(d),r=t.search(o);if(!(r==-1||t[r]!="#")){for(var l=t.length,n=e.getLength(),a=d,g=d;++da){var k=e.getLine(g).length;return new c(a,l,g,k)}}},this.getFoldWidgetRange=function(e,d,o){var t=this.indentationBlock(e,o);if(t||(t=this.commentBlock(e,o),t))return t},this.getFoldWidget=function(e,d,o){var t=e.getLine(o),r=t.search(/\S/),l=e.getLine(o+1),n=e.getLine(o-1),a=n.search(/\S/),g=l.search(/\S/);if(r==-1)return e.foldWidgets[o-1]=a!=-1&&a|<--|<-|->|{)\s*$/.test(l)&&(a+=n),a},this.checkOutdent=function(r,l,n){return this.$outdent.checkOutdent(l,n)?!0:!(n!==`
`&&n!==`\r
`||!/^\s+/.test(l))},this.autoOutdent=function(r,l,n){if(!this.$outdent.autoOutdent(l,n)){var a=l.getLine(n),g=a.match(/^\s+/),u=a.lastIndexOf(".")+1;if(!g||!n||!u)return 0;var k=l.getLine(n+1),h=this.getMatching(l,{row:n,column:u});if(!h||h.start.row==n)return 0;u=g[0].length;var x=this.$getIndent(l.getLine(h.start.row));l.replace(new d(n+1,0,n+1,u),x)}},this.getMatching=function(r,m,n){m==null&&(m=r.selection.lead),typeof m=="object"&&(n=m.column,m=m.row);var a=r.getTokenAt(m,n),g="keyword.start",u="keyword.end",k;if(a){if(a.type==g){var h=new e(r,m,n);h.step=h.stepForward}else if(a.type==u){var h=new e(r,m,n);h.step=h.stepBackward}else return;for(;(k=h.step())&&!(k.type==g||k.type==u););if(!(!k||k.type==a.type)){var x=h.getCurrentTokenColumn(),m=h.getCurrentTokenRow();return new d(m,x,m,x+k.value.length)}}},this.$id="ace/mode/logiql"}.call(t.prototype),s.Mode=t});(function(){ace.require(["ace/mode/logiql"],function(i){typeof y=="object"&&typeof _=="object"&&y&&(y.exports=i)})})()});R();})();
//# sourceMappingURL=7222998c10fabd9c824cf8cf540b3b74.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy