You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2013/10/30 14:43:20 UTC
[26/52] [partial] Remove unneeded ace files and codemirror
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_mushcode.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_mushcode.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_mushcode.json
deleted file mode 100644
index 9f8e7cc..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_mushcode.json
+++ /dev/null
@@ -1,790 +0,0 @@
-[[
- "start",
- ["text","@"],
- ["support.function","create"],
- ["text"," "],
- ["identifier","phone"]
-],[
- "start",
- ["text","&"],
- ["identifier","pickup"],
- ["text"," "],
- ["identifier","phone"],
- ["keyword.operator","="],
- ["identifier","$pick"],
- ["text"," "],
- ["identifier","up"],
- ["text",":@"],
- ["support.function","ifelse"],
- ["text"," "],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","is"],
- ["text",","],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","mode"],
- ["paren.rparen",")"],
- ["text",","],
- ["identifier","ICC"],
- ["paren.rparen",")]"],
- ["keyword.operator","="],
- ["paren.lparen","{"],
- ["text","@"],
- ["support.function","pemit"],
- ["text"," "],
- ["keyword.operator","%#="],
- ["identifier","You"],
- ["text"," "],
- ["support.function","pick"],
- ["text"," "],
- ["identifier","up"],
- ["text"," "],
- ["identifier","the"],
- ["text"," "],
- ["paren.lparen","["],
- ["support.function","fullname"],
- ["paren.lparen","("],
- ["identifier","me"],
- ["paren.rparen",")]"],
- ["text","."],
- ["paren.lparen","["],
- ["support.function","set"],
- ["paren.lparen","("],
- ["identifier","me"],
- ["text",","],
- ["identifier","PHONER"],
- ["text",":"],
- ["keyword.operator","%#"],
- ["paren.rparen",")]"],
- ["paren.lparen","["],
- ["support.function","set"],
- ["paren.lparen","("],
- ["identifier","me"],
- ["text",","],
- ["identifier","MODE"],
- ["text",":"],
- ["identifier","CIP"],
- ["paren.rparen",")]"],
- ["paren.lparen","["],
- ["support.function","set"],
- ["paren.lparen","(["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","INCOMING"],
- ["paren.rparen",")]"],
- ["text",","],
- ["identifier","CONNECTED"],
- ["text",":"],
- ["paren.lparen","["],
- ["support.function","num"],
- ["paren.lparen","("],
- ["identifier","me"],
- ["paren.rparen",")])]"],
- ["paren.lparen","["],
- ["support.function","set"],
- ["paren.lparen","("],
- ["identifier","me"],
- ["text",","],
- ["identifier","CONNECTED"],
- ["text",":"],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","INCOMING"],
- ["paren.rparen",")])]"],
- ["variable","%r"],
- ["paren.lparen","["],
- ["support.function","showpicture"],
- ["paren.lparen","("],
- ["identifier","PICPICKUP"],
- ["paren.rparen",")]"],
- ["variable","%r"],
- ["identifier","Use"],
- ["text"," '"],
- ["paren.lparen","["],
- ["identifier","color"],
- ["paren.lparen","("],
- ["identifier","green"],
- ["text",","],
- ["identifier","black"],
- ["text",","],
- ["identifier","psay"],
- ["text"," "],
- ["keyword.operator","<"],
- ["identifier","message"],
- ["keyword.operator",">"],
- ["paren.rparen",")]"],
- ["text","' "],
- ["paren.lparen","("],
- ["support.function","or"],
- ["text"," '"],
- ["paren.lparen","["],
- ["identifier","color"],
- ["paren.lparen","("],
- ["identifier","green"],
- ["text",","],
- ["identifier","black"],
- ["text",","],
- ["identifier","p"],
- ["text"," "],
- ["keyword.operator","<"],
- ["identifier","message"],
- ["keyword.operator",">"],
- ["paren.rparen",")]"],
- ["text","'"],
- ["paren.rparen",")"],
- ["text"," "],
- ["identifier","to"],
- ["text"," "],
- ["identifier","talk"],
- ["text"," "],
- ["identifier","into"],
- ["text"," "],
- ["identifier","the"],
- ["text"," "],
- ["identifier","phone"],
- ["text",".;@"],
- ["support.function","oemit"],
- ["text"," "],
- ["keyword.operator","%#="],
- ["variable","%N"],
- ["text"," "],
- ["identifier","picks"],
- ["text"," "],
- ["identifier","up"],
- ["text"," "],
- ["identifier","the"],
- ["text"," "],
- ["paren.lparen","["],
- ["support.function","fullname"],
- ["paren.lparen","("],
- ["identifier","me"],
- ["paren.rparen",")]"],
- ["text","."],
- ["paren.rparen","}"],
- ["text",","],
- ["paren.lparen","{"],
- ["text","@"],
- ["support.function","pemit"],
- ["text"," "],
- ["keyword.operator","%#="],
- ["identifier","You"],
- ["text"," "],
- ["support.function","pick"],
- ["text"," "],
- ["identifier","up"],
- ["text"," "],
- ["identifier","the"],
- ["text"," "],
- ["identifier","phone"],
- ["text"," "],
- ["identifier","but"],
- ["text"," "],
- ["identifier","no"],
- ["text"," "],
- ["identifier","one"],
- ["text"," "],
- ["identifier","is"],
- ["text"," "],
- ["identifier","there"],
- ["text",". "],
- ["identifier","You"],
- ["text"," "],
- ["identifier","hear"],
- ["text"," "],
- ["identifier","a"],
- ["text"," "],
- ["identifier","dialtone"],
- ["text"," "],
- ["support.function","and"],
- ["text"," "],
- ["identifier","then"],
- ["text"," "],
- ["identifier","hang"],
- ["text"," "],
- ["identifier","up"],
- ["text",". "],
- ["paren.lparen","["],
- ["support.function","play"],
- ["paren.lparen","("],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","DIALTONE"],
- ["paren.rparen","))]"],
- ["text",";@"],
- ["support.function","oemit"],
- ["text"," "],
- ["keyword.operator","%#="],
- ["variable","%N"],
- ["text"," "],
- ["identifier","picks"],
- ["text"," "],
- ["identifier","up"],
- ["text"," "],
- ["identifier","the"],
- ["text"," "],
- ["identifier","phone"],
- ["text",", "],
- ["identifier","but"],
- ["text"," "],
- ["identifier","no"],
- ["text"," "],
- ["identifier","one"],
- ["text"," "],
- ["identifier","is"],
- ["text"," "],
- ["identifier","on"],
- ["text"," "],
- ["identifier","the"],
- ["text"," "],
- ["identifier","other"],
- ["text"," "],
- ["identifier","end"],
- ["text","."],
- ["paren.rparen","}"]
-],[
- "start",
- ["text","&"],
- ["identifier","ringfun"],
- ["text"," "],
- ["identifier","phone"],
- ["keyword.operator","="],
- ["paren.lparen","["],
- ["support.function","ifelse"],
- ["paren.lparen","("],
- ["support.function","eq"],
- ["paren.lparen","("],
- ["support.function","comp"],
- ["paren.lparen","(["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","ringtone"],
- ["paren.rparen",")]"],
- ["text",","],
- ["identifier","off"],
- ["paren.rparen",")"],
- ["text",","],
- ["constant.numeric","0"],
- ["paren.rparen",")"],
- ["text",","],
- ["paren.lparen","["],
- ["identifier","color"],
- ["paren.lparen","("],
- ["identifier","black"],
- ["text",","],
- ["identifier","cyan"],
- ["text",","],
- ["identifier","INCOMING"],
- ["text"," "],
- ["identifier","CALL"],
- ["text"," "],
- ["identifier","FROM"],
- ["text"," "],
- ["variable","%1"],
- ["paren.rparen",")]"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","play"],
- ["paren.lparen","(["],
- ["support.function","switch"],
- ["paren.lparen","(["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","ringtone"],
- ["paren.rparen",")]"],
- ["text",","],
- ["constant.numeric","1"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","ringtone1"],
- ["paren.rparen",")]"],
- ["text",","],
- ["constant.numeric","2"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","ringtone2"],
- ["paren.rparen",")]"],
- ["text",","],
- ["constant.numeric","3"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","ringtone3"],
- ["paren.rparen",")]"],
- ["text",","],
- ["constant.numeric","4"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","ringtone4"],
- ["paren.rparen",")]"],
- ["text",","],
- ["constant.numeric","5"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","ringtone5"],
- ["paren.rparen",")]"],
- ["text",","],
- ["constant.numeric","6"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","ringtone6"],
- ["paren.rparen",")]"],
- ["text",","],
- ["constant.numeric","7"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","ringtone7"],
- ["paren.rparen",")]"],
- ["text",","],
- ["constant.numeric","8"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","ringtone8"],
- ["paren.rparen",")]"],
- ["text",","],
- ["constant.numeric","9"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","ringtone9"],
- ["paren.rparen",")]"],
- ["text",","],
- ["identifier","custom"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","customtone"],
- ["paren.rparen",")]"],
- ["text",","],
- ["identifier","vibrate"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%0"],
- ["keyword.operator","/"],
- ["identifier","vibrate"],
- ["paren.rparen",")])])]"]
-],[
- "start",
- ["text","&"],
- ["identifier","ringloop"],
- ["text"," "],
- ["identifier","phone"],
- ["keyword.operator","="],
- ["text","@"],
- ["support.function","switch"],
- ["text"," "],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","ringstate"],
- ["paren.rparen",")]"],
- ["keyword.operator","="],
- ["constant.numeric","1"],
- ["text",","],
- ["paren.lparen","{"],
- ["text","@"],
- ["support.function","emit"],
- ["text"," "],
- ["paren.lparen","["],
- ["support.function","setq"],
- ["paren.lparen","("],
- ["identifier","q"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","connecting"],
- ["paren.rparen",")])]"],
- ["paren.lparen","["],
- ["support.function","set"],
- ["paren.lparen","("],
- ["variable","%qq"],
- ["text",","],
- ["identifier","rangs"],
- ["text",":"],
- ["constant.numeric","0"],
- ["paren.rparen",")]"],
- ["paren.lparen","["],
- ["support.function","set"],
- ["paren.lparen","("],
- ["variable","%qq"],
- ["text",","],
- ["identifier","mode"],
- ["text",":"],
- ["identifier","WFC"],
- ["paren.rparen",")]"],
- ["paren.lparen","["],
- ["support.function","set"],
- ["paren.lparen","("],
- ["variable","%qq"],
- ["text",","],
- ["identifier","INCOMING"],
- ["text",":"],
- ["paren.rparen",")]"],
- ["text",";@"],
- ["support.function","ifelse"],
- ["text"," "],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%qq"],
- ["keyword.operator","/"],
- ["identifier","HASVMB"],
- ["paren.rparen",")]"],
- ["keyword.operator","="],
- ["paren.lparen","{"],
- ["text","@"],
- ["support.function","tr"],
- ["text"," "],
- ["identifier","me"],
- ["keyword.operator","/"],
- ["identifier","ROUTEVMB"],
- ["keyword.operator","="],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","connecting"],
- ["paren.rparen",")]"],
- ["text",";"],
- ["paren.rparen","}"],
- ["text",","],
- ["paren.lparen","{"],
- ["text","@"],
- ["support.function","pemit"],
- ["text"," "],
- ["keyword.operator","%#="],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","MSGCNC"],
- ["paren.rparen",")]"],
- ["text",";"],
- ["paren.rparen","}}"],
- ["text",","],
- ["constant.numeric","2"],
- ["text",","],
- ["paren.lparen","{"],
- ["text","@"],
- ["support.function","pemit"],
- ["text"," "],
- ["keyword.operator","%#="],
- ["identifier","The"],
- ["text"," "],
- ["identifier","call"],
- ["text"," "],
- ["identifier","is"],
- ["text"," "],
- ["identifier","connected"],
- ["text","."],
- ["paren.lparen","["],
- ["support.function","setq"],
- ["paren.lparen","("],
- ["identifier","q"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","CONNECTING"],
- ["paren.rparen",")])]"],
- ["paren.lparen","["],
- ["support.function","set"],
- ["paren.lparen","("],
- ["identifier","me"],
- ["text",","],
- ["identifier","CONNECTED"],
- ["text",":"],
- ["variable","%qq"],
- ["paren.rparen",")]"],
- ["paren.lparen","["],
- ["support.function","set"],
- ["paren.lparen","("],
- ["variable","%qq"],
- ["text",","],
- ["identifier","CONNECTED"],
- ["text",":"],
- ["paren.lparen","["],
- ["support.function","num"],
- ["paren.lparen","("],
- ["identifier","me"],
- ["paren.rparen",")])]"],
- ["paren.lparen","["],
- ["support.function","set"],
- ["paren.lparen","("],
- ["variable","%qq"],
- ["text",","],
- ["identifier","MODE"],
- ["text",":"],
- ["identifier","CIP"],
- ["paren.rparen",")]"],
- ["text",";@"],
- ["support.function","tr"],
- ["text"," "],
- ["identifier","me"],
- ["keyword.operator","/"],
- ["identifier","ciploop"],
- ["text",";@"],
- ["support.function","tr"],
- ["text"," "],
- ["variable","%qq"],
- ["keyword.operator","/"],
- ["identifier","ciploop"],
- ["text",";"],
- ["paren.rparen","}"],
- ["text",","],
- ["constant.numeric","3"],
- ["text",","],
- ["paren.lparen","{"],
- ["text","@"],
- ["support.function","emit"],
- ["text"," "],
- ["identifier","On"],
- ["text"," "],
- ["paren.lparen","["],
- ["support.function","fullname"],
- ["paren.lparen","("],
- ["identifier","me"],
- ["paren.rparen",")]"],
- ["text","'"],
- ["support.function","s"],
- ["text"," "],
- ["identifier","earpiece"],
- ["text"," "],
- ["identifier","you"],
- ["text"," "],
- ["identifier","hear"],
- ["text"," "],
- ["identifier","a"],
- ["text"," "],
- ["identifier","ringing"],
- ["text"," "],
- ["identifier","sound"],
- ["text","."],
- ["paren.lparen","["],
- ["support.function","play"],
- ["paren.lparen","("],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","LINETONE"],
- ["paren.rparen","))]"],
- ["text",";@"],
- ["support.function","tr"],
- ["text"," "],
- ["identifier","me"],
- ["keyword.operator","/"],
- ["identifier","ringhere"],
- ["text",";@"],
- ["identifier","increment"],
- ["text"," "],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","connecting"],
- ["paren.rparen",")]"],
- ["keyword.operator","/"],
- ["identifier","RANGS"],
- ["text",";@"],
- ["identifier","wait"],
- ["text"," "],
- ["constant.numeric","5"],
- ["keyword.operator","="],
- ["paren.lparen","{"],
- ["text","@"],
- ["support.function","tr"],
- ["text"," "],
- ["identifier","me"],
- ["keyword.operator","/"],
- ["identifier","ringloop"],
- ["paren.rparen","}"],
- ["text",";"],
- ["paren.rparen","}"],
- ["text",","],
- ["constant.numeric","4"],
- ["text",","],
- ["paren.lparen","{"],
- ["paren.rparen","}"]
-],[
- "start",
- ["text","&"],
- ["identifier","ringstate"],
- ["text"," "],
- ["identifier","phone"],
- ["keyword.operator","="],
- ["paren.lparen","["],
- ["support.function","setq"],
- ["paren.lparen","("],
- ["identifier","q"],
- ["text",","],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","connecting"],
- ["paren.rparen","))]"],
- ["paren.lparen","["],
- ["support.function","setq"],
- ["paren.lparen","("],
- ["constant.numeric","1"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","gt"],
- ["paren.lparen","("],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%qq"],
- ["keyword.operator","/"],
- ["identifier","rangs"],
- ["paren.rparen",")"],
- ["text",","],
- ["support.function","sub"],
- ["paren.lparen","("],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%qq"],
- ["keyword.operator","/"],
- ["identifier","rings"],
- ["paren.rparen",")"],
- ["text",","],
- ["constant.numeric","1"],
- ["paren.rparen","))])]"],
- ["paren.lparen","["],
- ["support.function","setq"],
- ["paren.lparen","("],
- ["constant.numeric","2"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","and"],
- ["paren.lparen","("],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","is"],
- ["text",","],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%qq"],
- ["keyword.operator","/"],
- ["identifier","MODE"],
- ["paren.rparen",")"],
- ["text",","],
- ["identifier","CIP"],
- ["paren.rparen",")"],
- ["text",","],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","is"],
- ["text",","],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%qq"],
- ["keyword.operator","/"],
- ["identifier","INCOMING"],
- ["paren.rparen",")"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","num"],
- ["paren.lparen","("],
- ["identifier","me"],
- ["paren.rparen",")]))]"],
- ["paren.lparen","["],
- ["support.function","setq"],
- ["paren.lparen","("],
- ["constant.numeric","3"],
- ["text",","],
- ["paren.lparen","["],
- ["support.function","u"],
- ["paren.lparen","("],
- ["identifier","is"],
- ["text",","],
- ["support.function","u"],
- ["paren.lparen","("],
- ["variable","%qq"],
- ["keyword.operator","/"],
- ["identifier","MODE"],
- ["paren.rparen",")"],
- ["text",","],
- ["identifier","ICC"],
- ["paren.rparen",")])]"],
- ["paren.lparen","["],
- ["support.function","ifelse"],
- ["paren.lparen","("],
- ["variable","%q1"],
- ["text",","],
- ["constant.numeric","1"],
- ["text",","],
- ["support.function","ifelse"],
- ["paren.lparen","("],
- ["variable","%q2"],
- ["text",","],
- ["constant.numeric","2"],
- ["text",","],
- ["support.function","ifelse"],
- ["paren.lparen","("],
- ["variable","%q3"],
- ["text",","],
- ["constant.numeric","3"],
- ["text",","],
- ["constant.numeric","4"],
- ["paren.rparen",")))]"]
-],[
- "start",
- ["text",";"],
- ["identifier","comment"]
-],[
- "start",
- ["text","@@"],
- ["paren.lparen","("],
- ["identifier","comment"],
- ["paren.rparen",")"]
-],[
- "start",
- ["keyword","say"],
- ["text"," "],
- ["paren.lparen","["],
- ["support.function","time"],
- ["paren.lparen","("],
- ["paren.rparen",")]"]
-],[
- "start"
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_objectivec.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_objectivec.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_objectivec.json
deleted file mode 100644
index c6582d2..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_objectivec.json
+++ /dev/null
@@ -1,792 +0,0 @@
-[[
- "start",
- ["storage.type.objc","@"],
- ["punctuation.definition.storage.type.objc","protocol"],
- ["entity.name.type.objc"," Printing"],
- ["text",": "],
- ["entity.other.inherited-class.objc","someParent"]
-],[
- "start",
- ["meta.function.objc","-"],
- ["paren.lparen","("],
- ["storage.type","void"],
- ["paren.rparen",")"],
- ["text"," "],
- ["identifier","print"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["storage.type.objc","@end"]
-],[
- "start"
-],[
- "start",
- ["storage.type.objc","@"],
- ["punctuation.definition.storage.type.objc","interface"],
- ["entity.name.type.objc"," Fraction"],
- ["text",": "],
- ["entity.other.inherited-class.objc","NSObject"],
- ["text"," "],
- ["keyword.operator","<"],
- ["identifier","Printing"],
- ["punctuation.operator",","],
- ["text"," "],
- ["support.class.cocoa","NSCopying"],
- ["keyword.operator",">"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," "],
- ["storage.type","int"],
- ["text"," "],
- ["identifier","numerator"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["text"," "],
- ["storage.type","int"],
- ["text"," "],
- ["identifier","denominator"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["paren.rparen","}"]
-],[
- "start",
- ["storage.type.objc","@end"]
-],[
- "start"
-],[
- "start",
- ["string.begin.objc","@\""],
- ["string","blah"],
- ["invalid.illegal.unknown-escape.objc","\\8"],
- ["punctuation.definition.string.end","\""],
- ["text"," "],
- ["string.begin.objc","@\""],
- ["string","a"],
- ["constant.character.escape.objc","\\222"],
- ["string","sd"],
- ["invalid.illegal.unknown-escape.objc","\\d"],
- ["punctuation.definition.string.end","\""],
- ["text"," "],
- ["string.begin.objc","@\""],
- ["constant.character.escape.objc","\\f"],
- ["string","aw"],
- ["constant.character.escape.objc","\\\"\\?"],
- ["string"," "],
- ["constant.character.escape.objc","\\'"],
- ["string"," "],
- ["constant.character.escape.objc","\\4"],
- ["string"," n"],
- ["constant.character.escape.objc","\\\\"],
- ["punctuation.definition.string.end","\""],
- ["text"," "],
- ["string.begin.objc","@\""],
- ["constant.character.escape.objc","\\56"],
- ["punctuation.definition.string.end","\""]
-],[
- "start",
- ["string.begin.objc","@\""],
- ["constant.character.escape.objc","\\xSF42"],
- ["punctuation.definition.string.end","\""]
-],[
- "start"
-],[
- "start",
- ["meta.function.objc","-"],
- ["paren.lparen","("],
- ["support.class.cocoa","NSDecimalNumber"],
- ["keyword.operator","*"],
- ["paren.rparen",")"],
- ["identifier","addCount"],
- ["punctuation.operator",":"],
- ["paren.lparen","("],
- ["storage.type.id.objc","id"],
- ["paren.rparen",")"],
- ["identifier","addObject"],
- ["paren.lparen","{"]
-],[
- "start"
-],[
- "start",
- ["keyword.control","return"],
- ["text"," "],
- ["punctuation.section.scope.begin.objc","["],
- ["identifier","count"],
- ["text"," "],
- ["support.function.any-method.objc","decimalNumberByAdding:"],
- ["identifier","addObject"],
- ["punctuation.operator","."],
- ["identifier","count"],
- ["paren.rparen","]"],
- ["punctuation.operator",";"]
-],[
- "start"
-],[
- "start",
- ["paren.rparen","}"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["keyword.control.macro.objc","NS_DURING"],
- ["text"," "],
- ["keyword.control.macro.objc","NS_HANDLER"],
- ["text"," "],
- ["keyword.control.macro.objc","NS_ENDHANDLER"]
-],[
- "start"
-],[
- "start",
- ["punctuation.definition.keyword.objc","@"],
- ["keyword.control.exception.objc","try"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," "],
- ["keyword.control","if"],
- ["text"," "],
- ["paren.lparen","("],
- ["identifier","argc"],
- ["text"," "],
- ["keyword.operator",">"],
- ["text"," "],
- ["constant.numeric","1"],
- ["paren.rparen",")"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," "],
- ["punctuation.definition.keyword.objc","@"],
- ["keyword.control.exception.objc","throw"],
- ["text"," "],
- ["punctuation.section.scope.begin.objc","["],
- ["support.class.cocoa","NSException"],
- ["text"," "],
- ["support.function.any-method.objc","exceptionWithName:"],
- ["string.begin.objc","@\""],
- ["string","Throwing a test exception"],
- ["punctuation.definition.string.end","\""],
- ["text"," "],
- ["identifier","reason"],
- ["punctuation.operator",":"],
- ["string.begin.objc","@\""],
- ["string","Testing the @throw directive."],
- ["punctuation.definition.string.end","\""],
- ["text"," "],
- ["identifier","userInfo"],
- ["punctuation.operator",":"],
- ["constant.language.objc","nil"],
- ["paren.rparen","]"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["text"," "],
- ["paren.rparen","}"]
-],[
- "start",
- ["paren.rparen","}"],
- ["text"," "]
-],[
- "start",
- ["punctuation.definition.keyword.objc","@"],
- ["keyword.control.exception.objc","catch"],
- ["text"," "],
- ["paren.lparen","("],
- ["storage.type.id.objc","id"],
- ["text"," "],
- ["identifier","theException"],
- ["paren.rparen",")"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," "],
- ["support.function.cocoa","NSLog"],
- ["paren.lparen","("],
- ["string.begin.objc","@\""],
- ["string","%@"],
- ["punctuation.definition.string.end","\""],
- ["punctuation.operator",","],
- ["text"," "],
- ["identifier","theException"],
- ["paren.rparen",")"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["text"," "],
- ["identifier","result"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["constant.numeric","1"],
- ["text"," "],
- ["punctuation.operator",";"]
-],[
- "start",
- ["paren.rparen","}"],
- ["text"," "]
-],[
- "start",
- ["punctuation.definition.keyword.objc","@"],
- ["keyword.control.exception.objc","finally"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," "],
- ["support.function.cocoa","NSLog"],
- ["paren.lparen","("],
- ["string.begin.objc","@\""],
- ["string","This always happens."],
- ["punctuation.definition.string.end","\""],
- ["paren.rparen",")"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["text"," "],
- ["identifier","result"],
- ["text"," "],
- ["keyword.operator","+="],
- ["text"," "],
- ["constant.numeric","2"],
- ["text"," "],
- ["punctuation.operator",";"]
-],[
- "start",
- ["paren.rparen","}"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["punctuation.definition.storage.modifier.objc","@"],
- ["storage.modifier.objc","synchronized"],
- ["paren.lparen","("],
- ["identifier","lock"],
- ["paren.rparen",")"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," "],
- ["support.function.cocoa","NSLog"],
- ["paren.lparen","("],
- ["string.begin.objc","@\""],
- ["string","Hello World"],
- ["punctuation.definition.string.end","\""],
- ["paren.rparen",")"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["text"," "],
- ["paren.rparen","}"]
-],[
- "start"
-],[
- "start",
- ["storage.type","struct"],
- ["text"," "],
- ["paren.lparen","{"],
- ["text"," "],
- ["punctuation.definition.keyword.objc","@"],
- ["keyword.other.objc","defs"],
- ["paren.lparen","("],
- ["text"," "],
- ["support.class.cocoa","NSObject"],
- ["paren.rparen",")"],
- ["text"," "],
- ["paren.rparen","}"]
-],[
- "start"
-],[
- "start",
- ["storage.type","char"],
- ["text"," "],
- ["keyword.operator","*"],
- ["identifier","enc1"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["punctuation.definition.keyword.objc","@"],
- ["keyword.other.objc","encode"],
- ["paren.lparen","("],
- ["storage.type","int"],
- ["paren.rparen",")"],
- ["punctuation.operator",";"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["storage.type.objc","IBOutlet"],
- ["text","|"],
- ["storage.type.objc","IBAction"],
- ["text","|"],
- ["storage.type.objc","BOOL"],
- ["text","|"],
- ["storage.type.objc","SEL"],
- ["text","|"],
- ["storage.type.id.objc","id"],
- ["text","|"],
- ["storage.type.objc","unichar"],
- ["text","|"],
- ["storage.type.objc","IMP"],
- ["text","|"],
- ["storage.type.objc","Class"],
- ["text"," "]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["punctuation.definition.storage.type.objc","@"],
- ["storage.type.objc","class"],
- ["text"," "],
- ["punctuation.definition.storage.type.objc","@"],
- ["storage.type.objc","protocol"]
-],[
- "start"
-],[
- "start",
- ["punctuation.definition.storage.modifier.objc","@"],
- ["storage.modifier.objc","public"]
-],[
- "start",
- ["text"," "],
- ["comment","// instance variables"]
-],[
- "start",
- ["punctuation.definition.storage.modifier.objc","@"],
- ["storage.modifier.objc","package"]
-],[
- "start",
- ["text"," "],
- ["comment","// instance variables"]
-],[
- "start",
- ["punctuation.definition.storage.modifier.objc","@"],
- ["storage.modifier.objc","protected"]
-],[
- "start",
- ["text"," "],
- ["comment","// instance variables"]
-],[
- "start",
- ["punctuation.definition.storage.modifier.objc","@"],
- ["storage.modifier.objc","private"]
-],[
- "start",
- ["text"," "],
- ["comment","// instance variables"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["constant.language.objc","YES"],
- ["text"," "],
- ["constant.language.objc","NO"],
- ["text"," "],
- ["constant.language.objc","Nil"],
- ["text"," "],
- ["constant.language.objc","nil"]
-],[
- "start",
- ["support.variable.foundation","NSApp"],
- ["paren.lparen","("],
- ["paren.rparen",")"]
-],[
- "start",
- ["support.function.cocoa.leopard","NSRectToCGRect"],
- ["text"," "],
- ["paren.lparen","("],
- ["identifier","Protocol"],
- ["text"," "],
- ["identifier","ProtocolFromString"],
- ["punctuation.operator",":"],
- ["string","\"NSTableViewDelegate\""],
- ["paren.rparen","))"]
-],[
- "start"
-],[
- "start",
- ["punctuation.section.scope.begin.objc","["],
- ["identifier","SPPoint"],
- ["text"," "],
- ["support.function.any-method.objc","pointFromCGPoint:"],
- ["identifier","self"],
- ["punctuation.operator","."],
- ["identifier","position"],
- ["paren.rparen","]"]
-],[
- "start"
-],[
- "start",
- ["support.function.cocoa","NSRoundDownToMultipleOfPageSize"]
-],[
- "start"
-],[
- "start",
- ["keyword","#import"],
- ["constant.other"," <stdio.h>"]
-],[
- "start"
-],[
- "start",
- ["storage.type","int"],
- ["text"," "],
- ["identifier","main"],
- ["paren.lparen","("],
- ["text"," "],
- ["storage.type","int"],
- ["text"," "],
- ["identifier","argc"],
- ["punctuation.operator",","],
- ["text"," "],
- ["storage.modifier","const"],
- ["text"," "],
- ["storage.type","char"],
- ["text"," "],
- ["keyword.operator","*"],
- ["identifier","argv"],
- ["punctuation.section.scope.begin.objc","["],
- ["punctuation.section.scope.end.objc","]"],
- ["text"," "],
- ["paren.rparen",")"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," "],
- ["support.function.C99.c","printf"],
- ["paren.lparen","("],
- ["text"," "],
- ["string","\"hello world\\n\""],
- ["text"," "],
- ["paren.rparen",")"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["text"," "],
- ["keyword.control","return"],
- ["text"," "],
- ["constant.numeric","0"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["paren.rparen","}"]
-],[
- "start"
-],[
- "start",
- ["support.class.cocoa","NSChangeSpelling"]
-],[
- "start"
-],[
- "start",
- ["string.begin.objc","@\""],
- ["string","0 != SUBQUERY(image, $x, 0 != SUBQUERY($x.bookmarkItems, $y, $y.@count == 0).@count).@count"],
- ["punctuation.definition.string.end","\""]
-],[
- "start"
-],[
- "start",
- ["punctuation.definition.storage.type.objc","@selector"],
- ["punctuation","("],
- ["support.function.any-method.name-of-parameter.objc","lowercaseString"],
- ["punctuation",")"],
- ["text"," "],
- ["punctuation.definition.storage.type.objc","@selector"],
- ["punctuation","("],
- ["support.function.any-method.name-of-parameter.objc","uppercaseString:"],
- ["punctuation",")"]
-],[
- "start"
-],[
- "start",
- ["identifier","NSFetchRequest"],
- ["text"," "],
- ["keyword.operator","*"],
- ["identifier","localRequest"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["punctuation.section.scope.begin.objc","[["],
- ["identifier","NSFetchRequest"],
- ["text"," "],
- ["support.function.any-method.objc","alloc"],
- ["paren.rparen","]"],
- ["text"," "],
- ["identifier","init"],
- ["paren.rparen","]"],
- ["punctuation.operator",";"],
- ["text"," "]
-],[
- "start",
- ["identifier","localRequest"],
- ["punctuation.operator","."],
- ["identifier","entity"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["punctuation.section.scope.begin.objc","["],
- ["identifier","NSEntityDescription"],
- ["text"," "],
- ["support.function.any-method.objc","entityForName:"],
- ["string.begin.objc","@\""],
- ["string","VNSource"],
- ["punctuation.definition.string.end","\""],
- ["text"," "],
- ["identifier","inManagedObjectContext"],
- ["punctuation.operator",":"],
- ["identifier","context"],
- ["paren.rparen","]"],
- ["punctuation.operator",";"],
- ["text"," "]
-],[
- "start",
- ["identifier","localRequest"],
- ["punctuation.operator","."],
- ["identifier","sortDescriptors"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["punctuation.section.scope.begin.objc","["],
- ["support.class.cocoa","NSArray"],
- ["text"," "],
- ["support.function.any-method.objc","arrayWithObject:"],
- ["punctuation.section.scope.begin.objc","["],
- ["support.class.cocoa","NSSortDescriptor"],
- ["text"," "],
- ["support.function.any-method.objc","sortDescriptorWithKey:"],
- ["string.begin.objc","@\""],
- ["string","resolution"],
- ["punctuation.definition.string.end","\""],
- ["text"," "],
- ["identifier","ascending"],
- ["punctuation.operator",":"],
- ["constant.language.objc","YES"],
- ["paren.rparen","]]"],
- ["punctuation.operator",";"],
- ["text"," "]
-],[
- "start",
- ["support.class.cocoa","NSPredicate"],
- ["text"," "],
- ["keyword.operator","*"],
- ["identifier","predicate"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["punctuation.section.scope.begin.objc","["],
- ["support.class.cocoa","NSPredicate"],
- ["text"," "],
- ["support.function.any-method.objc","predicateWithFormat:"],
- ["string.begin.objc","@\""],
- ["string","0 != SUBQUERY(image, $x, 0 != SUBQUERY($x.bookmarkItems, $y, $y.@count == 0).@count).@count"],
- ["punctuation.definition.string.end","\""],
- ["paren.rparen","]"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["punctuation.section.scope.begin.objc","["],
- ["support.class.cocoa","NSPredicate"],
- ["text"," "],
- ["support.function.any-method.objc","predicateWithFormat:"],
- ["paren.rparen","]"]
-],[
- "start",
- ["support.class.cocoa","NSString"],
- ["text"," "],
- ["keyword.operator","*"],
- ["identifier","predicateString"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["punctuation.section.scope.begin.objc","["],
- ["support.class.cocoa","NSString"],
- ["text"," "],
- ["support.function.any-method.objc","stringWithFormat:"],
- ["string.begin.objc","@\""],
- ["string","SELF beginsWith[cd] %@"],
- ["punctuation.definition.string.end","\""],
- ["punctuation.operator",","],
- ["text"," "],
- ["identifier","searchString"],
- ["paren.rparen","]"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["support.class.cocoa","NSPredicate"],
- ["text"," "],
- ["keyword.operator","*"],
- ["identifier","pred"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["punctuation.section.scope.begin.objc","["],
- ["support.class.cocoa","NSPredicate"],
- ["text"," "],
- ["support.function.any-method.objc","predicateWithFormat:"],
- ["identifier","predicateString"],
- ["paren.rparen","]"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["support.class.cocoa","NSArray"],
- ["text"," "],
- ["keyword.operator","*"],
- ["identifier","filteredKeys"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["punctuation.section.scope.begin.objc","[["],
- ["identifier","myMutableDictionary"],
- ["text"," "],
- ["support.function.any-method.objc","allKeys"],
- ["paren.rparen","]"],
- ["text"," "],
- ["identifier","filteredArrayUsingPredicate"],
- ["punctuation.operator",":"],
- ["identifier","pred"],
- ["paren.rparen","]"],
- ["punctuation.operator",";"],
- ["text"," "]
-],[
- "start"
-],[
- "start",
- ["identifier","localRequest"],
- ["punctuation.operator","."],
- ["identifier","predicate"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["punctuation.section.scope.begin.objc","["],
- ["support.class.cocoa","NSPredicate"],
- ["text"," "],
- ["support.function.any-method.objc","predicateWithFormat:"],
- ["string.begin.objc","@\""],
- ["string","whichChart = %@"],
- ["punctuation.definition.string.end","\""],
- ["text"," "],
- ["identifier","argumentArray"],
- ["punctuation.operator",":"],
- ["text"," "],
- ["identifier","listChartToDownload"],
- ["paren.rparen","]"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["identifier","localRequest"],
- ["punctuation.operator","."],
- ["identifier","fetchBatchSize"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["constant.numeric","100"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["identifier","arrayRequest"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["punctuation.section.scope.begin.objc","["],
- ["identifier","context"],
- ["text"," "],
- ["support.function.any-method.objc","executeFetchRequest:"],
- ["identifier","localRequest"],
- ["text"," "],
- ["identifier","error"],
- ["punctuation.operator",":"],
- ["keyword.operator","&"],
- ["identifier","error1"],
- ["paren.rparen","]"],
- ["punctuation.operator",";"]
-],[
- "start"
-],[
- "start",
- ["punctuation.section.scope.begin.objc","["],
- ["identifier","localRequest"],
- ["text"," "],
- ["support.function.any-method.objc","release"],
- ["paren.rparen","]"],
- ["punctuation.operator",";"]
-],[
- "start"
-],[
- "start",
- ["keyword","#ifndef"],
- ["constant.other"," Nil"]
-],[
- "start",
- ["keyword","#define"],
- ["constant.other"," Nil __DARWIN_NULL "],
- ["comment","/* id of Nil class */"]
-],[
- "start",
- ["keyword","#endif"]
-],[
- "start"
-],[
- "start",
- ["storage.type.objc","@implementation"],
- ["entity.name.type.objc"," MyObject"]
-],[
- "start",
- ["meta.function.objc","- "],
- ["paren.lparen","("],
- ["storage.type","unsigned"],
- ["text"," "],
- ["storage.type","int"],
- ["paren.rparen",")"],
- ["identifier","areaOfWidth"],
- ["punctuation.operator",":"],
- ["paren.lparen","("],
- ["storage.type","unsigned"],
- ["text"," "],
- ["storage.type","int"],
- ["paren.rparen",")"],
- ["identifier","width"]
-],[
- "start",
- ["text"," "],
- ["identifier","height"],
- ["punctuation.operator",":"],
- ["paren.lparen","("],
- ["storage.type","unsigned"],
- ["text"," "],
- ["storage.type","int"],
- ["paren.rparen",")"],
- ["identifier","height"]
-],[
- "start",
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," "],
- ["keyword.control","return"],
- ["text"," "],
- ["identifier","width"],
- ["keyword.operator","*"],
- ["identifier","height"],
- ["punctuation.operator",";"]
-],[
- "start",
- ["paren.rparen","}"]
-],[
- "start",
- ["storage.type.objc","@end"]
-],[
- "start"
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_ocaml.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_ocaml.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_ocaml.json
deleted file mode 100644
index 73e3cfc..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_ocaml.json
+++ /dev/null
@@ -1,200 +0,0 @@
-[[
- "comment",
- ["comment","(*"]
-],[
- "comment",
- ["comment"," * Example of early return implementation taken from"]
-],[
- "comment",
- ["comment"," * http://ocaml.janestreet.com/?q=node/91"]
-],[
- "start",
- ["comment"," *)"]
-],[
- "start"
-],[
- "start",
- ["keyword","let"],
- ["text"," "],
- ["identifier","with_return"],
- ["text"," "],
- ["paren.lparen","("],
- ["keyword","type"],
- ["text"," "],
- ["identifier","t"],
- ["paren.rparen",")"],
- ["text"," "],
- ["paren.lparen","("],
- ["identifier","f"],
- ["text"," : "],
- ["identifier","_"],
- ["text"," "],
- ["keyword.operator","->"],
- ["text"," "],
- ["identifier","t"],
- ["paren.rparen",")"],
- ["text"," "],
- ["keyword.operator","="]
-],[
- "start",
- ["text"," "],
- ["keyword","let"],
- ["text"," "],
- ["keyword","module"],
- ["text"," "],
- ["identifier","M"],
- ["text"," "],
- ["keyword.operator","="]
-],[
- "start",
- ["text"," "],
- ["keyword","struct"],
- ["text"," "],
- ["keyword","exception"],
- ["text"," "],
- ["identifier","Return"],
- ["text"," "],
- ["keyword","of"],
- ["text"," "],
- ["identifier","t"],
- ["text"," "],
- ["keyword","end"]
-],[
- "start",
- ["text"," "],
- ["keyword","in"]
-],[
- "start",
- ["text"," "],
- ["keyword","let"],
- ["text"," "],
- ["identifier","return"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["paren.lparen","{"],
- ["text"," "],
- ["identifier","return"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["paren.lparen","("],
- ["keyword","fun"],
- ["text"," "],
- ["identifier","x"],
- ["text"," "],
- ["keyword.operator","->"],
- ["text"," "],
- ["support.function","raise"],
- ["text"," "],
- ["paren.lparen","("],
- ["identifier","M"],
- ["text","."],
- ["identifier","Return"],
- ["text"," "],
- ["identifier","x"],
- ["paren.rparen","))"],
- ["text","; "],
- ["paren.rparen","}"],
- ["text"," "],
- ["keyword","in"]
-],[
- "start",
- ["text"," "],
- ["keyword","try"],
- ["text"," "],
- ["identifier","f"],
- ["text"," "],
- ["identifier","return"],
- ["text"," "],
- ["keyword","with"],
- ["text"," "],
- ["identifier","M"],
- ["text","."],
- ["identifier","Return"],
- ["text"," "],
- ["identifier","x"],
- ["text"," "],
- ["keyword.operator","->"],
- ["text"," "],
- ["identifier","x"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["comment","(* Function that uses the 'early return' functionality provided by `with_return` *)"]
-],[
- "start",
- ["keyword","let"],
- ["text"," "],
- ["identifier","sum_until_first_negative"],
- ["text"," "],
- ["support.function","list"],
- ["text"," "],
- ["keyword.operator","="]
-],[
- "start",
- ["text"," "],
- ["identifier","with_return"],
- ["text"," "],
- ["paren.lparen","("],
- ["keyword","fun"],
- ["text"," "],
- ["identifier","r"],
- ["text"," "],
- ["keyword.operator","->"]
-],[
- "start",
- ["text"," "],
- ["support.function","List"],
- ["text","."],
- ["support.function","fold"],
- ["text"," "],
- ["support.function","list"],
- ["text"," "],
- ["keyword.operator","~"],
- ["support.function","init"],
- ["text",":"],
- ["constant.numeric","0"],
- ["text"," "],
- ["keyword.operator","~"],
- ["identifier","f"],
- ["text",":"],
- ["paren.lparen","("],
- ["keyword","fun"],
- ["text"," "],
- ["identifier","acc"],
- ["text"," "],
- ["identifier","x"],
- ["text"," "],
- ["keyword.operator","->"]
-],[
- "start",
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["identifier","x"],
- ["text"," "],
- ["keyword.operator",">="],
- ["text"," "],
- ["constant.numeric","0"],
- ["text"," "],
- ["keyword","then"],
- ["text"," "],
- ["identifier","acc"],
- ["text"," "],
- ["keyword.operator","+"],
- ["text"," "],
- ["identifier","x"],
- ["text"," "],
- ["keyword","else"],
- ["text"," "],
- ["identifier","r"],
- ["text","."],
- ["identifier","return"],
- ["text"," "],
- ["identifier","acc"],
- ["paren.rparen","))"]
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_pascal.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_pascal.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_pascal.json
deleted file mode 100644
index 22c1f0c..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_pascal.json
+++ /dev/null
@@ -1,297 +0,0 @@
-[[
- "punctuation.definition.comment.pascal",
- ["punctuation.definition.comment.pascal","(*"],
- ["comment.block.pascal.one","****************************************************************************"]
-],[
- "punctuation.definition.comment.pascal",
- ["comment.block.pascal.one"," * A simple bubble sort program. Reads integers, one per line, and prints *"]
-],[
- "punctuation.definition.comment.pascal",
- ["comment.block.pascal.one"," * them out in sorted order. Blows up if there are more than 49. *"]
-],[
- "start",
- ["comment.block.pascal.one"," ****************************************************************************"],
- ["punctuation.definition.comment.pascal","*)"]
-],[
- "start",
- ["keyword.control.pascal","PROGRAM"],
- ["text"," Sort(input"],
- ["keyword.operator",","],
- ["text"," output)"],
- ["keyword.operator",";"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","CONST"]
-],[
- "start",
- ["text"," "],
- ["punctuation.definition.comment.pascal","(*"],
- ["comment.block.pascal.one"," Max array size. "],
- ["punctuation.definition.comment.pascal","*)"]
-],[
- "start",
- ["text"," MaxElts "],
- ["keyword.operator","="],
- ["text"," "],
- ["constant.numeric.pascal","50"],
- ["keyword.operator",";"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","TYPE"],
- ["text"," "]
-],[
- "start",
- ["text"," "],
- ["punctuation.definition.comment.pascal","(*"],
- ["comment.block.pascal.one"," Type of the element array. "],
- ["punctuation.definition.comment.pascal","*)"]
-],[
- "start",
- ["text"," IntArrType "],
- ["keyword.operator","="],
- ["text"," "],
- ["keyword.control.pascal","ARRAY"],
- ["text"," ["],
- ["constant.numeric.pascal","1"],
- ["text","..MaxElts] "],
- ["keyword.control.pascal","OF"],
- ["text"," Integer"],
- ["keyword.operator",";"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","VAR"]
-],[
- "start",
- ["text"," "],
- ["punctuation.definition.comment.pascal","(*"],
- ["comment.block.pascal.one"," Indexes, exchange temp, array size. "],
- ["punctuation.definition.comment.pascal","*)"]
-],[
- "start",
- ["text"," i"],
- ["keyword.operator",","],
- ["text"," j"],
- ["keyword.operator",","],
- ["text"," tmp"],
- ["keyword.operator",","],
- ["text"," size: integer"],
- ["keyword.operator",";"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["punctuation.definition.comment.pascal","(*"],
- ["comment.block.pascal.one"," Array of ints "],
- ["punctuation.definition.comment.pascal","*)"]
-],[
- "start",
- ["text"," arr: IntArrType"],
- ["keyword.operator",";"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["punctuation.definition.comment.pascal","(*"],
- ["comment.block.pascal.one"," Read in the integers. "],
- ["punctuation.definition.comment.pascal","*)"]
-],[
- "start",
- ["text"," "],
- ["variable.pascal","PROCEDURE"],
- ["text"," "],
- ["storage.type.function.pascal","ReadArr"],
- ["text","("],
- ["keyword.control.pascal","VAR"],
- ["text"," size: Integer"],
- ["keyword.operator",";"],
- ["text"," "],
- ["keyword.control.pascal","VAR"],
- ["text"," a: IntArrType)"],
- ["keyword.operator",";"],
- ["text"," "]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","BEGIN"]
-],[
- "start",
- ["text"," size "],
- ["keyword.operator",":="],
- ["text"," "],
- ["constant.numeric.pascal","1"],
- ["keyword.operator",";"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","WHILE"],
- ["text"," "],
- ["keyword.control.pascal","NOT"],
- ["text"," eof "],
- ["keyword.control.pascal","DO"],
- ["text"," "],
- ["keyword.control.pascal","BEGIN"]
-],[
- "start",
- ["text"," readln(a[size])"],
- ["keyword.operator",";"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","IF"],
- ["text"," "],
- ["keyword.control.pascal","NOT"],
- ["text"," eof "],
- ["keyword.control.pascal","THEN"],
- ["text"," "]
-],[
- "start",
- ["text"," size "],
- ["keyword.operator",":="],
- ["text"," size "],
- ["keyword.operator","+"],
- ["text"," "],
- ["constant.numeric.pascal","1"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","END"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","END"],
- ["keyword.operator",";"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","BEGIN"]
-],[
- "start",
- ["text"," "],
- ["punctuation.definition.comment.pascal","(*"],
- ["comment.block.pascal.one"," Read "],
- ["punctuation.definition.comment.pascal","*)"]
-],[
- "start",
- ["text"," ReadArr(size"],
- ["keyword.operator",","],
- ["text"," arr)"],
- ["keyword.operator",";"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["punctuation.definition.comment.pascal","(*"],
- ["comment.block.pascal.one"," Sort using bubble sort. "],
- ["punctuation.definition.comment.pascal","*)"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","FOR"],
- ["text"," i "],
- ["keyword.operator",":="],
- ["text"," size "],
- ["keyword.operator","-"],
- ["text"," "],
- ["constant.numeric.pascal","1"],
- ["text"," DOWNTO "],
- ["constant.numeric.pascal","1"],
- ["text"," "],
- ["keyword.control.pascal","DO"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","FOR"],
- ["text"," j "],
- ["keyword.operator",":="],
- ["text"," "],
- ["constant.numeric.pascal","1"],
- ["text"," "],
- ["keyword.control.pascal","TO"],
- ["text"," i "],
- ["keyword.control.pascal","DO"],
- ["text"," "]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","IF"],
- ["text"," arr[j] > arr[j "],
- ["keyword.operator","+"],
- ["text"," "],
- ["constant.numeric.pascal","1"],
- ["text","] "],
- ["keyword.control.pascal","THEN"],
- ["text"," "],
- ["keyword.control.pascal","BEGIN"]
-],[
- "start",
- ["text"," tmp "],
- ["keyword.operator",":="],
- ["text"," arr[j]"],
- ["keyword.operator",";"]
-],[
- "start",
- ["text"," arr[j] "],
- ["keyword.operator",":="],
- ["text"," arr[j "],
- ["keyword.operator","+"],
- ["text"," "],
- ["constant.numeric.pascal","1"],
- ["text","]"],
- ["keyword.operator",";"]
-],[
- "start",
- ["text"," arr[j "],
- ["keyword.operator","+"],
- ["text"," "],
- ["constant.numeric.pascal","1"],
- ["text","] "],
- ["keyword.operator",":="],
- ["text"," tmp"],
- ["keyword.operator",";"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","END"],
- ["keyword.operator",";"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["punctuation.definition.comment.pascal","(*"],
- ["comment.block.pascal.one"," Print. "],
- ["punctuation.definition.comment.pascal","*)"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","FOR"],
- ["text"," i "],
- ["keyword.operator",":="],
- ["text"," "],
- ["constant.numeric.pascal","1"],
- ["text"," "],
- ["keyword.control.pascal","TO"],
- ["text"," size "],
- ["keyword.control.pascal","DO"]
-],[
- "start",
- ["text"," writeln(arr[i])"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.pascal","END"],
- ["text","."]
-],[
- "start",
- ["text"," "]
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_perl.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_perl.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_perl.json
deleted file mode 100644
index 30bb39c..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_perl.json
+++ /dev/null
@@ -1,227 +0,0 @@
-[[
- "start",
- ["comment","#!/usr/bin/perl"]
-],[
- "block_comment",
- ["comment.doc","=begin"]
-],[
- "block_comment",
- ["comment.doc"," perl example code for Ace"]
-],[
- "start",
- ["comment.doc","=cut"]
-],[
- "start"
-],[
- "start",
- ["keyword","use"],
- ["text"," "],
- ["identifier","strict"],
- ["text",";"]
-],[
- "start",
- ["keyword","use"],
- ["text"," "],
- ["identifier","warnings"],
- ["text",";"]
-],[
- "start",
- ["keyword","my"],
- ["text"," "],
- ["identifier","$num_primes"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["constant.numeric","0"],
- ["text",";"]
-],[
- "start",
- ["keyword","my"],
- ["text"," @"],
- ["identifier","primes"],
- ["text",";"]
-],[
- "start"
-],[
- "start",
- ["comment","# Put 2 as the first prime so we won't have an empty array"]
-],[
- "start",
- ["identifier","$primes"],
- ["lparen","["],
- ["identifier","$num_primes"],
- ["rparen","]"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["constant.numeric","2"],
- ["text",";"]
-],[
- "start",
- ["identifier","$num_primes"],
- ["keyword.operator","++"],
- ["text",";"]
-],[
- "start"
-],[
- "start",
- ["identifier","MAIN_LOOP"],
- ["text",":"]
-],[
- "start",
- ["keyword","for"],
- ["text"," "],
- ["keyword","my"],
- ["text"," "],
- ["identifier","$number_to_check"],
- ["text"," "],
- ["lparen","("],
- ["constant.numeric","3"],
- ["text"," "],
- ["keyword.operator",".."],
- ["text"," "],
- ["constant.numeric","200"],
- ["rparen",")"]
-],[
- "start",
- ["lparen","{"]
-],[
- "start",
- ["text"," "],
- ["keyword","for"],
- ["text"," "],
- ["keyword","my"],
- ["text"," "],
- ["identifier","$p"],
- ["text"," "],
- ["lparen","("],
- ["constant.numeric","0"],
- ["text"," "],
- ["keyword.operator",".."],
- ["text"," "],
- ["lparen","("],
- ["identifier","$num_primes"],
- ["constant.numeric","-1"],
- ["rparen","))"]
-],[
- "start",
- ["text"," "],
- ["lparen","{"]
-],[
- "start",
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["lparen","("],
- ["identifier","$number_to_check"],
- ["text"," "],
- ["keyword.operator","%"],
- ["text"," "],
- ["identifier","$primes"],
- ["lparen","["],
- ["identifier","$p"],
- ["rparen","]"],
- ["text"," "],
- ["keyword.operator","=="],
- ["text"," "],
- ["constant.numeric","0"],
- ["rparen",")"]
-],[
- "start",
- ["text"," "],
- ["lparen","{"]
-],[
- "start",
- ["text"," "],
- ["keyword","next"],
- ["text"," "],
- ["identifier","MAIN_LOOP"],
- ["text",";"]
-],[
- "start",
- ["text"," "],
- ["rparen","}"]
-],[
- "start",
- ["text"," "],
- ["rparen","}"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["comment","# If we reached this point it means $number_to_check is not"]
-],[
- "start",
- ["text"," "],
- ["comment","# divisable by any prime number that came before it."]
-],[
- "start",
- ["text"," "],
- ["identifier","$primes"],
- ["lparen","["],
- ["identifier","$num_primes"],
- ["rparen","]"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["identifier","$number_to_check"],
- ["text",";"]
-],[
- "start",
- ["text"," "],
- ["identifier","$num_primes"],
- ["keyword.operator","++"],
- ["text",";"]
-],[
- "start",
- ["rparen","}"]
-],[
- "start"
-],[
- "start",
- ["keyword","for"],
- ["text"," "],
- ["keyword","my"],
- ["text"," "],
- ["identifier","$p"],
- ["text"," "],
- ["lparen","("],
- ["constant.numeric","0"],
- ["text"," "],
- ["keyword.operator",".."],
- ["text"," "],
- ["lparen","("],
- ["identifier","$num_primes"],
- ["constant.numeric","-1"],
- ["rparen","))"]
-],[
- "start",
- ["lparen","{"]
-],[
- "start",
- ["text"," "],
- ["support.function","print"],
- ["text"," "],
- ["identifier","$primes"],
- ["lparen","["],
- ["identifier","$p"],
- ["rparen","]"],
- ["keyword.operator",","],
- ["text"," "],
- ["string","\", \""],
- ["text",";"]
-],[
- "start",
- ["rparen","}"]
-],[
- "start",
- ["support.function","print"],
- ["text"," "],
- ["string","\"\\n\""],
- ["text",";"]
-],[
- "start"
-],[
- "start"
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_pgsql.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_pgsql.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_pgsql.json
deleted file mode 100644
index ded4bb8..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_pgsql.json
+++ /dev/null
@@ -1,735 +0,0 @@
-[[
- "start"
-],[
- "start",
- ["keyword.statementBegin","BEGIN"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "doc-start",
- ["comment.doc","/**"]
-],[
- "doc-start",
- ["comment.doc","* Samples from PostgreSQL src/tutorial/basics.source"]
-],[
- "start",
- ["comment.doc","*/"]
-],[
- "statement",
- ["keyword.statementBegin","CREATE"],
- ["text"," "],
- ["keyword","TABLE"],
- ["text"," "],
- ["identifier","weather"],
- ["text"," "],
- ["paren.lparen","("]
-],[
- "statement",
- ["text","\t"],
- ["identifier","city"],
- ["text","\t\t"],
- ["keyword","varchar"],
- ["paren.lparen","("],
- ["constant.numeric","80"],
- ["paren.rparen",")"],
- ["text",","]
-],[
- "statement",
- ["text","\t"],
- ["identifier","temp_lo"],
- ["text","\t\t"],
- ["keyword","int"],
- ["text",",\t\t"],
- ["comment","-- low temperature"]
-],[
- "statement",
- ["text","\t"],
- ["identifier","temp_hi"],
- ["text","\t\t"],
- ["keyword","int"],
- ["text",",\t\t"],
- ["comment","-- high temperature"]
-],[
- "statement",
- ["text","\t"],
- ["identifier","prcp"],
- ["text","\t\t"],
- ["keyword","real"],
- ["text",",\t\t"],
- ["comment","-- precipitation"]
-],[
- "statement",
- ["text","\t"],
- ["variable.language","\"date\""],
- ["text","\t\t"],
- ["keyword","date"]
-],[
- "start",
- ["paren.rparen",")"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "statement",
- ["keyword.statementBegin","CREATE"],
- ["text"," "],
- ["keyword","TABLE"],
- ["text"," "],
- ["identifier","cities"],
- ["text"," "],
- ["paren.lparen","("]
-],[
- "statement",
- ["text","\t"],
- ["keyword","name"],
- ["text","\t\t"],
- ["keyword","varchar"],
- ["paren.lparen","("],
- ["constant.numeric","80"],
- ["paren.rparen",")"],
- ["text",","]
-],[
- "statement",
- ["text","\t"],
- ["keyword","location"],
- ["text","\t"],
- ["keyword","point"]
-],[
- "start",
- ["paren.rparen",")"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "start"
-],[
- "statement",
- ["keyword.statementBegin","INSERT"],
- ["text"," "],
- ["keyword","INTO"],
- ["text"," "],
- ["identifier","weather"]
-],[
- "start",
- ["text"," "],
- ["keyword","VALUES"],
- ["text"," "],
- ["paren.lparen","("],
- ["string","'San Francisco'"],
- ["text",", "],
- ["constant.numeric","46"],
- ["text",", "],
- ["constant.numeric","50"],
- ["text",", "],
- ["constant.numeric","0.25"],
- ["text",", "],
- ["string","'1994-11-27'"],
- ["paren.rparen",")"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "statement",
- ["keyword.statementBegin","INSERT"],
- ["text"," "],
- ["keyword","INTO"],
- ["text"," "],
- ["identifier","cities"]
-],[
- "start",
- ["text"," "],
- ["keyword","VALUES"],
- ["text"," "],
- ["paren.lparen","("],
- ["string","'San Francisco'"],
- ["text",", "],
- ["string","'(-194.0, 53.0)'"],
- ["paren.rparen",")"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "statement",
- ["keyword.statementBegin","INSERT"],
- ["text"," "],
- ["keyword","INTO"],
- ["text"," "],
- ["identifier","weather"],
- ["text"," "],
- ["paren.lparen","("],
- ["identifier","city"],
- ["text",", "],
- ["identifier","temp_lo"],
- ["text",", "],
- ["identifier","temp_hi"],
- ["text",", "],
- ["identifier","prcp"],
- ["text",", "],
- ["variable.language","\"date\""],
- ["paren.rparen",")"]
-],[
- "start",
- ["text"," "],
- ["keyword","VALUES"],
- ["text"," "],
- ["paren.lparen","("],
- ["string","'San Francisco'"],
- ["text",", "],
- ["constant.numeric","43"],
- ["text",", "],
- ["constant.numeric","57"],
- ["text",", "],
- ["constant.numeric","0.0"],
- ["text",", "],
- ["string","'1994-11-29'"],
- ["paren.rparen",")"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "statement",
- ["keyword.statementBegin","INSERT"],
- ["text"," "],
- ["keyword","INTO"],
- ["text"," "],
- ["identifier","weather"],
- ["text"," "],
- ["paren.lparen","("],
- ["keyword","date"],
- ["text",", "],
- ["identifier","city"],
- ["text",", "],
- ["identifier","temp_hi"],
- ["text",", "],
- ["identifier","temp_lo"],
- ["paren.rparen",")"]
-],[
- "start",
- ["text"," "],
- ["keyword","VALUES"],
- ["text"," "],
- ["paren.lparen","("],
- ["string","'1994-11-29'"],
- ["text",", "],
- ["string","'Hayward'"],
- ["text",", "],
- ["constant.numeric","54"],
- ["text",", "],
- ["constant.numeric","37"],
- ["paren.rparen",")"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["keyword.statementBegin","SELECT"],
- ["text"," "],
- ["identifier","city"],
- ["text",", "],
- ["paren.lparen","("],
- ["identifier","temp_hi"],
- ["keyword.operator","+"],
- ["identifier","temp_lo"],
- ["paren.rparen",")"],
- ["keyword.operator","/"],
- ["constant.numeric","2"],
- ["text"," "],
- ["keyword","AS"],
- ["text"," "],
- ["identifier","temp_avg"],
- ["text",", "],
- ["variable.language","\"date\""],
- ["text"," "],
- ["keyword","FROM"],
- ["text"," "],
- ["identifier","weather"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "statement",
- ["keyword.statementBegin","SELECT"],
- ["text"," "],
- ["identifier","city"],
- ["text",", "],
- ["identifier","temp_lo"],
- ["text",", "],
- ["identifier","temp_hi"],
- ["text",", "],
- ["identifier","prcp"],
- ["text",", "],
- ["variable.language","\"date\""],
- ["text",", "],
- ["keyword","location"]
-],[
- "statement",
- ["text"," "],
- ["keyword","FROM"],
- ["text"," "],
- ["identifier","weather"],
- ["text",", "],
- ["identifier","cities"]
-],[
- "start",
- ["text"," "],
- ["keyword","WHERE"],
- ["text"," "],
- ["identifier","city"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["keyword","name"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "start"
-],[
- "start"
-],[
- "doc-start",
- ["comment.doc","/**"]
-],[
- "doc-start",
- ["comment.doc","* Dollar quotes starting at the end of the line are colored as SQL unless"]
-],[
- "doc-start",
- ["comment.doc","* a special language tag is used. Pearl and Python are currently implemented"]
-],[
- "doc-start",
- ["comment.doc","* but lots of others are possible."]
-],[
- "start",
- ["comment.doc","*/"]
-],[
- "statement",
- ["keyword.statementBegin","create"],
- ["text"," "],
- ["keyword","or"],
- ["text"," "],
- ["keyword","replace"],
- ["text"," "],
- ["keyword","function"],
- ["text"," "],
- ["identifier","blob_content_chunked"],
- ["paren.lparen","("]
-],[
- "statement",
- ["text"," "],
- ["keyword","in"],
- ["text"," "],
- ["identifier","p_data"],
- ["text"," "],
- ["keyword","bytea"],
- ["text",", "]
-],[
- "statement",
- ["text"," "],
- ["keyword","in"],
- ["text"," "],
- ["identifier","p_chunk"],
- ["text"," "],
- ["keyword","integer"],
- ["paren.rparen",")"]
-],[
- "dollarSql",
- ["keyword","returns"],
- ["text"," "],
- ["keyword","setof"],
- ["text"," "],
- ["keyword","bytea"],
- ["text"," "],
- ["keyword","as"],
- ["text"," "],
- ["string","$$"]
-],[
- "dollarSql",
- ["comment","-- Still SQL comments"]
-],[
- "dollarSql",
- ["keyword","declare"]
-],[
- "dollarSql",
- ["text","\t"],
- ["identifier","v_size"],
- ["text"," "],
- ["keyword","integer"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["support.function","octet_length"],
- ["paren.lparen","("],
- ["identifier","p_data"],
- ["paren.rparen",")"],
- ["text",";"]
-],[
- "dollarSql",
- ["keyword","begin"]
-],[
- "dollarSql",
- ["text","\t"],
- ["keyword","for"],
- ["text"," "],
- ["identifier","i"],
- ["text"," "],
- ["keyword","in"],
- ["text"," "],
- ["constant.numeric","1"],
- ["text",".."],
- ["identifier","v_size"],
- ["text"," "],
- ["keyword","by"],
- ["text"," "],
- ["identifier","p_chunk"],
- ["text"," "],
- ["identifier","loop"]
-],[
- "dollarSql",
- ["text","\t\t"],
- ["identifier","return"],
- ["text"," "],
- ["keyword","next"],
- ["text"," "],
- ["keyword","substring"],
- ["paren.lparen","("],
- ["identifier","p_data"],
- ["text"," "],
- ["keyword","from"],
- ["text"," "],
- ["identifier","i"],
- ["text"," "],
- ["keyword","for"],
- ["text"," "],
- ["identifier","p_chunk"],
- ["paren.rparen",")"],
- ["text",";"]
-],[
- "dollarSql",
- ["text","\t"],
- ["keyword","end"],
- ["text"," "],
- ["identifier","loop"],
- ["text",";"]
-],[
- "dollarSql",
- ["keyword","end"],
- ["text",";"]
-],[
- "start",
- ["string","$$"],
- ["text"," "],
- ["keyword","language"],
- ["text"," "],
- ["identifier","plpgsql"],
- ["text"," "],
- ["keyword","stable"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["comment","-- pl/perl"]
-],[
- "perl-start",
- ["keyword.statementBegin","CREATE"],
- ["text"," "],
- ["keyword","FUNCTION"],
- ["text"," "],
- ["identifier","perl_max"],
- ["text"," "],
- ["paren.lparen","("],
- ["keyword","integer"],
- ["text",", "],
- ["keyword","integer"],
- ["paren.rparen",")"],
- ["text"," "],
- ["keyword","RETURNS"],
- ["text"," "],
- ["keyword","integer"],
- ["text"," "],
- ["keyword","AS"],
- ["text"," "],
- ["string","$perl$"]
-],[
- "perl-start",
- ["text"," "],
- ["comment","# perl comment..."]
-],[
- "perl-start",
- ["text"," "],
- ["keyword","my"],
- ["text"," "],
- ["lparen","("],
- ["identifier","$x"],
- ["keyword.operator",","],
- ["identifier","$y"],
- ["rparen",")"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," @"],
- ["identifier","_"],
- ["text",";"]
-],[
- "perl-start",
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["lparen","("],
- ["keyword.operator","!"],
- ["text"," "],
- ["support.function","defined"],
- ["text"," "],
- ["identifier","$x"],
- ["rparen",")"],
- ["text"," "],
- ["lparen","{"]
-],[
- "perl-start",
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["lparen","("],
- ["keyword.operator","!"],
- ["text"," "],
- ["support.function","defined"],
- ["text"," "],
- ["identifier","$y"],
- ["rparen",")"],
- ["text"," "],
- ["lparen","{"],
- ["text"," "],
- ["support.function","return"],
- ["text"," "],
- ["support.function","undef"],
- ["text","; "],
- ["rparen","}"]
-],[
- "perl-start",
- ["text"," "],
- ["support.function","return"],
- ["text"," "],
- ["identifier","$y"],
- ["text",";"]
-],[
- "perl-start",
- ["text"," "],
- ["rparen","}"]
-],[
- "perl-start",
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["lparen","("],
- ["keyword.operator","!"],
- ["text"," "],
- ["support.function","defined"],
- ["text"," "],
- ["identifier","$y"],
- ["rparen",")"],
- ["text"," "],
- ["lparen","{"],
- ["text"," "],
- ["support.function","return"],
- ["text"," "],
- ["identifier","$x"],
- ["text","; "],
- ["rparen","}"]
-],[
- "perl-start",
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["lparen","("],
- ["identifier","$x"],
- ["text"," "],
- ["keyword.operator",">"],
- ["text"," "],
- ["identifier","$y"],
- ["rparen",")"],
- ["text"," "],
- ["lparen","{"],
- ["text"," "],
- ["support.function","return"],
- ["text"," "],
- ["identifier","$x"],
- ["text","; "],
- ["rparen","}"]
-],[
- "perl-start",
- ["text"," "],
- ["support.function","return"],
- ["text"," "],
- ["identifier","$y"],
- ["text",";"]
-],[
- "start",
- ["string","$perl$"],
- ["text"," "],
- ["keyword","LANGUAGE"],
- ["text"," "],
- ["identifier","plperl"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "start",
- ["comment","-- pl/python"]
-],[
- "python-start",
- ["keyword.statementBegin","CREATE"],
- ["text"," "],
- ["keyword","FUNCTION"],
- ["text"," "],
- ["identifier","usesavedplan"],
- ["paren.lparen","("],
- ["paren.rparen",")"],
- ["text"," "],
- ["keyword","RETURNS"],
- ["text"," "],
- ["keyword","trigger"],
- ["text"," "],
- ["keyword","AS"],
- ["text"," "],
- ["string","$python$"]
-],[
- "python-start",
- ["text"," "],
- ["comment","# python comment..."]
-],[
- "python-start",
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["identifier","SD"],
- ["text","."],
- ["identifier","has_key"],
- ["paren.lparen","("],
- ["string","\"plan\""],
- ["paren.rparen",")"],
- ["text",":"]
-],[
- "python-start",
- ["text"," "],
- ["identifier","plan"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["identifier","SD"],
- ["paren.lparen","["],
- ["string","\"plan\""],
- ["paren.rparen","]"]
-],[
- "python-start",
- ["text"," "],
- ["keyword","else"],
- ["text",":"]
-],[
- "python-start",
- ["text"," "],
- ["identifier","plan"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["identifier","plpy"],
- ["text","."],
- ["identifier","prepare"],
- ["paren.lparen","("],
- ["string","\"SELECT 1\""],
- ["paren.rparen",")"]
-],[
- "python-start",
- ["text"," "],
- ["identifier","SD"],
- ["paren.lparen","["],
- ["string","\"plan\""],
- ["paren.rparen","]"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["identifier","plan"]
-],[
- "start",
- ["string","$python$"],
- ["text"," "],
- ["keyword","LANGUAGE"],
- ["text"," "],
- ["identifier","plpythonu"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["comment","-- psql commands"]
-],[
- "start",
- ["support.buildin","\\df cash*"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["comment","-- Some string samples."]
-],[
- "start",
- ["keyword.statementBegin","select"],
- ["text"," "],
- ["string","'don''t do it now;'"],
- ["text"," "],
- ["keyword.operator","||"],
- ["text"," "],
- ["string","'maybe later'"],
- ["statementEnd",";"]
-],[
- "start",
- ["keyword.statementBegin","select"],
- ["text"," "],
- ["identifier","E"],
- ["string","'dont\\'t do it'"],
- ["statementEnd",";"]
-],[
- "start",
- ["keyword.statementBegin","select"],
- ["text"," "],
- ["support.function","length"],
- ["paren.lparen","("],
- ["string","'some other''s stuff'"],
- ["text"," "],
- ["keyword.operator","||"],
- ["text"," "],
- ["string","$$cat in hat's stuff $$"],
- ["paren.rparen",")"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "dollarStatementString",
- ["keyword.statementBegin","select"],
- ["text"," "],
- ["string","$$ strings"]
-],[
- "dollarStatementString",
- ["string","over multiple "]
-],[
- "dollarStatementString",
- ["string","lines - use dollar quotes"]
-],[
- "start",
- ["string","$$"],
- ["statementEnd",";"]
-],[
- "start"
-],[
- "start",
- ["keyword.statementBegin","END"],
- ["statementEnd",";"]
-],[
- "start"
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_php.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_php.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_php.json
deleted file mode 100644
index d8a41ee..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_php.json
+++ /dev/null
@@ -1,134 +0,0 @@
-[[
- "php-start",
- ["support.php_tag","<?php"]
-],[
- "php-start"
-],[
- "php-start",
- ["keyword","function"],
- ["text"," "],
- ["identifier","nfact"],
- ["paren.lparen","("],
- ["variable","$n"],
- ["paren.rparen",")"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "php-start",
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["paren.lparen","("],
- ["variable","$n"],
- ["text"," "],
- ["keyword.operator","=="],
- ["text"," "],
- ["constant.numeric","0"],
- ["paren.rparen",")"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "php-start",
- ["text"," "],
- ["support.function","return"],
- ["text"," "],
- ["constant.numeric","1"],
- ["text",";"]
-],[
- "php-start",
- ["text"," "],
- ["paren.rparen","}"]
-],[
- "php-start",
- ["text"," "],
- ["keyword","else"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "php-start",
- ["text"," "],
- ["support.function","return"],
- ["text"," "],
- ["variable","$n"],
- ["text"," "],
- ["keyword.operator","*"],
- ["text"," "],
- ["identifier","nfact"],
- ["paren.lparen","("],
- ["variable","$n"],
- ["text"," "],
- ["keyword.operator","-"],
- ["text"," "],
- ["constant.numeric","1"],
- ["paren.rparen",")"],
- ["text",";"]
-],[
- "php-start",
- ["text"," "],
- ["paren.rparen","}"]
-],[
- "php-start",
- ["paren.rparen","}"]
-],[
- "php-start"
-],[
- "php-start",
- ["support.function","echo"],
- ["text"," "],
- ["string","\""],
- ["constant.language.escape","\\n\\n"],
- ["string","Please enter a whole number ... \""],
- ["text",";"]
-],[
- "php-start",
- ["variable","$num"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["support.function","trim"],
- ["paren.lparen","("],
- ["support.function","fgets"],
- ["paren.lparen","("],
- ["constant.language","STDIN"],
- ["paren.rparen","))"],
- ["text",";"]
-],[
- "php-start"
-],[
- "php-start",
- ["comment","// ===== PROCESS - Determing the factorial of the input number ====="]
-],[
- "php-start",
- ["variable","$output"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["string","\""],
- ["constant.language.escape","\\n\\n"],
- ["string","Factorial \""],
- ["text"," . "],
- ["variable","$num"],
- ["text"," . "],
- ["string","\" = \""],
- ["text"," . "],
- ["identifier","nfact"],
- ["paren.lparen","("],
- ["variable","$num"],
- ["paren.rparen",")"],
- ["text"," . "],
- ["string","\""],
- ["constant.language.escape","\\n\\n"],
- ["string","\""],
- ["text",";"]
-],[
- "php-start",
- ["support.function","echo"],
- ["text"," "],
- ["variable","$output"],
- ["text",";"]
-],[
- "php-start"
-],[
- "start",
- ["support.php_tag","?>"]
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_powershell.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_powershell.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_powershell.json
deleted file mode 100644
index 43b77db..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_powershell.json
+++ /dev/null
@@ -1,184 +0,0 @@
-[[
- "start",
- ["comment","# This is a simple comment"]
-],[
- "start",
- ["keyword","function"],
- ["text"," "],
- ["identifier","Hello"],
- ["lparen","("],
- ["variable.instance","$name"],
- ["rparen",")"],
- ["text"," "],
- ["lparen","{"]
-],[
- "start",
- ["text"," "],
- ["identifier","Write-host"],
- ["text"," "],
- ["string","\"Hello $name\""]
-],[
- "start",
- ["rparen","}"]
-],[
- "start"
-],[
- "start",
- ["keyword","function"],
- ["text"," "],
- ["identifier","add"],
- ["lparen","("],
- ["variable.instance","$left"],
- ["text",", "],
- ["variable.instance","$right"],
- ["keyword.operator","="],
- ["constant.numeric","4"],
- ["rparen",")"],
- ["text"," "],
- ["lparen","{"]
-],[
- "start",
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["lparen","("],
- ["variable.instance","$right"],
- ["text"," "],
- ["keyword.operator","-ne"],
- ["text"," "],
- ["constant.numeric","4"],
- ["rparen",")"],
- ["text"," "],
- ["lparen","{"]
-],[
- "start",
- ["text"," "],
- ["keyword","return"],
- ["text"," "],
- ["variable.instance","$left"]
-],[
- "start",
- ["text"," "],
- ["rparen","}"],
- ["text"," "],
- ["keyword","elseif"],
- ["text"," "],
- ["lparen","("],
- ["variable.instance","$left"],
- ["text"," "],
- ["keyword.operator","-eq"],
- ["text"," "],
- ["constant.language","$null"],
- ["text"," "],
- ["keyword.operator","-and"],
- ["text"," "],
- ["variable.instance","$right"],
- ["text"," "],
- ["keyword.operator","-eq"],
- ["text"," "],
- ["constant.numeric","2"],
- ["rparen",")"],
- ["text"," "],
- ["lparen","{"]
-],[
- "start",
- ["text"," "],
- ["keyword","return"],
- ["text"," "],
- ["constant.numeric","3"]
-],[
- "start",
- ["text"," "],
- ["rparen","}"],
- ["text"," "],
- ["keyword","else"],
- ["text"," "],
- ["lparen","{"]
-],[
- "start",
- ["text"," "],
- ["keyword","return"],
- ["text"," "],
- ["constant.numeric","2"]
-],[
- "start",
- ["text"," "],
- ["rparen","}"]
-],[
- "start",
- ["rparen","}"]
-],[
- "start"
-],[
- "start",
- ["variable.instance","$number"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["constant.numeric","1"],
- ["text"," "],
- ["keyword.operator","+"],
- ["text"," "],
- ["constant.numeric","2"],
- ["text",";"]
-],[
- "start",
- ["variable.instance","$number"],
- ["text"," "],
- ["keyword.operator","+="],
- ["text"," "],
- ["constant.numeric","3"]
-],[
- "start"
-],[
- "start",
- ["support.function","Write-Host"],
- ["text"," "],
- ["identifier","Hello"],
- ["text"," "],
- ["keyword.operator","-"],
- ["identifier","name"],
- ["text"," "],
- ["string","\"World\""]
-],[
- "start"
-],[
- "start",
- ["variable.instance","$an_array"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," @"],
- ["lparen","("],
- ["constant.numeric","1"],
- ["text",", "],
- ["constant.numeric","2"],
- ["text",", "],
- ["constant.numeric","3"],
- ["rparen",")"]
-],[
- "start",
- ["variable.instance","$a_hash"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," @"],
- ["lparen","{"],
- ["string","\"something\""],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["string","\"something else\""],
- ["rparen","}"]
-],[
- "start"
-],[
- "start",
- ["keyword.operator","&"],
- ["text"," "],
- ["identifier","notepad"],
- ["text"," .\\"],
- ["identifier","readme"],
- ["text","."],
- ["identifier","md"]
-],[
- "start"
-]]
\ No newline at end of file