Sha256: 115405e50925336265cf1bd00bbab2525a0579b528489beb145982ce9a2fe629

Contents?: true

Size: 1.87 KB

Versions: 24

Compression:

Stored size: 1.87 KB

Contents

ace.define("ace/mode/scheme",["require","exports","module","ace/lib/oop","ace/mode/text","ace/tokenizer","ace/mode/scheme_highlight_rules"],function(e,t,n){var r=e("../lib/oop"),i=e("./text").Mode,s=e("../tokenizer").Tokenizer,o=e("./scheme_highlight_rules").SchemeHighlightRules,u=function(){this.HighlightRules=o};r.inherits(u,i),function(){this.lineCommentStart=";",this.$id="ace/mode/scheme"}.call(u.prototype),t.Mode=u}),ace.define("ace/mode/scheme_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="case|do|let|loop|if|else|when",t="eq?|eqv?|equal?|and|or|not|null?",n="#t|#f",r="cons|car|cdr|cond|lambda|lambda*|syntax-rules|format|set!|quote|eval|append|list|list?|member?|load",i=this.createKeywordMapper({"keyword.control":e,"keyword.operator":t,"constant.language":n,"support.function":r},"identifier",!0);this.$rules={start:[{token:"comment",regex:";.*$"},{token:["storage.type.function-type.scheme","text","entity.name.function.scheme"],regex:"(?:\\b(?:(define|define-syntax|define-macro))\\b)(\\s+)((?:\\w|\\-|\\!|\\?)*)"},{token:"punctuation.definition.constant.character.scheme",regex:"#:\\S+"},{token:["punctuation.definition.variable.scheme","variable.other.global.scheme","punctuation.definition.variable.scheme"],regex:"(\\*)(\\S*)(\\*)"},{token:"constant.numeric",regex:"#[xXoObB][0-9a-fA-F]+"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?"},{token:i,regex:"[a-zA-Z_#][a-zA-Z0-9_\\-\\?\\!\\*]*"},{token:"string",regex:'"(?=.)',next:"qqstring"}],qqstring:[{token:"constant.character.escape.scheme",regex:"\\\\."},{token:"string",regex:'[^"\\\\]+',merge:!0},{token:"string",regex:"\\\\$",next:"qqstring",merge:!0},{token:"string",regex:'"|$',next:"start",merge:!0}]}};r.inherits(s,i),t.SchemeHighlightRules=s})

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
smithycms-0.8.1 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.7.3 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.7.2 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.7.1 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.7.0 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.6.10 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.5.99.3 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.6.9 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.6.7 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.6.6 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.6.5 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.6.4 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.6.3 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.5.99.2 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.5.99.1 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.5.99 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.6.2 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.6.1 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.5.2 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js
smithycms-0.6.0 vendor/assets/javascripts/ace-1.1.3/mode-scheme.js