Sha256: 1ef0abd38dff2bbf9b08fa746218147ec28f4118396cbff51ab07990b680ea46

Contents?: true

Size: 1.87 KB

Versions: 4

Compression:

Stored size: 1.87 KB

Contents

ace.define("ace/mode/sql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(r,e,m){"use strict";var o=r("../lib/oop");var T=r("./text_highlight_rules").TextHighlightRules;var S=function(){var k=("select|insert|update|delete|from|where|and|or|group|by|order|limit|offset|having|as|case|"+"when|else|end|type|left|right|join|on|outer|desc|asc|union|create|table|primary|key|if|"+"foreign|not|references|default|null|inner|cross|natural|database|drop|grant");var b=("true|false");var a=("avg|count|first|last|max|min|sum|ucase|lcase|mid|len|round|rank|now|format|"+"coalesce|ifnull|isnull|nvl");var d=("int|numeric|decimal|date|varchar|char|bigint|float|double|bit|binary|text|set|timestamp|"+"money|real|number|integer");var c=this.createKeywordMapper({"support.function":a,"keyword":k,"constant.language":b,"storage.type":d},"identifier",true);this.$rules={"start":[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"string",regex:"`.*?`"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:c,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]};this.normalizeRules();};o.inherits(S,T);e.SqlHighlightRules=S;});ace.define("ace/mode/sql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sql_highlight_rules"],function(r,e,m){"use strict";var o=r("../lib/oop");var T=r("./text").Mode;var S=r("./sql_highlight_rules").SqlHighlightRules;var M=function(){this.HighlightRules=S;this.$behaviour=this.$defaultBehaviour;};o.inherits(M,T);(function(){this.lineCommentStart="--";this.$id="ace/mode/sql";}).call(M.prototype);e.Mode=M;});

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fiveapples-0.0.7 lib/openui5-runtime-1.60.23/resources/sap/ui/codeeditor/js/ace/mode-sql.js
fiveapples-0.0.6 lib/openui5-runtime-1.60.23/resources/sap/ui/codeeditor/js/ace/mode-sql.js
fiveapples-0.0.5 lib/openui5-runtime-1.60.23/resources/sap/ui/codeeditor/js/ace/mode-sql.js
jekyll-openui5-0.1.0 assets/sap/ui/codeeditor/js/ace/mode-sql.js