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/29 16:40:18 UTC
[33/51] [partial] working replacement
http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/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
new file mode 100644
index 0000000..c6582d2
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_objectivec.json
@@ -0,0 +1,792 @@
+[[
+ "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/9abd128c/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
new file mode 100644
index 0000000..73e3cfc
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_ocaml.json
@@ -0,0 +1,200 @@
+[[
+ "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/9abd128c/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
new file mode 100644
index 0000000..22c1f0c
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_pascal.json
@@ -0,0 +1,297 @@
+[[
+ "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/9abd128c/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
new file mode 100644
index 0000000..30bb39c
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_perl.json
@@ -0,0 +1,227 @@
+[[
+ "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/9abd128c/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
new file mode 100644
index 0000000..ded4bb8
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_pgsql.json
@@ -0,0 +1,735 @@
+[[
+ "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/9abd128c/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
new file mode 100644
index 0000000..d8a41ee
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_php.json
@@ -0,0 +1,134 @@
+[[
+ "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/9abd128c/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
new file mode 100644
index 0000000..43b77db
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_powershell.json
@@ -0,0 +1,184 @@
+[[
+ "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
http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_prolog.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_prolog.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_prolog.json
new file mode 100644
index 0000000..e42b65b
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_prolog.json
@@ -0,0 +1,265 @@
+[[
+ "start",
+ ["entity.name.function.fact.prolog","partition"],
+ ["punctuation.begin.fact.parameters.prolog","("],
+ ["punctuation.begin.list.prolog","["],
+ ["punctuation.end.list.prolog","]"],
+ ["punctuation.separator.parameters.prolog",","],
+ ["meta.fact.prolog"," "],
+ ["variable.language.anonymous.prolog","_"],
+ ["punctuation.separator.parameters.prolog",","],
+ ["meta.fact.prolog"," "],
+ ["punctuation.begin.list.prolog","["],
+ ["punctuation.end.list.prolog","]"],
+ ["punctuation.separator.parameters.prolog",","],
+ ["meta.fact.prolog"," "],
+ ["punctuation.begin.list.prolog","["],
+ ["punctuation.end.list.prolog","]"],
+ ["punctuation.end.fact.parameters.prolog",")"],
+ ["punctuation.end.fact.prolog","."]
+],[
+ ["keyword.operator.definition.prolog","meta.rule.prolog"],
+ ["entity.name.function.rule.prolog","partition"],
+ ["punctuation.rule.parameters.begin.prolog","("],
+ ["punctuation.begin.list.prolog","["],
+ ["variable.other.prolog","X"],
+ ["punctuation.concat.list.prolog","|"],
+ ["variable.other.prolog","Xs"],
+ ["punctuation.end.list.prolog","]"],
+ ["punctuation.separator.parameters.prolog",","],
+ ["meta.rule.parameters.prolog"," "],
+ ["variable.parameter.prolog","Pivot"],
+ ["punctuation.separator.parameters.prolog",","],
+ ["meta.rule.parameters.prolog"," "],
+ ["variable.parameter.prolog","Smalls"],
+ ["punctuation.separator.parameters.prolog",","],
+ ["meta.rule.parameters.prolog"," "],
+ ["variable.parameter.prolog","Bigs"],
+ ["punctuation.rule.parameters.end.prolog",")"],
+ ["meta.rule.signature.prolog"," "],
+ ["keyword.operator.definition.prolog",":-"]
+],[
+ ["meta.expression.prolog","keyword.operator.definition.prolog","keyword.operator.definition.prolog","meta.rule.prolog"],
+ ["meta.rule.definition.prolog"," "],
+ ["meta.expression.prolog","( "],
+ ["variable.other.prolog","X"],
+ ["meta.expression.prolog"," @"],
+ ["keyword.operator.prolog","<"],
+ ["meta.expression.prolog"," "],
+ ["variable.other.prolog","Pivot"],
+ ["meta.expression.prolog"," "],
+ ["keyword.operator.prolog","->"]
+],[
+ ["meta.expression.prolog","keyword.operator.definition.prolog","keyword.operator.definition.prolog","meta.rule.prolog"],
+ ["meta.expression.prolog"," "],
+ ["variable.other.prolog","Smalls"],
+ ["meta.expression.prolog"," "],
+ ["keyword.operator.prolog","="],
+ ["meta.expression.prolog"," "],
+ ["punctuation.begin.list.prolog","["],
+ ["variable.other.prolog","X"],
+ ["punctuation.concat.list.prolog","|"],
+ ["variable.other.prolog","Rest"],
+ ["punctuation.end.list.prolog","]"],
+ ["punctuation.control.and.prolog",","]
+],[
+ ["meta.expression.prolog","keyword.operator.definition.prolog","keyword.operator.definition.prolog","meta.rule.prolog"],
+ ["meta.expression.prolog"," "],
+ ["constant.other.atom.prolog","partition"],
+ ["punctuation.begin.statement.parameters.prolog","("],
+ ["variable.other.prolog","Xs"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","Pivot"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","Rest"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","Bigs"],
+ ["punctuation.end.statement.parameters.prolog",")"]
+],[
+ ["meta.expression.prolog","keyword.operator.definition.prolog","keyword.operator.definition.prolog","meta.rule.prolog"],
+ ["meta.expression.prolog"," "],
+ ["punctuation.control.or.prolog",";"],
+ ["meta.expression.prolog"," "],
+ ["variable.other.prolog","Bigs"],
+ ["meta.expression.prolog"," "],
+ ["keyword.operator.prolog","="],
+ ["meta.expression.prolog"," "],
+ ["punctuation.begin.list.prolog","["],
+ ["variable.other.prolog","X"],
+ ["punctuation.concat.list.prolog","|"],
+ ["variable.other.prolog","Rest"],
+ ["punctuation.end.list.prolog","]"],
+ ["punctuation.control.and.prolog",","]
+],[
+ ["meta.expression.prolog","keyword.operator.definition.prolog","keyword.operator.definition.prolog","meta.rule.prolog"],
+ ["meta.expression.prolog"," "],
+ ["constant.other.atom.prolog","partition"],
+ ["punctuation.begin.statement.parameters.prolog","("],
+ ["variable.other.prolog","Xs"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","Pivot"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","Smalls"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","Rest"],
+ ["punctuation.end.statement.parameters.prolog",")"]
+],[
+ "start",
+ ["meta.expression.prolog"," )"],
+ ["punctuation.rule.end.prolog","."]
+],[
+ "start",
+ ["text"," "]
+],[
+ "entity.name.function.fact.prolog",
+ ["entity.name.function.fact.prolog","quicksort"],
+ ["punctuation.begin.fact.parameters.prolog","("],
+ ["punctuation.begin.list.prolog","["],
+ ["punctuation.end.list.prolog","]"],
+ ["invalid.illegal.invalidchar.prolog",")"],
+ ["meta.fact.prolog"," "],
+ ["invalid.illegal.invalidchar.prolog","-"],
+ ["keyword.operator.prolog","->"],
+ ["meta.fact.prolog"," "],
+ ["punctuation.begin.list.prolog","["],
+ ["punctuation.end.list.prolog","]"],
+ ["invalid.illegal.invalidchar.prolog","."]
+],[
+ "entity.name.function.fact.prolog",
+ ["constant.other.atom.prolog","quicksort"],
+ ["punctuation.begin.statement.parameters.prolog","("],
+ ["punctuation.begin.list.prolog","["],
+ ["variable.other.prolog","X"],
+ ["punctuation.concat.list.prolog","|"],
+ ["variable.other.prolog","Xs"],
+ ["punctuation.end.list.prolog","]"],
+ ["punctuation.end.statement.parameters.prolog",")"],
+ ["meta.fact.prolog"," "],
+ ["invalid.illegal.invalidchar.prolog","-"],
+ ["keyword.operator.prolog","->"]
+],[
+ "entity.name.function.fact.prolog",
+ ["meta.fact.prolog"," "],
+ ["invalid.illegal.invalidchar.prolog","{"],
+ ["meta.fact.prolog"," "],
+ ["constant.other.atom.prolog","partition"],
+ ["punctuation.begin.statement.parameters.prolog","("],
+ ["variable.other.prolog","Xs"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","X"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","Smaller"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","Bigger"],
+ ["punctuation.end.statement.parameters.prolog",")"],
+ ["meta.fact.prolog"," "],
+ ["invalid.illegal.invalidchar.prolog","}"],
+ ["punctuation.separator.parameters.prolog",","]
+],[
+ "entity.name.function.fact.prolog",
+ ["meta.fact.prolog"," "],
+ ["constant.other.atom.prolog","quicksort"],
+ ["punctuation.begin.statement.parameters.prolog","("],
+ ["variable.other.prolog","Smaller"],
+ ["punctuation.end.statement.parameters.prolog",")"],
+ ["punctuation.separator.parameters.prolog",","],
+ ["meta.fact.prolog"," "],
+ ["punctuation.begin.list.prolog","["],
+ ["variable.other.prolog","X"],
+ ["punctuation.end.list.prolog","]"],
+ ["punctuation.separator.parameters.prolog",","],
+ ["meta.fact.prolog"," "],
+ ["constant.other.atom.prolog","quicksort"],
+ ["punctuation.begin.statement.parameters.prolog","("],
+ ["variable.other.prolog","Bigger"],
+ ["punctuation.end.statement.parameters.prolog",")"],
+ ["invalid.illegal.invalidchar.prolog","."]
+],[
+ "entity.name.function.fact.prolog"
+],[
+ "entity.name.function.fact.prolog",
+ ["constant.other.atom.prolog","perfect"],
+ ["punctuation.begin.statement.parameters.prolog","("],
+ ["variable.other.prolog","N"],
+ ["punctuation.end.statement.parameters.prolog",")"],
+ ["meta.fact.prolog"," "],
+ ["invalid.illegal.invalidchar.prolog",":-"]
+],[
+ "entity.name.function.fact.prolog",
+ ["meta.fact.prolog"," "],
+ ["constant.other.atom.prolog","between"],
+ ["punctuation.begin.statement.parameters.prolog","("],
+ ["constant.numeric.prolog","1"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["constant.other.atom.prolog","inf"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","N"],
+ ["punctuation.end.statement.parameters.prolog",")"],
+ ["punctuation.separator.parameters.prolog",","],
+ ["meta.fact.prolog"," "],
+ ["variable.parameter.prolog","U"],
+ ["meta.fact.prolog"," "],
+ ["keyword.operator.prolog","is"],
+ ["meta.fact.prolog"," "],
+ ["variable.parameter.prolog","N"],
+ ["meta.fact.prolog"," "],
+ ["invalid.illegal.invalidchar.prolog","//"],
+ ["meta.fact.prolog"," "],
+ ["constant.numeric.prolog","2"],
+ ["punctuation.separator.parameters.prolog",","]
+],[
+ "entity.name.function.fact.prolog",
+ ["meta.fact.prolog"," "],
+ ["constant.other.atom.prolog","findall"],
+ ["punctuation.begin.statement.parameters.prolog","("],
+ ["variable.other.prolog","D"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," ("],
+ ["constant.other.atom.prolog","between"],
+ ["punctuation.begin.statement.parameters.prolog","("],
+ ["constant.numeric.prolog","1"],
+ ["punctuation.separator.statement.prolog",","],
+ ["variable.other.prolog","U"],
+ ["punctuation.separator.statement.prolog",","],
+ ["variable.other.prolog","D"],
+ ["punctuation.end.statement.parameters.prolog",")"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","N"],
+ ["meta.statement.parameters.prolog"," "],
+ ["constant.other.atom.prolog","mod"],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","D"],
+ ["meta.statement.parameters.prolog"," "],
+ ["keyword.operator.prolog","=:="],
+ ["meta.statement.parameters.prolog"," "],
+ ["constant.numeric.prolog","0"],
+ ["punctuation.end.statement.parameters.prolog",")"],
+ ["punctuation.separator.parameters.prolog",","],
+ ["meta.fact.prolog"," "],
+ ["variable.parameter.prolog","Ds"],
+ ["invalid.illegal.invalidchar.prolog",")"],
+ ["punctuation.separator.parameters.prolog",","]
+],[
+ "entity.name.function.fact.prolog",
+ ["meta.fact.prolog"," "],
+ ["constant.other.atom.prolog","sumlist"],
+ ["punctuation.begin.statement.parameters.prolog","("],
+ ["variable.other.prolog","Ds"],
+ ["punctuation.separator.statement.prolog",","],
+ ["meta.statement.parameters.prolog"," "],
+ ["variable.other.prolog","N"],
+ ["punctuation.end.statement.parameters.prolog",")"],
+ ["invalid.illegal.invalidchar.prolog","."]
+]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_properties.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_properties.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_properties.json
new file mode 100644
index 0000000..8831045
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_properties.json
@@ -0,0 +1,68 @@
+[[
+ "start",
+ ["comment","# You are reading the \".properties\" entry."]
+],[
+ "start",
+ ["comment","! The exclamation mark can also mark text as comments."]
+],[
+ "start",
+ ["comment","# The key and element characters #, !, =, and : are written with a preceding backslash to ensure that they are properly loaded."]
+],[
+ "start",
+ ["variable","website "],
+ ["keyword","="],
+ ["string"," http"],
+ ["constant.language.escape","\\"],
+ ["string","://en.wikipedia.org/"]
+],[
+ "start",
+ ["variable","language "],
+ ["keyword","="],
+ ["string"," English"]
+],[
+ "start",
+ ["comment","# The backslash below tells the application to continue reading"]
+],[
+ "start",
+ ["comment","# the value onto the next line."]
+],[
+ "value",
+ ["variable","message "],
+ ["keyword","="],
+ ["string"," Welcome to \\"]
+],[
+ "start",
+ ["string"," Wikipedia!"]
+],[
+ "start",
+ ["comment","# Add spaces to the key"]
+],[
+ "start",
+ ["variable","key"],
+ ["constant.language.escape","\\"],
+ ["variable"," with"],
+ ["constant.language.escape","\\"],
+ ["variable"," spaces "],
+ ["keyword","="],
+ ["string"," This is the value that could be looked up with the key \"key with spaces\"."]
+],[
+ "start",
+ ["comment","# Unicode"]
+],[
+ "start",
+ ["variable","tab "],
+ ["keyword",":"],
+ ["string"," "],
+ ["constant.language.escape","\\u0009"]
+],[
+ "start",
+ ["variable","empty-key"],
+ ["keyword","="]
+],[
+ "start",
+ ["variable","last.line"],
+ ["keyword","="],
+ ["string","value"]
+],[
+ "start"
+]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_python.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_python.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_python.json
new file mode 100644
index 0000000..293c8ff
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_python.json
@@ -0,0 +1,152 @@
+[[
+ "start",
+ ["comment","#!/usr/local/bin/python"]
+],[
+ "start"
+],[
+ "start",
+ ["keyword","import"],
+ ["text"," "],
+ ["identifier","string"],
+ ["text",", "],
+ ["identifier","sys"]
+],[
+ "start"
+],[
+ "start",
+ ["comment","# If no arguments were given, print a helpful message"]
+],[
+ "start",
+ ["keyword","if"],
+ ["text"," "],
+ ["support.function","len"],
+ ["paren.lparen","("],
+ ["identifier","sys"],
+ ["text","."],
+ ["identifier","argv"],
+ ["paren.rparen",")"],
+ ["keyword.operator","=="],
+ ["constant.numeric","1"],
+ ["text",":"]
+],[
+ "qstring3",
+ ["text"," "],
+ ["keyword","print"],
+ ["text"," "],
+ ["string","'''Usage:"]
+],[
+ "start",
+ ["string","celsius temp1 temp2 ...'''"]
+],[
+ "start",
+ ["text"," "],
+ ["identifier","sys"],
+ ["text","."],
+ ["identifier","exit"],
+ ["paren.lparen","("],
+ ["constant.numeric","0"],
+ ["paren.rparen",")"]
+],[
+ "start"
+],[
+ "start",
+ ["comment","# Loop over the arguments"]
+],[
+ "start",
+ ["keyword","for"],
+ ["text"," "],
+ ["identifier","i"],
+ ["text"," "],
+ ["keyword","in"],
+ ["text"," "],
+ ["identifier","sys"],
+ ["text","."],
+ ["identifier","argv"],
+ ["paren.lparen","["],
+ ["constant.numeric","1"],
+ ["text",":"],
+ ["paren.rparen","]"],
+ ["text",":"]
+],[
+ "start",
+ ["text"," "],
+ ["keyword","try"],
+ ["text",":"]
+],[
+ "start",
+ ["text"," "],
+ ["identifier","fahrenheit"],
+ ["keyword.operator","="],
+ ["support.function","float"],
+ ["paren.lparen","("],
+ ["identifier","string"],
+ ["text","."],
+ ["identifier","atoi"],
+ ["paren.lparen","("],
+ ["identifier","i"],
+ ["paren.rparen","))"]
+],[
+ "start",
+ ["text"," "],
+ ["keyword","except"],
+ ["text"," "],
+ ["identifier","string"],
+ ["text","."],
+ ["identifier","atoi_error"],
+ ["text",":"]
+],[
+ "start",
+ ["text"," "],
+ ["keyword","print"],
+ ["text"," "],
+ ["support.function","repr"],
+ ["paren.lparen","("],
+ ["identifier","i"],
+ ["paren.rparen",")"],
+ ["text",", "],
+ ["string","\"not a numeric value\""]
+],[
+ "start",
+ ["text"," "],
+ ["keyword","else"],
+ ["text",":"]
+],[
+ "start",
+ ["text"," "],
+ ["identifier","celsius"],
+ ["keyword.operator","="],
+ ["paren.lparen","("],
+ ["identifier","fahrenheit"],
+ ["keyword.operator","-"],
+ ["constant.numeric","32"],
+ ["paren.rparen",")"],
+ ["keyword.operator","*"],
+ ["constant.numeric","5.0"],
+ ["keyword.operator","/"],
+ ["constant.numeric","9.0"]
+],[
+ "start",
+ ["text"," "],
+ ["keyword","print"],
+ ["text"," "],
+ ["string","'%i"],
+ ["constant.language.escape","\\260"],
+ ["string","F = %i"],
+ ["constant.language.escape","\\260"],
+ ["string","C'"],
+ ["text"," "],
+ ["keyword.operator","%"],
+ ["text"," "],
+ ["paren.lparen","("],
+ ["support.function","int"],
+ ["paren.lparen","("],
+ ["identifier","fahrenheit"],
+ ["paren.rparen",")"],
+ ["text",", "],
+ ["support.function","int"],
+ ["paren.lparen","("],
+ ["identifier","celsius"],
+ ["keyword.operator","+"],
+ ["constant.numeric",".5"],
+ ["paren.rparen","))"]
+]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_r.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_r.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_r.json
new file mode 100644
index 0000000..2d446bc
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_r.json
@@ -0,0 +1,235 @@
+[[
+ "start",
+ ["identifier","Call"],
+ ["keyword.operator",":"]
+],[
+ "start",
+ ["identifier","lm"],
+ ["paren.keyword.operator","("],
+ ["identifier","formula"],
+ ["text"," "],
+ ["keyword.operator","="],
+ ["text"," "],
+ ["identifier","y"],
+ ["text"," "],
+ ["keyword.operator","~"],
+ ["text"," "],
+ ["identifier","x"],
+ ["paren.keyword.operator",")"]
+],[
+ "start",
+ ["text"," "]
+],[
+ "start",
+ ["identifier","Residuals"],
+ ["keyword.operator",":"]
+],[
+ "start",
+ ["constant.numeric","1"],
+ ["text"," "],
+ ["constant.numeric","2"],
+ ["text"," "],
+ ["constant.numeric","3"],
+ ["text"," "],
+ ["constant.numeric","4"],
+ ["text"," "],
+ ["constant.numeric","5"],
+ ["text"," "],
+ ["constant.numeric","6"]
+],[
+ "start",
+ ["constant.numeric","3.3333"],
+ ["text"," "],
+ ["keyword.operator","-"],
+ ["constant.numeric","0.6667"],
+ ["text"," "],
+ ["keyword.operator","-"],
+ ["constant.numeric","2.6667"],
+ ["text"," "],
+ ["keyword.operator","-"],
+ ["constant.numeric","2.6667"],
+ ["text"," "],
+ ["keyword.operator","-"],
+ ["constant.numeric","0.6667"],
+ ["text"," "],
+ ["constant.numeric","3.3333"]
+],[
+ "start",
+ ["text"," "]
+],[
+ "start",
+ ["identifier","Coefficients"],
+ ["keyword.operator",":"]
+],[
+ "start",
+ ["text"," "],
+ ["identifier","Estimate"],
+ ["text"," "],
+ ["identifier","Std"],
+ ["text",". "],
+ ["identifier","Error"],
+ ["text"," "],
+ ["identifier","t"],
+ ["text"," "],
+ ["identifier","value"],
+ ["text"," "],
+ ["identifier","Pr"],
+ ["paren.keyword.operator","("],
+ ["keyword.operator",">|"],
+ ["identifier","t"],
+ ["keyword.operator","|"],
+ ["paren.keyword.operator",")"]
+],[
+ "start",
+ ["paren.keyword.operator","("],
+ ["identifier","Intercept"],
+ ["paren.keyword.operator",")"],
+ ["text"," "],
+ ["keyword.operator","-"],
+ ["constant.numeric","9.3333"],
+ ["text"," "],
+ ["constant.numeric","2.8441"],
+ ["text"," "],
+ ["keyword.operator","-"],
+ ["constant.numeric","3.282"],
+ ["text"," "],
+ ["constant.numeric","0.030453"],
+ ["text"," "],
+ ["keyword.operator","*"]
+],[
+ "start",
+ ["identifier","x"],
+ ["text"," "],
+ ["constant.numeric","7.0000"],
+ ["text"," "],
+ ["constant.numeric","0.7303"],
+ ["text"," "],
+ ["constant.numeric","9.585"],
+ ["text"," "],
+ ["constant.numeric","0.000662"],
+ ["text"," "],
+ ["keyword.operator","***"]
+],[
+ "start",
+ ["keyword.operator","---"]
+],[
+ "start",
+ ["identifier","Signif"],
+ ["text",". "],
+ ["identifier","codes"],
+ ["keyword.operator",":"],
+ ["text"," "],
+ ["constant.numeric","0"],
+ ["text"," ‘"],
+ ["keyword.operator","***"],
+ ["text","’ "],
+ ["constant.numeric","0.001"],
+ ["text"," ‘"],
+ ["keyword.operator","**"],
+ ["text","’ "],
+ ["constant.numeric","0.01"],
+ ["text"," ‘"],
+ ["keyword.operator","*"],
+ ["text","’ "],
+ ["constant.numeric","0.05"],
+ ["text"," ‘.’ "],
+ ["constant.numeric","0.1"],
+ ["text"," ‘ ’ "],
+ ["constant.numeric","1"]
+],[
+ "start",
+ ["text"," "]
+],[
+ "start",
+ ["identifier","Residual"],
+ ["text"," "],
+ ["identifier","standard"],
+ ["text"," "],
+ ["identifier","error"],
+ ["keyword.operator",":"],
+ ["text"," "],
+ ["constant.numeric","3.055"],
+ ["text"," "],
+ ["identifier","on"],
+ ["text"," "],
+ ["constant.numeric","4"],
+ ["text"," "],
+ ["identifier","degrees"],
+ ["text"," "],
+ ["identifier","of"],
+ ["text"," "],
+ ["identifier","freedom"]
+],[
+ "start",
+ ["identifier","Multiple"],
+ ["text"," "],
+ ["identifier","R"],
+ ["keyword.operator","-"],
+ ["identifier","squared"],
+ ["keyword.operator",":"],
+ ["text"," "],
+ ["constant.numeric","0.9583"],
+ ["text",", "],
+ ["identifier","Adjusted"],
+ ["text"," "],
+ ["identifier","R"],
+ ["keyword.operator","-"],
+ ["identifier","squared"],
+ ["keyword.operator",":"],
+ ["text"," "],
+ ["constant.numeric","0.9478"]
+],[
+ "start",
+ ["constant.language.boolean","F"],
+ ["keyword.operator","-"],
+ ["identifier","statistic"],
+ ["keyword.operator",":"],
+ ["text"," "],
+ ["constant.numeric","91.88"],
+ ["text"," "],
+ ["identifier","on"],
+ ["text"," "],
+ ["constant.numeric","1"],
+ ["text"," "],
+ ["identifier","and"],
+ ["text"," "],
+ ["constant.numeric","4"],
+ ["text"," "],
+ ["identifier","DF"],
+ ["text",", "],
+ ["identifier","p"],
+ ["keyword.operator","-"],
+ ["identifier","value"],
+ ["keyword.operator",":"],
+ ["text"," "],
+ ["constant.numeric","0.000662"]
+],[
+ "start",
+ ["text"," "]
+],[
+ "start",
+ ["keyword.operator",">"],
+ ["text"," "],
+ ["identifier","par"],
+ ["paren.keyword.operator","("],
+ ["identifier","mfrow"],
+ ["keyword.operator","="],
+ ["identifier","c"],
+ ["paren.keyword.operator","("],
+ ["constant.numeric","2"],
+ ["text",", "],
+ ["constant.numeric","2"],
+ ["paren.keyword.operator","))"],
+ ["text"," "],
+ ["comment","# Request 2x2 plot layout"]
+],[
+ "start",
+ ["keyword.operator",">"],
+ ["text"," "],
+ ["identifier","plot"],
+ ["paren.keyword.operator","("],
+ ["identifier","lm_1"],
+ ["paren.keyword.operator",")"],
+ ["text"," "],
+ ["comment","# Diagnostic plot of regression model"]
+]]
\ No newline at end of file