|
|
@ -63,12 +63,12 @@ var JavaScriptHighlightRules = function(options) { |
|
|
|
"variable.language": |
|
|
|
"variable.language": |
|
|
|
"this|bool|address|" + intTypes, |
|
|
|
"this|bool|address|" + intTypes, |
|
|
|
"keyword": |
|
|
|
"keyword": |
|
|
|
"contract|const|" + |
|
|
|
"contract|constant|" + |
|
|
|
"struct|mapping|break|continue|delete|else|for|function|" + |
|
|
|
"struct|mapping|break|continue|delete|else|for|function|" + |
|
|
|
"if|new|return|returns|var|while|" + |
|
|
|
"if|new|return|returns|var|while|" + |
|
|
|
"private|public", |
|
|
|
"private|public", |
|
|
|
"storage.type": |
|
|
|
"storage.type": |
|
|
|
"const|var|function", |
|
|
|
"constant|var|function", |
|
|
|
"constant.language.boolean": "true|false" |
|
|
|
"constant.language.boolean": "true|false" |
|
|
|
}, "identifier"); |
|
|
|
}, "identifier"); |
|
|
|
var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void"; |
|
|
|
var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void"; |
|
|
|