Sha256: 7d000af859ba26129eca6264781a0247f276764400c00a5fe73d38baeab8a159

Contents?: true

Size: 1.47 KB

Versions: 50

Compression:

Stored size: 1.47 KB

Contents

ace.define("ace/mode/sql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="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",t="true|false|null",n="count|min|max|avg|sum|rank|now|coalesce",r=this.createKeywordMapper({"support.function":n,keyword:e,"constant.language":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:r,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()};r.inherits(s,i),t.SqlHighlightRules=s}),ace.define("ace/mode/sql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sql_highlight_rules","ace/range"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./sql_highlight_rules").SqlHighlightRules,o=e("../range").Range,u=function(){this.HighlightRules=s};r.inherits(u,i),function(){this.lineCommentStart="--",this.$id="ace/mode/sql"}.call(u.prototype),t.Mode=u})

Version data entries

50 entries across 50 versions & 3 rubygems

Version Path
railsblazer-2.0.0 app/assets/javascripts/blazer/ace/mode-sql.js
sql-jarvis-2.0.1 app/assets/javascripts/blazer/ace/mode-sql.js
sql-jarvis-1.9.9 app/assets/javascripts/blazer/ace/mode-sql.js
sql-jarvis-1.9.8 app/assets/javascripts/blazer/ace/mode-sql.js
sql-jarvis-1.9.7 app/assets/javascripts/blazer/ace/mode-sql.js
sql-jarvis-1.9.6 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.9.0 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.8.2 app/assets/javascripts/blazer/ace/mode-sql.js
sql-jarvis-1.8.0 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.8.0 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.7.10 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.7.9 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.7.8 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.7.7 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.7.6 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.7.5 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.7.4 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.7.3 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.7.2 app/assets/javascripts/blazer/ace/mode-sql.js
blazer-1.7.1 app/assets/javascripts/blazer/ace/mode-sql.js