tokens_objectivec.json 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792
  1. [[
  2. "start",
  3. ["storage.type.objc","@"],
  4. ["punctuation.definition.storage.type.objc","protocol"],
  5. ["entity.name.type.objc"," Printing"],
  6. ["text",": "],
  7. ["entity.other.inherited-class.objc","someParent"]
  8. ],[
  9. "start",
  10. ["meta.function.objc","-"],
  11. ["paren.lparen","("],
  12. ["storage.type","void"],
  13. ["paren.rparen",")"],
  14. ["text"," "],
  15. ["identifier","print"],
  16. ["punctuation.operator",";"]
  17. ],[
  18. "start",
  19. ["storage.type.objc","@end"]
  20. ],[
  21. "start"
  22. ],[
  23. "start",
  24. ["storage.type.objc","@"],
  25. ["punctuation.definition.storage.type.objc","interface"],
  26. ["entity.name.type.objc"," Fraction"],
  27. ["text",": "],
  28. ["entity.other.inherited-class.objc","NSObject"],
  29. ["text"," "],
  30. ["keyword.operator","<"],
  31. ["identifier","Printing"],
  32. ["punctuation.operator",","],
  33. ["text"," "],
  34. ["support.class.cocoa","NSCopying"],
  35. ["keyword.operator",">"],
  36. ["text"," "],
  37. ["paren.lparen","{"]
  38. ],[
  39. "start",
  40. ["text"," "],
  41. ["storage.type","int"],
  42. ["text"," "],
  43. ["identifier","numerator"],
  44. ["punctuation.operator",";"]
  45. ],[
  46. "start",
  47. ["text"," "],
  48. ["storage.type","int"],
  49. ["text"," "],
  50. ["identifier","denominator"],
  51. ["punctuation.operator",";"]
  52. ],[
  53. "start",
  54. ["paren.rparen","}"]
  55. ],[
  56. "start",
  57. ["storage.type.objc","@end"]
  58. ],[
  59. "start"
  60. ],[
  61. "start",
  62. ["string.begin.objc","@\""],
  63. ["string","blah"],
  64. ["invalid.illegal.unknown-escape.objc","\\8"],
  65. ["punctuation.definition.string.end","\""],
  66. ["text"," "],
  67. ["string.begin.objc","@\""],
  68. ["string","a"],
  69. ["constant.character.escape.objc","\\222"],
  70. ["string","sd"],
  71. ["invalid.illegal.unknown-escape.objc","\\d"],
  72. ["punctuation.definition.string.end","\""],
  73. ["text"," "],
  74. ["string.begin.objc","@\""],
  75. ["constant.character.escape.objc","\\f"],
  76. ["string","aw"],
  77. ["constant.character.escape.objc","\\\"\\?"],
  78. ["string"," "],
  79. ["constant.character.escape.objc","\\'"],
  80. ["string"," "],
  81. ["constant.character.escape.objc","\\4"],
  82. ["string"," n"],
  83. ["constant.character.escape.objc","\\\\"],
  84. ["punctuation.definition.string.end","\""],
  85. ["text"," "],
  86. ["string.begin.objc","@\""],
  87. ["constant.character.escape.objc","\\56"],
  88. ["punctuation.definition.string.end","\""]
  89. ],[
  90. "start",
  91. ["string.begin.objc","@\""],
  92. ["constant.character.escape.objc","\\xSF42"],
  93. ["punctuation.definition.string.end","\""]
  94. ],[
  95. "start"
  96. ],[
  97. "start",
  98. ["meta.function.objc","-"],
  99. ["paren.lparen","("],
  100. ["support.class.cocoa","NSDecimalNumber"],
  101. ["keyword.operator","*"],
  102. ["paren.rparen",")"],
  103. ["identifier","addCount"],
  104. ["punctuation.operator",":"],
  105. ["paren.lparen","("],
  106. ["storage.type.id.objc","id"],
  107. ["paren.rparen",")"],
  108. ["identifier","addObject"],
  109. ["paren.lparen","{"]
  110. ],[
  111. "start"
  112. ],[
  113. "start",
  114. ["keyword.control","return"],
  115. ["text"," "],
  116. ["punctuation.section.scope.begin.objc","["],
  117. ["identifier","count"],
  118. ["text"," "],
  119. ["support.function.any-method.objc","decimalNumberByAdding:"],
  120. ["identifier","addObject"],
  121. ["punctuation.operator","."],
  122. ["identifier","count"],
  123. ["paren.rparen","]"],
  124. ["punctuation.operator",";"]
  125. ],[
  126. "start"
  127. ],[
  128. "start",
  129. ["paren.rparen","}"]
  130. ],[
  131. "start"
  132. ],[
  133. "start",
  134. ["text"," "],
  135. ["keyword.control.macro.objc","NS_DURING"],
  136. ["text"," "],
  137. ["keyword.control.macro.objc","NS_HANDLER"],
  138. ["text"," "],
  139. ["keyword.control.macro.objc","NS_ENDHANDLER"]
  140. ],[
  141. "start"
  142. ],[
  143. "start",
  144. ["punctuation.definition.keyword.objc","@"],
  145. ["keyword.control.exception.objc","try"],
  146. ["text"," "],
  147. ["paren.lparen","{"]
  148. ],[
  149. "start",
  150. ["text"," "],
  151. ["keyword.control","if"],
  152. ["text"," "],
  153. ["paren.lparen","("],
  154. ["identifier","argc"],
  155. ["text"," "],
  156. ["keyword.operator",">"],
  157. ["text"," "],
  158. ["constant.numeric","1"],
  159. ["paren.rparen",")"],
  160. ["text"," "],
  161. ["paren.lparen","{"]
  162. ],[
  163. "start",
  164. ["text"," "],
  165. ["punctuation.definition.keyword.objc","@"],
  166. ["keyword.control.exception.objc","throw"],
  167. ["text"," "],
  168. ["punctuation.section.scope.begin.objc","["],
  169. ["support.class.cocoa","NSException"],
  170. ["text"," "],
  171. ["support.function.any-method.objc","exceptionWithName:"],
  172. ["string.begin.objc","@\""],
  173. ["string","Throwing a test exception"],
  174. ["punctuation.definition.string.end","\""],
  175. ["text"," "],
  176. ["identifier","reason"],
  177. ["punctuation.operator",":"],
  178. ["string.begin.objc","@\""],
  179. ["string","Testing the @throw directive."],
  180. ["punctuation.definition.string.end","\""],
  181. ["text"," "],
  182. ["identifier","userInfo"],
  183. ["punctuation.operator",":"],
  184. ["constant.language.objc","nil"],
  185. ["paren.rparen","]"],
  186. ["punctuation.operator",";"]
  187. ],[
  188. "start",
  189. ["text"," "],
  190. ["paren.rparen","}"]
  191. ],[
  192. "start",
  193. ["paren.rparen","}"],
  194. ["text"," "]
  195. ],[
  196. "start",
  197. ["punctuation.definition.keyword.objc","@"],
  198. ["keyword.control.exception.objc","catch"],
  199. ["text"," "],
  200. ["paren.lparen","("],
  201. ["storage.type.id.objc","id"],
  202. ["text"," "],
  203. ["identifier","theException"],
  204. ["paren.rparen",")"],
  205. ["text"," "],
  206. ["paren.lparen","{"]
  207. ],[
  208. "start",
  209. ["text"," "],
  210. ["support.function.cocoa","NSLog"],
  211. ["paren.lparen","("],
  212. ["string.begin.objc","@\""],
  213. ["string","%@"],
  214. ["punctuation.definition.string.end","\""],
  215. ["punctuation.operator",","],
  216. ["text"," "],
  217. ["identifier","theException"],
  218. ["paren.rparen",")"],
  219. ["punctuation.operator",";"]
  220. ],[
  221. "start",
  222. ["text"," "],
  223. ["identifier","result"],
  224. ["text"," "],
  225. ["keyword.operator","="],
  226. ["text"," "],
  227. ["constant.numeric","1"],
  228. ["text"," "],
  229. ["punctuation.operator",";"]
  230. ],[
  231. "start",
  232. ["paren.rparen","}"],
  233. ["text"," "]
  234. ],[
  235. "start",
  236. ["punctuation.definition.keyword.objc","@"],
  237. ["keyword.control.exception.objc","finally"],
  238. ["text"," "],
  239. ["paren.lparen","{"]
  240. ],[
  241. "start",
  242. ["text"," "],
  243. ["support.function.cocoa","NSLog"],
  244. ["paren.lparen","("],
  245. ["string.begin.objc","@\""],
  246. ["string","This always happens."],
  247. ["punctuation.definition.string.end","\""],
  248. ["paren.rparen",")"],
  249. ["punctuation.operator",";"]
  250. ],[
  251. "start",
  252. ["text"," "],
  253. ["identifier","result"],
  254. ["text"," "],
  255. ["keyword.operator","+="],
  256. ["text"," "],
  257. ["constant.numeric","2"],
  258. ["text"," "],
  259. ["punctuation.operator",";"]
  260. ],[
  261. "start",
  262. ["paren.rparen","}"]
  263. ],[
  264. "start"
  265. ],[
  266. "start",
  267. ["text"," "],
  268. ["punctuation.definition.storage.modifier.objc","@"],
  269. ["storage.modifier.objc","synchronized"],
  270. ["paren.lparen","("],
  271. ["identifier","lock"],
  272. ["paren.rparen",")"],
  273. ["text"," "],
  274. ["paren.lparen","{"]
  275. ],[
  276. "start",
  277. ["text"," "],
  278. ["support.function.cocoa","NSLog"],
  279. ["paren.lparen","("],
  280. ["string.begin.objc","@\""],
  281. ["string","Hello World"],
  282. ["punctuation.definition.string.end","\""],
  283. ["paren.rparen",")"],
  284. ["punctuation.operator",";"]
  285. ],[
  286. "start",
  287. ["text"," "],
  288. ["paren.rparen","}"]
  289. ],[
  290. "start"
  291. ],[
  292. "start",
  293. ["storage.type","struct"],
  294. ["text"," "],
  295. ["paren.lparen","{"],
  296. ["text"," "],
  297. ["punctuation.definition.keyword.objc","@"],
  298. ["keyword.other.objc","defs"],
  299. ["paren.lparen","("],
  300. ["text"," "],
  301. ["support.class.cocoa","NSObject"],
  302. ["paren.rparen",")"],
  303. ["text"," "],
  304. ["paren.rparen","}"]
  305. ],[
  306. "start"
  307. ],[
  308. "start",
  309. ["storage.type","char"],
  310. ["text"," "],
  311. ["keyword.operator","*"],
  312. ["identifier","enc1"],
  313. ["text"," "],
  314. ["keyword.operator","="],
  315. ["text"," "],
  316. ["punctuation.definition.keyword.objc","@"],
  317. ["keyword.other.objc","encode"],
  318. ["paren.lparen","("],
  319. ["storage.type","int"],
  320. ["paren.rparen",")"],
  321. ["punctuation.operator",";"]
  322. ],[
  323. "start"
  324. ],[
  325. "start",
  326. ["text"," "],
  327. ["storage.type.objc","IBOutlet"],
  328. ["text","|"],
  329. ["storage.type.objc","IBAction"],
  330. ["text","|"],
  331. ["storage.type.objc","BOOL"],
  332. ["text","|"],
  333. ["storage.type.objc","SEL"],
  334. ["text","|"],
  335. ["storage.type.id.objc","id"],
  336. ["text","|"],
  337. ["storage.type.objc","unichar"],
  338. ["text","|"],
  339. ["storage.type.objc","IMP"],
  340. ["text","|"],
  341. ["storage.type.objc","Class"],
  342. ["text"," "]
  343. ],[
  344. "start"
  345. ],[
  346. "start"
  347. ],[
  348. "start",
  349. ["text"," "],
  350. ["punctuation.definition.storage.type.objc","@"],
  351. ["storage.type.objc","class"],
  352. ["text"," "],
  353. ["punctuation.definition.storage.type.objc","@"],
  354. ["storage.type.objc","protocol"]
  355. ],[
  356. "start"
  357. ],[
  358. "start",
  359. ["punctuation.definition.storage.modifier.objc","@"],
  360. ["storage.modifier.objc","public"]
  361. ],[
  362. "start",
  363. ["text"," "],
  364. ["comment","// instance variables"]
  365. ],[
  366. "start",
  367. ["punctuation.definition.storage.modifier.objc","@"],
  368. ["storage.modifier.objc","package"]
  369. ],[
  370. "start",
  371. ["text"," "],
  372. ["comment","// instance variables"]
  373. ],[
  374. "start",
  375. ["punctuation.definition.storage.modifier.objc","@"],
  376. ["storage.modifier.objc","protected"]
  377. ],[
  378. "start",
  379. ["text"," "],
  380. ["comment","// instance variables"]
  381. ],[
  382. "start",
  383. ["punctuation.definition.storage.modifier.objc","@"],
  384. ["storage.modifier.objc","private"]
  385. ],[
  386. "start",
  387. ["text"," "],
  388. ["comment","// instance variables"]
  389. ],[
  390. "start"
  391. ],[
  392. "start",
  393. ["text"," "],
  394. ["constant.language.objc","YES"],
  395. ["text"," "],
  396. ["constant.language.objc","NO"],
  397. ["text"," "],
  398. ["constant.language.objc","Nil"],
  399. ["text"," "],
  400. ["constant.language.objc","nil"]
  401. ],[
  402. "start",
  403. ["support.variable.foundation","NSApp"],
  404. ["paren.lparen","("],
  405. ["paren.rparen",")"]
  406. ],[
  407. "start",
  408. ["support.function.cocoa.leopard","NSRectToCGRect"],
  409. ["text"," "],
  410. ["paren.lparen","("],
  411. ["identifier","Protocol"],
  412. ["text"," "],
  413. ["identifier","ProtocolFromString"],
  414. ["punctuation.operator",":"],
  415. ["string","\"NSTableViewDelegate\""],
  416. ["paren.rparen","))"]
  417. ],[
  418. "start"
  419. ],[
  420. "start",
  421. ["punctuation.section.scope.begin.objc","["],
  422. ["identifier","SPPoint"],
  423. ["text"," "],
  424. ["support.function.any-method.objc","pointFromCGPoint:"],
  425. ["identifier","self"],
  426. ["punctuation.operator","."],
  427. ["identifier","position"],
  428. ["paren.rparen","]"]
  429. ],[
  430. "start"
  431. ],[
  432. "start",
  433. ["support.function.cocoa","NSRoundDownToMultipleOfPageSize"]
  434. ],[
  435. "start"
  436. ],[
  437. "start",
  438. ["keyword","#import"],
  439. ["constant.other"," <stdio.h>"]
  440. ],[
  441. "start"
  442. ],[
  443. "start",
  444. ["storage.type","int"],
  445. ["text"," "],
  446. ["identifier","main"],
  447. ["paren.lparen","("],
  448. ["text"," "],
  449. ["storage.type","int"],
  450. ["text"," "],
  451. ["identifier","argc"],
  452. ["punctuation.operator",","],
  453. ["text"," "],
  454. ["storage.modifier","const"],
  455. ["text"," "],
  456. ["storage.type","char"],
  457. ["text"," "],
  458. ["keyword.operator","*"],
  459. ["identifier","argv"],
  460. ["punctuation.section.scope.begin.objc","["],
  461. ["punctuation.section.scope.end.objc","]"],
  462. ["text"," "],
  463. ["paren.rparen",")"],
  464. ["text"," "],
  465. ["paren.lparen","{"]
  466. ],[
  467. "start",
  468. ["text"," "],
  469. ["support.function.C99.c","printf"],
  470. ["paren.lparen","("],
  471. ["text"," "],
  472. ["string","\"hello world\\n\""],
  473. ["text"," "],
  474. ["paren.rparen",")"],
  475. ["punctuation.operator",";"]
  476. ],[
  477. "start",
  478. ["text"," "],
  479. ["keyword.control","return"],
  480. ["text"," "],
  481. ["constant.numeric","0"],
  482. ["punctuation.operator",";"]
  483. ],[
  484. "start",
  485. ["paren.rparen","}"]
  486. ],[
  487. "start"
  488. ],[
  489. "start",
  490. ["support.class.cocoa","NSChangeSpelling"]
  491. ],[
  492. "start"
  493. ],[
  494. "start",
  495. ["string.begin.objc","@\""],
  496. ["string","0 != SUBQUERY(image, $x, 0 != SUBQUERY($x.bookmarkItems, $y, $y.@count == 0).@count).@count"],
  497. ["punctuation.definition.string.end","\""]
  498. ],[
  499. "start"
  500. ],[
  501. "start",
  502. ["punctuation.definition.storage.type.objc","@selector"],
  503. ["punctuation","("],
  504. ["support.function.any-method.name-of-parameter.objc","lowercaseString"],
  505. ["punctuation",")"],
  506. ["text"," "],
  507. ["punctuation.definition.storage.type.objc","@selector"],
  508. ["punctuation","("],
  509. ["support.function.any-method.name-of-parameter.objc","uppercaseString:"],
  510. ["punctuation",")"]
  511. ],[
  512. "start"
  513. ],[
  514. "start",
  515. ["identifier","NSFetchRequest"],
  516. ["text"," "],
  517. ["keyword.operator","*"],
  518. ["identifier","localRequest"],
  519. ["text"," "],
  520. ["keyword.operator","="],
  521. ["text"," "],
  522. ["punctuation.section.scope.begin.objc","[["],
  523. ["identifier","NSFetchRequest"],
  524. ["text"," "],
  525. ["support.function.any-method.objc","alloc"],
  526. ["paren.rparen","]"],
  527. ["text"," "],
  528. ["identifier","init"],
  529. ["paren.rparen","]"],
  530. ["punctuation.operator",";"],
  531. ["text"," "]
  532. ],[
  533. "start",
  534. ["identifier","localRequest"],
  535. ["punctuation.operator","."],
  536. ["identifier","entity"],
  537. ["text"," "],
  538. ["keyword.operator","="],
  539. ["text"," "],
  540. ["punctuation.section.scope.begin.objc","["],
  541. ["identifier","NSEntityDescription"],
  542. ["text"," "],
  543. ["support.function.any-method.objc","entityForName:"],
  544. ["string.begin.objc","@\""],
  545. ["string","VNSource"],
  546. ["punctuation.definition.string.end","\""],
  547. ["text"," "],
  548. ["identifier","inManagedObjectContext"],
  549. ["punctuation.operator",":"],
  550. ["identifier","context"],
  551. ["paren.rparen","]"],
  552. ["punctuation.operator",";"],
  553. ["text"," "]
  554. ],[
  555. "start",
  556. ["identifier","localRequest"],
  557. ["punctuation.operator","."],
  558. ["identifier","sortDescriptors"],
  559. ["text"," "],
  560. ["keyword.operator","="],
  561. ["text"," "],
  562. ["punctuation.section.scope.begin.objc","["],
  563. ["support.class.cocoa","NSArray"],
  564. ["text"," "],
  565. ["support.function.any-method.objc","arrayWithObject:"],
  566. ["punctuation.section.scope.begin.objc","["],
  567. ["support.class.cocoa","NSSortDescriptor"],
  568. ["text"," "],
  569. ["support.function.any-method.objc","sortDescriptorWithKey:"],
  570. ["string.begin.objc","@\""],
  571. ["string","resolution"],
  572. ["punctuation.definition.string.end","\""],
  573. ["text"," "],
  574. ["identifier","ascending"],
  575. ["punctuation.operator",":"],
  576. ["constant.language.objc","YES"],
  577. ["paren.rparen","]]"],
  578. ["punctuation.operator",";"],
  579. ["text"," "]
  580. ],[
  581. "start",
  582. ["support.class.cocoa","NSPredicate"],
  583. ["text"," "],
  584. ["keyword.operator","*"],
  585. ["identifier","predicate"],
  586. ["text"," "],
  587. ["keyword.operator","="],
  588. ["text"," "],
  589. ["punctuation.section.scope.begin.objc","["],
  590. ["support.class.cocoa","NSPredicate"],
  591. ["text"," "],
  592. ["support.function.any-method.objc","predicateWithFormat:"],
  593. ["string.begin.objc","@\""],
  594. ["string","0 != SUBQUERY(image, $x, 0 != SUBQUERY($x.bookmarkItems, $y, $y.@count == 0).@count).@count"],
  595. ["punctuation.definition.string.end","\""],
  596. ["paren.rparen","]"],
  597. ["punctuation.operator",";"]
  598. ],[
  599. "start",
  600. ["punctuation.section.scope.begin.objc","["],
  601. ["support.class.cocoa","NSPredicate"],
  602. ["text"," "],
  603. ["support.function.any-method.objc","predicateWithFormat:"],
  604. ["paren.rparen","]"]
  605. ],[
  606. "start",
  607. ["support.class.cocoa","NSString"],
  608. ["text"," "],
  609. ["keyword.operator","*"],
  610. ["identifier","predicateString"],
  611. ["text"," "],
  612. ["keyword.operator","="],
  613. ["text"," "],
  614. ["punctuation.section.scope.begin.objc","["],
  615. ["support.class.cocoa","NSString"],
  616. ["text"," "],
  617. ["support.function.any-method.objc","stringWithFormat:"],
  618. ["string.begin.objc","@\""],
  619. ["string","SELF beginsWith[cd] %@"],
  620. ["punctuation.definition.string.end","\""],
  621. ["punctuation.operator",","],
  622. ["text"," "],
  623. ["identifier","searchString"],
  624. ["paren.rparen","]"],
  625. ["punctuation.operator",";"]
  626. ],[
  627. "start",
  628. ["support.class.cocoa","NSPredicate"],
  629. ["text"," "],
  630. ["keyword.operator","*"],
  631. ["identifier","pred"],
  632. ["text"," "],
  633. ["keyword.operator","="],
  634. ["text"," "],
  635. ["punctuation.section.scope.begin.objc","["],
  636. ["support.class.cocoa","NSPredicate"],
  637. ["text"," "],
  638. ["support.function.any-method.objc","predicateWithFormat:"],
  639. ["identifier","predicateString"],
  640. ["paren.rparen","]"],
  641. ["punctuation.operator",";"]
  642. ],[
  643. "start",
  644. ["support.class.cocoa","NSArray"],
  645. ["text"," "],
  646. ["keyword.operator","*"],
  647. ["identifier","filteredKeys"],
  648. ["text"," "],
  649. ["keyword.operator","="],
  650. ["text"," "],
  651. ["punctuation.section.scope.begin.objc","[["],
  652. ["identifier","myMutableDictionary"],
  653. ["text"," "],
  654. ["support.function.any-method.objc","allKeys"],
  655. ["paren.rparen","]"],
  656. ["text"," "],
  657. ["identifier","filteredArrayUsingPredicate"],
  658. ["punctuation.operator",":"],
  659. ["identifier","pred"],
  660. ["paren.rparen","]"],
  661. ["punctuation.operator",";"],
  662. ["text"," "]
  663. ],[
  664. "start"
  665. ],[
  666. "start",
  667. ["identifier","localRequest"],
  668. ["punctuation.operator","."],
  669. ["identifier","predicate"],
  670. ["text"," "],
  671. ["keyword.operator","="],
  672. ["text"," "],
  673. ["punctuation.section.scope.begin.objc","["],
  674. ["support.class.cocoa","NSPredicate"],
  675. ["text"," "],
  676. ["support.function.any-method.objc","predicateWithFormat:"],
  677. ["string.begin.objc","@\""],
  678. ["string","whichChart = %@"],
  679. ["punctuation.definition.string.end","\""],
  680. ["text"," "],
  681. ["identifier","argumentArray"],
  682. ["punctuation.operator",":"],
  683. ["text"," "],
  684. ["identifier","listChartToDownload"],
  685. ["paren.rparen","]"],
  686. ["punctuation.operator",";"]
  687. ],[
  688. "start",
  689. ["identifier","localRequest"],
  690. ["punctuation.operator","."],
  691. ["identifier","fetchBatchSize"],
  692. ["text"," "],
  693. ["keyword.operator","="],
  694. ["text"," "],
  695. ["constant.numeric","100"],
  696. ["punctuation.operator",";"]
  697. ],[
  698. "start",
  699. ["identifier","arrayRequest"],
  700. ["text"," "],
  701. ["keyword.operator","="],
  702. ["text"," "],
  703. ["punctuation.section.scope.begin.objc","["],
  704. ["identifier","context"],
  705. ["text"," "],
  706. ["support.function.any-method.objc","executeFetchRequest:"],
  707. ["identifier","localRequest"],
  708. ["text"," "],
  709. ["identifier","error"],
  710. ["punctuation.operator",":"],
  711. ["keyword.operator","&"],
  712. ["identifier","error1"],
  713. ["paren.rparen","]"],
  714. ["punctuation.operator",";"]
  715. ],[
  716. "start"
  717. ],[
  718. "start",
  719. ["punctuation.section.scope.begin.objc","["],
  720. ["identifier","localRequest"],
  721. ["text"," "],
  722. ["support.function.any-method.objc","release"],
  723. ["paren.rparen","]"],
  724. ["punctuation.operator",";"]
  725. ],[
  726. "start"
  727. ],[
  728. "start",
  729. ["keyword","#ifndef"],
  730. ["constant.other"," Nil"]
  731. ],[
  732. "start",
  733. ["keyword","#define"],
  734. ["constant.other"," Nil __DARWIN_NULL "],
  735. ["comment","/* id of Nil class */"]
  736. ],[
  737. "start",
  738. ["keyword","#endif"]
  739. ],[
  740. "start"
  741. ],[
  742. "start",
  743. ["storage.type.objc","@implementation"],
  744. ["entity.name.type.objc"," MyObject"]
  745. ],[
  746. "start",
  747. ["meta.function.objc","- "],
  748. ["paren.lparen","("],
  749. ["storage.type","unsigned"],
  750. ["text"," "],
  751. ["storage.type","int"],
  752. ["paren.rparen",")"],
  753. ["identifier","areaOfWidth"],
  754. ["punctuation.operator",":"],
  755. ["paren.lparen","("],
  756. ["storage.type","unsigned"],
  757. ["text"," "],
  758. ["storage.type","int"],
  759. ["paren.rparen",")"],
  760. ["identifier","width"]
  761. ],[
  762. "start",
  763. ["text"," "],
  764. ["identifier","height"],
  765. ["punctuation.operator",":"],
  766. ["paren.lparen","("],
  767. ["storage.type","unsigned"],
  768. ["text"," "],
  769. ["storage.type","int"],
  770. ["paren.rparen",")"],
  771. ["identifier","height"]
  772. ],[
  773. "start",
  774. ["paren.lparen","{"]
  775. ],[
  776. "start",
  777. ["text"," "],
  778. ["keyword.control","return"],
  779. ["text"," "],
  780. ["identifier","width"],
  781. ["keyword.operator","*"],
  782. ["identifier","height"],
  783. ["punctuation.operator",";"]
  784. ],[
  785. "start",
  786. ["paren.rparen","}"]
  787. ],[
  788. "start",
  789. ["storage.type.objc","@end"]
  790. ],[
  791. "start"
  792. ]]