All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.981bd23edacd811f9e4a583d89b544ee.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var d=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var f=d((x,g)=>{ace.define("ace/mode/gherkin_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,n,k){var s=e("../lib/oop"),h=e("./text_highlight_rules").TextHighlightRules,a=`\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})`,i=function(){var o=[{name:"en",labels:"Feature|Background|Scenario(?: Outline)?|Examples",keywords:"Given|When|Then|And|But"}],r=o.map(function(t){return t.labels}).join("|"),u=o.map(function(t){return t.keywords}).join("|");this.$rules={start:[{token:"constant.numeric",regex:"(?:(?:[1-9]\\d*)|(?:0))"},{token:"comment",regex:"#.*$"},{token:"keyword",regex:"(?:"+r+"):|(?:"+u+")\\b"},{token:"keyword",regex:"\\*"},{token:"string",regex:'"{3}',next:"qqstring3"},{token:"string",regex:'"',next:"qqstring"},{token:"text",regex:"^\\s*(?=@[\\w])",next:[{token:"text",regex:"\\s+"},{token:"variable.parameter",regex:"@[\\w]+"},{token:"empty",regex:"",next:"start"}]},{token:"comment",regex:"<[^>]+>"},{token:"comment",regex:"\\|(?=.)",next:"table-item"},{token:"comment",regex:"\\|$",next:"start"}],qqstring3:[{token:"constant.language.escape",regex:a},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:a},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],"table-item":[{token:"comment",regex:/$/,next:"start"},{token:"comment",regex:/\|/},{token:"string",regex:/\\./},{defaultToken:"string"}]},this.normalizeRules()};s.inherits(i,h),n.GherkinHighlightRules=i});ace.define("ace/mode/gherkin",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gherkin_highlight_rules"],function(e,n,k){var s=e("../lib/oop"),h=e("./text").Mode,a=e("./gherkin_highlight_rules").GherkinHighlightRules,i=function(){this.HighlightRules=a,this.$behaviour=this.$defaultBehaviour};s.inherits(i,h),function(){this.lineCommentStart="#",this.$id="ace/mode/gherkin",this.getNextLineIndent=function(o,r,u){var t=this.$getIndent(r),c="  ",m=this.getTokenizer().getLineTokens(r,o),l=m.tokens;return r.match("[ ]*\\|")&&(t+="| "),l.length&&l[l.length-1].type=="comment"||o=="start"&&(r.match("Scenario:|Feature:|Scenario Outline:|Background:")||r.match("(Given|Then).+(:)$|Examples:")?t+=c:r.match("\\*.+")&&(t+="* ")),t}}.call(i.prototype),n.Mode=i});(function(){ace.require(["ace/mode/gherkin"],function(e){typeof g=="object"&&typeof x=="object"&&g&&(g.exports=e)})})()});f();})();

//# sourceMappingURL=981bd23edacd811f9e4a583d89b544ee.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy