corrade-nucleus-nucleons – Blame information for rev 20
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
20 | office | 1 | define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) { |
2 | "use strict"; |
||
3 | |||
4 | var oop = require("../lib/oop"); |
||
5 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; |
||
6 | |||
7 | var DocCommentHighlightRules = function() { |
||
8 | this.$rules = { |
||
9 | "start" : [ { |
||
10 | token : "comment.doc.tag", |
||
11 | regex : "@[\\w\\d_]+" // TODO: fix email addresses |
||
12 | }, |
||
13 | DocCommentHighlightRules.getTagRule(), |
||
14 | { |
||
15 | defaultToken : "comment.doc", |
||
16 | caseInsensitive: true |
||
17 | }] |
||
18 | }; |
||
19 | }; |
||
20 | |||
21 | oop.inherits(DocCommentHighlightRules, TextHighlightRules); |
||
22 | |||
23 | DocCommentHighlightRules.getTagRule = function(start) { |
||
24 | return { |
||
25 | token : "comment.doc.tag.storage.type", |
||
26 | regex : "\\b(?:TODO|FIXME|XXX|HACK)\\b" |
||
27 | }; |
||
28 | } |
||
29 | |||
30 | DocCommentHighlightRules.getStartRule = function(start) { |
||
31 | return { |
||
32 | token : "comment.doc", // doc comment |
||
33 | regex : "\\/\\*(?=\\*)", |
||
34 | next : start |
||
35 | }; |
||
36 | }; |
||
37 | |||
38 | DocCommentHighlightRules.getEndRule = function (start) { |
||
39 | return { |
||
40 | token : "comment.doc", // closing comment |
||
41 | regex : "\\*\\/", |
||
42 | next : start |
||
43 | }; |
||
44 | }; |
||
45 | |||
46 | |||
47 | exports.DocCommentHighlightRules = DocCommentHighlightRules; |
||
48 | |||
49 | }); |
||
50 | |||
51 | define("ace/mode/c_cpp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"], function(require, exports, module) { |
||
52 | "use strict"; |
||
53 | |||
54 | var oop = require("../lib/oop"); |
||
55 | var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules; |
||
56 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; |
||
57 | var cFunctions = exports.cFunctions = "\\b(?:hypot(?:f|l)?|s(?:scanf|ystem|nprintf|ca(?:nf|lb(?:n(?:f|l)?|ln(?:f|l)?))|i(?:n(?:h(?:f|l)?|f|l)?|gn(?:al|bit))|tr(?:s(?:tr|pn)|nc(?:py|at|mp)|c(?:spn|hr|oll|py|at|mp)|to(?:imax|d|u(?:l(?:l)?|max)|k|f|l(?:d|l)?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(?:jmp|vbuf|locale|buf)|qrt(?:f|l)?|w(?:scanf|printf)|rand)|n(?:e(?:arbyint(?:f|l)?|xt(?:toward(?:f|l)?|after(?:f|l)?))|an(?:f|l)?)|c(?:s(?:in(?:h(?:f|l)?|f|l)?|qrt(?:f|l)?)|cos(?:h(?:f)?|f|l)?|imag(?:f|l)?|t(?:ime|an(?:h(?:f|l)?|f|l)?)|o(?:s(?:h(?:f|l)?|f|l)?|nj(?:f|l)?|pysign(?:f|l)?)|p(?:ow(?:f|l)?|roj(?:f|l)?)|e(?:il(?:f|l)?|xp(?:f|l)?)|l(?:o(?:ck|g(?:f|l)?)|earerr)|a(?:sin(?:h(?:f|l)?|f|l)?|cos(?:h(?:f|l)?|f|l)?|tan(?:h(?:f|l)?|f|l)?|lloc|rg(?:f|l)?|bs(?:f|l)?)|real(?:f|l)?|brt(?:f|l)?)|t(?:ime|o(?:upper|lower)|an(?:h(?:f|l)?|f|l)?|runc(?:f|l)?|gamma(?:f|l)?|mp(?:nam|file))|i(?:s(?:space|n(?:ormal|an)|cntrl|inf|digit|u(?:nordered|pper)|p(?:unct|rint)|finite|w(?:space|c(?:ntrl|type)|digit|upper|p(?:unct|rint)|lower|al(?:num|pha)|graph|xdigit|blank)|l(?:ower|ess(?:equal|greater)?)|al(?:num|pha)|gr(?:eater(?:equal)?|aph)|xdigit|blank)|logb(?:f|l)?|max(?:div|abs))|di(?:v|fftime)|_Exit|unget(?:c|wc)|p(?:ow(?:f|l)?|ut(?:s|c(?:har)?|wc(?:har)?)|error|rintf)|e(?:rf(?:c(?:f|l)?|f|l)?|x(?:it|p(?:2(?:f|l)?|f|l|m1(?:f|l)?)?))|v(?:s(?:scanf|nprintf|canf|printf|w(?:scanf|printf))|printf|f(?:scanf|printf|w(?:scanf|printf))|w(?:scanf|printf)|a_(?:start|copy|end|arg))|qsort|f(?:s(?:canf|e(?:tpos|ek))|close|tell|open|dim(?:f|l)?|p(?:classify|ut(?:s|c|w(?:s|c))|rintf)|e(?:holdexcept|set(?:e(?:nv|xceptflag)|round)|clearexcept|testexcept|of|updateenv|r(?:aiseexcept|ror)|get(?:e(?:nv|xceptflag)|round))|flush|w(?:scanf|ide|printf|rite)|loor(?:f|l)?|abs(?:f|l)?|get(?:s|c|pos|w(?:s|c))|re(?:open|e|ad|xp(?:f|l)?)|m(?:in(?:f|l)?|od(?:f|l)?|a(?:f|l|x(?:f|l)?)?))|l(?:d(?:iv|exp(?:f|l)?)|o(?:ngjmp|cal(?:time|econv)|g(?:1(?:p(?:f|l)?|0(?:f|l)?)|2(?:f|l)?|f|l|b(?:f|l)?)?)|abs|l(?:div|abs|r(?:int(?:f|l)?|ound(?:f|l)?))|r(?:int(?:f|l)?|ound(?:f|l)?)|gamma(?:f|l)?)|w(?:scanf|c(?:s(?:s(?:tr|pn)|nc(?:py|at|mp)|c(?:spn|hr|oll|py|at|mp)|to(?:imax|d|u(?:l(?:l)?|max)|k|f|l(?:d|l)?|mbs)|pbrk|ftime|len|r(?:chr|tombs)|xfrm)|to(?:b|mb)|rtomb)|printf|mem(?:set|c(?:hr|py|mp)|move))|a(?:s(?:sert|ctime|in(?:h(?:f|l)?|f|l)?)|cos(?:h(?:f|l)?|f|l)?|t(?:o(?:i|f|l(?:l)?)|exit|an(?:h(?:f|l)?|2(?:f|l)?|f|l)?)|b(?:s|ort))|g(?:et(?:s|c(?:har)?|env|wc(?:har)?)|mtime)|r(?:int(?:f|l)?|ound(?:f|l)?|e(?:name|alloc|wind|m(?:ove|quo(?:f|l)?|ainder(?:f|l)?))|a(?:nd|ise))|b(?:search|towc)|m(?:odf(?:f|l)?|em(?:set|c(?:hr|py|mp)|move)|ktime|alloc|b(?:s(?:init|towcs|rtowcs)|towc|len|r(?:towc|len))))\\b" |
||
58 | |||
59 | var c_cppHighlightRules = function() { |
||
60 | |||
61 | var keywordControls = ( |
||
62 | "break|case|continue|default|do|else|for|goto|if|_Pragma|" + |
||
63 | "return|switch|while|catch|operator|try|throw|using" |
||
64 | ); |
||
65 | |||
66 | var storageType = ( |
||
67 | "asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|" + |
||
68 | "_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void|" + |
||
69 | "class|wchar_t|template|char16_t|char32_t" |
||
70 | ); |
||
71 | |||
72 | var storageModifiers = ( |
||
73 | "const|extern|register|restrict|static|volatile|inline|private|" + |
||
74 | "protected|public|friend|explicit|virtual|export|mutable|typename|" + |
||
75 | "constexpr|new|delete|alignas|alignof|decltype|noexcept|thread_local" |
||
76 | ); |
||
77 | |||
78 | var keywordOperators = ( |
||
79 | "and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq" + |
||
80 | "const_cast|dynamic_cast|reinterpret_cast|static_cast|sizeof|namespace" |
||
81 | ); |
||
82 | |||
83 | var builtinConstants = ( |
||
84 | "NULL|true|false|TRUE|FALSE|nullptr" |
||
85 | ); |
||
86 | |||
87 | var keywordMapper = this.$keywords = this.createKeywordMapper({ |
||
88 | "keyword.control" : keywordControls, |
||
89 | "storage.type" : storageType, |
||
90 | "storage.modifier" : storageModifiers, |
||
91 | "keyword.operator" : keywordOperators, |
||
92 | "variable.language": "this", |
||
93 | "constant.language": builtinConstants |
||
94 | }, "identifier"); |
||
95 | |||
96 | var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b"; |
||
97 | var escapeRe = /\\(?:['"?\\abfnrtv]|[0-7]{1,3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}U[a-fA-F\d]{8}|.)/.source; |
||
98 | |||
99 | this.$rules = { |
||
100 | "start" : [ |
||
101 | { |
||
102 | token : "comment", |
||
103 | regex : "//$", |
||
104 | next : "start" |
||
105 | }, { |
||
106 | token : "comment", |
||
107 | regex : "//", |
||
108 | next : "singleLineComment" |
||
109 | }, |
||
110 | DocCommentHighlightRules.getStartRule("doc-start"), |
||
111 | { |
||
112 | token : "comment", // multi line comment |
||
113 | regex : "\\/\\*", |
||
114 | next : "comment" |
||
115 | }, { |
||
116 | token : "string", // character |
||
117 | regex : "'(?:" + escapeRe + "|.)?'" |
||
118 | }, { |
||
119 | token : "string.start", |
||
120 | regex : '"', |
||
121 | stateName: "qqstring", |
||
122 | next: [ |
||
123 | { token: "string", regex: /\\\s*$/, next: "qqstring" }, |
||
124 | { token: "constant.language.escape", regex: escapeRe }, |
||
125 | { token: "constant.language.escape", regex: /%[^'"\\]/ }, |
||
126 | { token: "string.end", regex: '"|$', next: "start" }, |
||
127 | { defaultToken: "string"} |
||
128 | ] |
||
129 | }, { |
||
130 | token : "string.start", |
||
131 | regex : 'R"\\(', |
||
132 | stateName: "rawString", |
||
133 | next: [ |
||
134 | { token: "string.end", regex: '\\)"', next: "start" }, |
||
135 | { defaultToken: "string"} |
||
136 | ] |
||
137 | }, { |
||
138 | token : "constant.numeric", // hex |
||
139 | regex : "0[xX][0-9a-fA-F]+(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b" |
||
140 | }, { |
||
141 | token : "constant.numeric", // float |
||
142 | regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b" |
||
143 | }, { |
||
144 | token : "keyword", // pre-compiler directives |
||
145 | regex : "#\\s*(?:include|import|pragma|line|define|undef)\\b", |
||
146 | next : "directive" |
||
147 | }, { |
||
148 | token : "keyword", // special case pre-compiler directive |
||
149 | regex : "#\\s*(?:endif|if|ifdef|else|elif|ifndef)\\b" |
||
150 | }, { |
||
151 | token : "support.function.C99.c", |
||
152 | regex : cFunctions |
||
153 | }, { |
||
154 | token : keywordMapper, |
||
155 | regex : "[a-zA-Z_$][a-zA-Z0-9_$]*" |
||
156 | }, { |
||
157 | token : "keyword.operator", |
||
158 | regex : /--|\+\+|<<=|>>=|>>>=|<>|&&|\|\||\?:|[*%\/+\-&\^|~!<>=]=?/>>=|><=|> |
||
159 | <<=|><=|><><> }, {>>=|><=|> |
||
160 | <<=|><=|><><> token : "punctuation.operator",>>=|><=|> |
||
161 | <<=|><=|><><> regex : "\\?|\\:|\\,|\\;|\\.">>=|><=|> |
||
162 | <<=|><=|><><> }, {>>=|><=|> |
||
163 | <<=|><=|><><> token : "paren.lparen",>>=|><=|> |
||
164 | <<=|><=|><><> regex : "[[({]">>=|><=|> |
||
165 | <<=|><=|><><> }, {>>=|><=|> |
||
166 | <<=|><=|><><> token : "paren.rparen",>>=|><=|> |
||
167 | <<=|><=|><><> regex : "[\\])}]">>=|><=|> |
||
168 | <<=|><=|><><> }, {>>=|><=|> |
||
169 | <<=|><=|><><> token : "text",>>=|><=|> |
||
170 | <<=|><=|><><> regex : "\\s+">>=|><=|> |
||
171 | <<=|><=|><><> }>>=|><=|> |
||
172 | <<=|><=|><><> ],>>=|><=|> |
||
173 | <<=|><=|><><> "comment" : [>>=|><=|> |
||
174 | <<=|><=|><><> {>>=|><=|> |
||
175 | <<=|><=|><><> token : "comment", // closing comment>>=|><=|> |
||
176 | <<=|><=|><><> regex : ".*?\\*\\/",>>=|><=|> |
||
177 | <<=|><=|><><> next : "start">>=|><=|> |
||
178 | <<=|><=|><><> }, {>>=|><=|> |
||
179 | <<=|><=|><><> token : "comment", // comment spanning whole line>>=|><=|> |
||
180 | <<=|><=|><><> regex : ".+">>=|><=|> |
||
181 | <<=|><=|><><> }>>=|><=|> |
||
182 | <<=|><=|><><> ],>>=|><=|> |
||
183 | <<=|><=|><><> "singleLineComment" : [>>=|><=|> |
||
184 | <<=|><=|><><> {>>=|><=|> |
||
185 | <<=|><=|><><> token : "comment",>>=|><=|> |
||
186 | <<=|><=|><><> regex : /\\$/,>>=|><=|> |
||
187 | <<=|><=|><><> next : "singleLineComment">>=|><=|> |
||
188 | <<=|><=|><><> }, {>>=|><=|> |
||
189 | <<=|><=|><><> token : "comment",>>=|><=|> |
||
190 | <<=|><=|><><> regex : /$/,>>=|><=|> |
||
191 | <<=|><=|><><> next : "start">>=|><=|> |
||
192 | <<=|><=|><><> }, {>>=|><=|> |
||
193 | <<=|><=|><><> defaultToken: "comment">>=|><=|> |
||
194 | <<=|><=|><><> }>>=|><=|> |
||
195 | <<=|><=|><><> ],>>=|><=|> |
||
196 | <<=|><=|><><> "directive" : [>>=|><=|> |
||
197 | <<=|><=|><><> {>>=|><=|> |
||
198 | <<=|><=|><><> token : "constant.other.multiline",>>=|><=|> |
||
199 | <<=|><=|><><> regex : /\\/>>=|><=|> |
||
200 | <<=|><=|><><> },>>=|><=|> |
||
201 | <<=|><=|><><> {>>=|><=|> |
||
202 | <<=|><=|><><> token : "constant.other.multiline",>>=|><=|> |
||
203 | <<=|><=|><><> regex : /.*\\/>>=|><=|> |
||
204 | <<=|><=|><><> },>>=|><=|> |
||
205 | <<=|><=|><><> {>>=|><=|> |
||
206 | <<=|><=|><><> token : "constant.other",>>=|><=|> |
||
207 | <<=|><=|><><> regex : "\\s*<.+?>",>>=|><=|> |
||
208 | <<=|><=|><><><.+?> next : "start">>=|><=|> |
||
209 | <<=|><=|><><><.+?> },>>=|><=|> |
||
210 | <<=|><=|><><><.+?> {>>=|><=|> |
||
211 | <<=|><=|><><><.+?> token : "constant.other", // single line>>=|><=|> |
||
212 | <<=|><=|><><><.+?> regex : '\\s*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]',>>=|><=|> |
||
213 | <<=|><=|><><><.+?> next : "start">>=|><=|> |
||
214 | <<=|><=|><><><.+?> }, >>=|><=|> |
||
215 | <<=|><=|><><><.+?> {>>=|><=|> |
||
216 | <<=|><=|><><><.+?> token : "constant.other", // single line>>=|><=|> |
||
217 | <<=|><=|><><><.+?> regex : "\\s*['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']",>>=|><=|> |
||
218 | <<=|><=|><><><.+?> next : "start">>=|><=|> |
||
219 | <<=|><=|><><><.+?> },>>=|><=|> |
||
220 | <<=|><=|><><><.+?> {>>=|><=|> |
||
221 | <<=|><=|><><><.+?> token : "constant.other",>>=|><=|> |
||
222 | <<=|><=|><><><.+?> regex : /[^\\\/]+/,>>=|><=|> |
||
223 | <<=|><=|><><><.+?> next : "start">>=|><=|> |
||
224 | <<=|><=|><><><.+?> }>>=|><=|> |
||
225 | <<=|><=|><><><.+?> ]>>=|><=|> |
||
226 | <<=|><=|><><><.+?> };>>=|><=|> |
||
227 | |||
228 | <<=|><=|><><><.+?> this.embedRules(DocCommentHighlightRules, "doc-",>>=|><=|> |
||
229 | <<=|><=|><><><.+?> [ DocCommentHighlightRules.getEndRule("start") ]);>>=|><=|> |
||
230 | <<=|><=|><><><.+?> this.normalizeRules();>>=|><=|> |
||
231 | <<=|><=|><><><.+?>};>>=|><=|> |
||
232 | |||
233 | <<=|><=|><><><.+?>oop.inherits(c_cppHighlightRules, TextHighlightRules);>>=|><=|> |
||
234 | |||
235 | <<=|><=|><><><.+?>exports.c_cppHighlightRules = c_cppHighlightRules;>>=|><=|> |
||
236 | <<=|><=|><><><.+?>});>>=|><=|> |
||
237 | |||
238 | <<=|><=|><><><.+?>define("ace/mode/objectivec_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/c_cpp_highlight_rules"], function(require, exports, module) {>>=|><=|> |
||
239 | <<=|><=|><><><.+?>"use strict";>>=|><=|> |
||
240 | |||
241 | <<=|><=|><><><.+?>var oop = require("../lib/oop");>>=|><=|> |
||
242 | <<=|><=|><><><.+?>var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;>>=|><=|> |
||
243 | <<=|><=|><><><.+?>var C_Highlight_File = require("./c_cpp_highlight_rules");>>=|><=|> |
||
244 | <<=|><=|><><><.+?>var CHighlightRules = C_Highlight_File.c_cppHighlightRules;>>=|><=|> |
||
245 | |||
246 | <<=|><=|><><><.+?>var ObjectiveCHighlightRules = function() {>>=|><=|> |
||
247 | |||
248 | <<=|><=|><><><.+?> var escapedConstRe = "\\\\(?:[abefnrtv'\"?\\\\]|" + >>=|><=|> |
||
249 | <<=|><=|><><><.+?> "[0-3]\\d{1,2}|" +>>=|><=|> |
||
250 | <<=|><=|><><><.+?> "[4-7]\\d?|" +>>=|><=|> |
||
251 | <<=|><=|><><><.+?> "222|" +>>=|><=|> |
||
252 | <<=|><=|><><><.+?> "x[a-zA-Z0-9]+)";>>=|><=|> |
||
253 | |||
254 | <<=|><=|><><><.+?> var specialVariables = [{>>=|><=|> |
||
255 | <<=|><=|><><><.+?> regex: "\\b_cmd\\b",>>=|><=|> |
||
256 | <<=|><=|><><><.+?> token: "variable.other.selector.objc">>=|><=|> |
||
257 | <<=|><=|><><><.+?> }, {>>=|><=|> |
||
258 | <<=|><=|><><><.+?> regex: "\\b(?:self|super)\\b",>>=|><=|> |
||
259 | <<=|><=|><><><.+?> token: "variable.language.objc">>=|><=|> |
||
260 | <<=|><=|><><><.+?> }>>=|><=|> |
||
261 | <<=|><=|><><><.+?> ];>>=|><=|> |
||
262 | |||
263 | <<=|><=|><><><.+?> var cObj = new CHighlightRules();>>=|><=|> |
||
264 | <<=|><=|><><><.+?> var cRules = cObj.getRules();>>=|><=|> |
||
265 | |||
266 | <<=|><=|><><><.+?> this.$rules = {>>=|><=|> |
||
267 | <<=|><=|><><><.+?> "start": [ >>=|><=|> |
||
268 | <<=|><=|><><><.+?> {>>=|><=|> |
||
269 | <<=|><=|><><><.+?> token : "comment",>>=|><=|> |
||
270 | <<=|><=|><><><.+?> regex : "\\/\\/.*$">>=|><=|> |
||
271 | <<=|><=|><><><.+?> },>>=|><=|> |
||
272 | <<=|><=|><><><.+?> DocCommentHighlightRules.getStartRule("doc-start"),>>=|><=|> |
||
273 | <<=|><=|><><><.+?> {>>=|><=|> |
||
274 | <<=|><=|><><><.+?> token : "comment", // multi line comment>>=|><=|> |
||
275 | <<=|><=|><><><.+?> regex : "\\/\\*",>>=|><=|> |
||
276 | <<=|><=|><><><.+?> next : "comment">>=|><=|> |
||
277 | <<=|><=|><><><.+?> }, >>=|><=|> |
||
278 | <<=|><=|><><><.+?> {>>=|><=|> |
||
279 | <<=|><=|><><><.+?> token: [ "storage.type.objc", "punctuation.definition.storage.type.objc", >>=|><=|> |
||
280 | <<=|><=|><><><.+?> "entity.name.type.objc", "text", "entity.other.inherited-class.objc">>=|><=|> |
||
281 | <<=|><=|><><><.+?> ],>>=|><=|> |
||
282 | <<=|><=|><><><.+?> regex: "(@)(interface|protocol)(?!.+;)(\\s+[A-Za-z_][A-Za-z0-9_]*)(\\s*:\\s*)([A-Za-z]+)">>=|><=|> |
||
283 | <<=|><=|><><><.+?> },>>=|><=|> |
||
284 | <<=|><=|><><><.+?> {>>=|><=|> |
||
285 | <<=|><=|><><><.+?> token: [ "storage.type.objc" ],>>=|><=|> |
||
286 | <<=|><=|><><><.+?> regex: "(@end)">>=|><=|> |
||
287 | <<=|><=|><><><.+?> },>>=|><=|> |
||
288 | <<=|><=|><><><.+?> {>>=|><=|> |
||
289 | <<=|><=|><><><.+?> token: [ "storage.type.objc", "entity.name.type.objc", >>=|><=|> |
||
290 | <<=|><=|><><><.+?> "entity.other.inherited-class.objc">>=|><=|> |
||
291 | <<=|><=|><><><.+?> ],>>=|><=|> |
||
292 | <<=|><=|><><><.+?> regex: "(@implementation)(\\s+[A-Za-z_][A-Za-z0-9_]*)(\\s*?::\\s*(?:[A-Za-z][A-Za-z0-9]*))?">>=|><=|> |
||
293 | <<=|><=|><><><.+?> },>>=|><=|> |
||
294 | <<=|><=|><><><.+?> {>>=|><=|> |
||
295 | <<=|><=|><><><.+?> token: "string.begin.objc",>>=|><=|> |
||
296 | <<=|><=|><><><.+?> regex: '@"',>>=|><=|> |
||
297 | <<=|><=|><><><.+?> next: "constant_NSString">>=|><=|> |
||
298 | <<=|><=|><><><.+?> },>>=|><=|> |
||
299 | <<=|><=|><><><.+?> {>>=|><=|> |
||
300 | <<=|><=|><><><.+?> token: "storage.type.objc",>>=|><=|> |
||
301 | <<=|><=|><><><.+?> regex: "\\bid\\s*<",>>=|><=|> |
||
302 | <<=|><=|><><><.+?> next: "protocol_list">>=|><=|> |
||
303 | <<=|><=|><><><.+?> },>>=|><=|> |
||
304 | <<=|><=|><><><.+?> {>>=|><=|> |
||
305 | <<=|><=|><><><.+?> token: "keyword.control.macro.objc",>>=|><=|> |
||
306 | <<=|><=|><><><.+?> regex: "\\bNS_DURING|NS_HANDLER|NS_ENDHANDLER\\b">>=|><=|> |
||
307 | <<=|><=|><><><.+?> },>>=|><=|> |
||
308 | <<=|><=|><><><.+?> {>>=|><=|> |
||
309 | <<=|><=|><><><.+?> token: ["punctuation.definition.keyword.objc", "keyword.control.exception.objc"],>>=|><=|> |
||
310 | <<=|><=|><><><.+?> regex: "(@)(try|catch|finally|throw)\\b">>=|><=|> |
||
311 | <<=|><=|><><><.+?> },>>=|><=|> |
||
312 | <<=|><=|><><><.+?> {>>=|><=|> |
||
313 | <<=|><=|><><><.+?> token: ["punctuation.definition.keyword.objc", "keyword.other.objc"],>>=|><=|> |
||
314 | <<=|><=|><><><.+?> regex: "(@)(defs|encode)\\b">>=|><=|> |
||
315 | <<=|><=|><><><.+?> },>>=|><=|> |
||
316 | <<=|><=|><><><.+?> {>>=|><=|> |
||
317 | <<=|><=|><><><.+?> token: ["storage.type.id.objc", "text"],>>=|><=|> |
||
318 | <<=|><=|><><><.+?> regex: "(\\bid\\b)(\\s|\\n)?">>=|><=|> |
||
319 | <<=|><=|><><><.+?> },>>=|><=|> |
||
320 | <<=|><=|><><><.+?> {>>=|><=|> |
||
321 | <<=|><=|><><><.+?> token: "storage.type.objc",>>=|><=|> |
||
322 | <<=|><=|><><><.+?> regex: "\\bIBOutlet|IBAction|BOOL|SEL|id|unichar|IMP|Class\\b">>=|><=|> |
||
323 | <<=|><=|><><><.+?> },>>=|><=|> |
||
324 | <<=|><=|><><><.+?> {>>=|><=|> |
||
325 | <<=|><=|><><><.+?> token: [ "punctuation.definition.storage.type.objc", "storage.type.objc"],>>=|><=|> |
||
326 | <<=|><=|><><><.+?> regex: "(@)(class|protocol)\\b">>=|><=|> |
||
327 | <<=|><=|><><><.+?> },>>=|><=|> |
||
328 | <<=|><=|><><><.+?> {>>=|><=|> |
||
329 | <<=|><=|><><><.+?> token: [ "punctuation.definition.storage.type.objc", "punctuation"],>>=|><=|> |
||
330 | <<=|><=|><><><.+?> regex: "(@selector)(\\s*\\()",>>=|><=|> |
||
331 | <<=|><=|><><><.+?> next: "selectors">>=|><=|> |
||
332 | <<=|><=|><><><.+?> },>>=|><=|> |
||
333 | <<=|><=|><><><.+?> {>>=|><=|> |
||
334 | <<=|><=|><><><.+?> token: [ "punctuation.definition.storage.modifier.objc", "storage.modifier.objc"],>>=|><=|> |
||
335 | <<=|><=|><><><.+?> regex: "(@)(synchronized|public|private|protected|package)\\b">>=|><=|> |
||
336 | <<=|><=|><><><.+?> },>>=|><=|> |
||
337 | <<=|><=|><><><.+?> {>>=|><=|> |
||
338 | <<=|><=|><><><.+?> token: "constant.language.objc",>>=|><=|> |
||
339 | <<=|><=|><><><.+?> regex: "\\bYES|NO|Nil|nil\\b">>=|><=|> |
||
340 | <<=|><=|><><><.+?> },>>=|><=|> |
||
341 | <<=|><=|><><><.+?> {>>=|><=|> |
||
342 | <<=|><=|><><><.+?> token: "support.variable.foundation",>>=|><=|> |
||
343 | <<=|><=|><><><.+?> regex: "\\bNSApp\\b">>=|><=|> |
||
344 | <<=|><=|><><><.+?> },>>=|><=|> |
||
345 | <<=|><=|><><><.+?> {>>=|><=|> |
||
346 | <<=|><=|><><><.+?> token: [ "support.function.cocoa.leopard"],>>=|><=|> |
||
347 | <<=|><=|><><><.+?> regex: "(?:\\b)(NS(?:Rect(?:ToCGRect|FromCGRect)|MakeCollectable|S(?:tringFromProtocol|ize(?:ToCGSize|FromCGSize))|Draw(?:NinePartImage|ThreePartImage)|P(?:oint(?:ToCGPoint|FromCGPoint)|rotocolFromString)|EventMaskFromType|Value))(?:\\b)">>=|><=|> |
||
348 | <<=|><=|><><><.+?> },>>=|><=|> |
||
349 | <<=|><=|><><><.+?> {>>=|><=|> |
||
350 | <<=|><=|><><><.+?> token: ["support.function.cocoa"],>>=|><=|> |
||
351 | <<=|><=|><><><.+?> regex: "(?:\\b)(NS(?:R(?:ound(?:DownToMultipleOfPageSize|UpToMultipleOfPageSize)|un(?:CriticalAlertPanel(?:RelativeToWindow)?|InformationalAlertPanel(?:RelativeToWindow)?|AlertPanel(?:RelativeToWindow)?)|e(?:set(?:MapTable|HashTable)|c(?:ycleZone|t(?:Clip(?:List)?|F(?:ill(?:UsingOperation|List(?:UsingOperation|With(?:Grays|Colors(?:UsingOperation)?))?)?|romString))|ordAllocationEvent)|turnAddress|leaseAlertPanel|a(?:dPixel|l(?:MemoryAvailable|locateCollectable))|gisterServicesProvider)|angeFromString)|Get(?:SizeAndAlignment|CriticalAlertPanel|InformationalAlertPanel|UncaughtExceptionHandler|FileType(?:s)?|WindowServerMemory|AlertPanel)|M(?:i(?:n(?:X|Y)|d(?:X|Y))|ouseInRect|a(?:p(?:Remove|Get|Member|Insert(?:IfAbsent|KnownAbsent)?)|ke(?:R(?:ect|ange)|Size|Point)|x(?:Range|X|Y)))|B(?:itsPer(?:SampleFromDepth|PixelFromDepth)|e(?:stDepth|ep|gin(?:CriticalAlertSheet|InformationalAlertSheet|AlertSheet)))|S(?:ho(?:uldRetainWithZone|w(?:sServicesMenuItem|AnimationEffect))|tringFrom(?:R(?:ect|ange)|MapTable|S(?:ize|elector)|HashTable|Class|Point)|izeFromString|e(?:t(?:ShowsServicesMenuItem|ZoneName|UncaughtExceptionHandler|FocusRingStyle)|lectorFromString|archPathForDirectoriesInDomains)|wap(?:Big(?:ShortToHost|IntToHost|DoubleToHost|FloatToHost|Long(?:ToHost|LongToHost))|Short|Host(?:ShortTo(?:Big|Little)|IntTo(?:Big|Little)|DoubleTo(?:Big|Little)|FloatTo(?:Big|Little)|Long(?:To(?:Big|Little)|LongTo(?:Big|Little)))|Int|Double|Float|L(?:ittle(?:ShortToHost|IntToHost|DoubleToHost|FloatToHost|Long(?:ToHost|LongToHost))|ong(?:Long)?)))|H(?:ighlightRect|o(?:stByteOrder|meDirectory(?:ForUser)?)|eight|ash(?:Remove|Get|Insert(?:IfAbsent|KnownAbsent)?)|FSType(?:CodeFromFileType|OfFile))|N(?:umberOfColorComponents|ext(?:MapEnumeratorPair|HashEnumeratorItem))|C(?:o(?:n(?:tainsRect|vert(?:GlyphsToPackedGlyphs|Swapped(?:DoubleToHost|FloatToHost)|Host(?:DoubleToSwapped|FloatToSwapped)))|unt(?:MapTable|HashTable|Frames|Windows(?:ForContext)?)|py(?:M(?:emoryPages|apTableWithZone)|Bits|HashTableWithZone|Object)|lorSpaceFromDepth|mpare(?:MapTables|HashTables))|lassFromString|reate(?:MapTable(?:WithZone)?|HashTable(?:WithZone)?|Zone|File(?:namePboardType|ContentsPboardType)))|TemporaryDirectory|I(?:s(?:ControllerMarker|EmptyRect|FreedObject)|n(?:setRect|crementExtraRefCount|te(?:r(?:sect(?:sRect|ionR(?:ect|ange))|faceStyleForKey)|gralRect)))|Zone(?:Realloc|Malloc|Name|Calloc|Fr(?:omPointer|ee))|O(?:penStepRootDirectory|ffsetRect)|D(?:i(?:sableScreenUpdates|videRect)|ottedFrameRect|e(?:c(?:imal(?:Round|Multiply|S(?:tring|ubtract)|Normalize|Co(?:py|mpa(?:ct|re))|IsNotANumber|Divide|Power|Add)|rementExtraRefCountWasZero)|faultMallocZone|allocate(?:MemoryPages|Object))|raw(?:Gr(?:oove|ayBezel)|B(?:itmap|utton)|ColorTiledRects|TiledRects|DarkBezel|W(?:hiteBezel|indowBackground)|LightBezel))|U(?:serName|n(?:ionR(?:ect|ange)|registerServicesProvider)|pdateDynamicServices)|Java(?:Bundle(?:Setup|Cleanup)|Setup(?:VirtualMachine)?|Needs(?:ToLoadClasses|VirtualMachine)|ClassesF(?:orBundle|romPath)|ObjectNamedInPath|ProvidesClasses)|P(?:oint(?:InRect|FromString)|erformService|lanarFromDepth|ageSize)|E(?:n(?:d(?:MapTableEnumeration|HashTableEnumeration)|umerate(?:MapTable|HashTable)|ableScreenUpdates)|qual(?:R(?:ects|anges)|Sizes|Points)|raseRect|xtraRefCount)|F(?:ileTypeForHFSTypeCode|ullUserName|r(?:ee(?:MapTable|HashTable)|ame(?:Rect(?:WithWidth(?:UsingOperation)?)?|Address)))|Wi(?:ndowList(?:ForContext)?|dth)|Lo(?:cationInRange|g(?:v|PageSize)?)|A(?:ccessibility(?:R(?:oleDescription(?:ForUIElement)?|aiseBadArgumentException)|Unignored(?:Children(?:ForOnlyChild)?|Descendant|Ancestor)|PostNotification|ActionDescription)|pplication(?:Main|Load)|vailableWindowDepths|ll(?:MapTable(?:Values|Keys)|HashTableObjects|ocate(?:MemoryPages|Collectable|Object)))))(?:\\b)">>=|><=|> |
||
352 | <<=|><=|><><><.+?> },>>=|><=|> |
||
353 | <<=|><=|><><><.+?> {>>=|><=|> |
||
354 | <<=|><=|><><><.+?> token: ["support.class.cocoa.leopard"],>>=|><=|> |
||
355 | <<=|><=|><><><.+?> regex: "(?:\\b)(NS(?:RuleEditor|G(?:arbageCollector|radient)|MapTable|HashTable|Co(?:ndition|llectionView(?:Item)?)|T(?:oolbarItemGroup|extInputClient|r(?:eeNode|ackingArea))|InvocationOperation|Operation(?:Queue)?|D(?:ictionaryController|ockTile)|P(?:ointer(?:Functions|Array)|athC(?:o(?:ntrol(?:Delegate)?|mponentCell)|ell(?:Delegate)?)|r(?:intPanelAccessorizing|edicateEditor(?:RowTemplate)?))|ViewController|FastEnumeration|Animat(?:ionContext|ablePropertyContainer)))(?:\\b)">>=|><=|> |
||
356 | <<=|><=|><><><.+?> },>>=|><=|> |
||
357 | <<=|><=|><><><.+?> {>>=|><=|> |
||
358 | <<=|><=|><><><.+?> token: ["support.class.cocoa"],>>=|><=|> |
||
359 | <<=|><=|><><><.+?> regex: "(?:\\b)(NS(?:R(?:u(?:nLoop|ler(?:Marker|View))|e(?:sponder|cursiveLock|lativeSpecifier)|an(?:domSpecifier|geSpecifier))|G(?:etCommand|lyph(?:Generator|Storage|Info)|raphicsContext)|XML(?:Node|D(?:ocument|TD(?:Node)?)|Parser|Element)|M(?:iddleSpecifier|ov(?:ie(?:View)?|eCommand)|utable(?:S(?:tring|et)|C(?:haracterSet|opying)|IndexSet|D(?:ictionary|ata)|URLRequest|ParagraphStyle|A(?:ttributedString|rray))|e(?:ssagePort(?:NameServer)?|nu(?:Item(?:Cell)?|View)?|t(?:hodSignature|adata(?:Item|Query(?:ResultGroup|AttributeValueTuple)?)))|a(?:ch(?:BootstrapServer|Port)|trix))|B(?:itmapImageRep|ox|u(?:ndle|tton(?:Cell)?)|ezierPath|rowser(?:Cell)?)|S(?:hadow|c(?:anner|r(?:ipt(?:SuiteRegistry|C(?:o(?:ercionHandler|mmand(?:Description)?)|lassDescription)|ObjectSpecifier|ExecutionContext|WhoseTest)|oll(?:er|View)|een))|t(?:epper(?:Cell)?|atus(?:Bar|Item)|r(?:ing|eam))|imple(?:HorizontalTypesetter|CString)|o(?:cketPort(?:NameServer)?|und|rtDescriptor)|p(?:e(?:cifierTest|ech(?:Recognizer|Synthesizer)|ll(?:Server|Checker))|litView)|e(?:cureTextField(?:Cell)?|t(?:Command)?|archField(?:Cell)?|rializer|gmentedC(?:ontrol|ell))|lider(?:Cell)?|avePanel)|H(?:ost|TTP(?:Cookie(?:Storage)?|URLResponse)|elpManager)|N(?:ib(?:Con(?:nector|trolConnector)|OutletConnector)?|otification(?:Center|Queue)?|u(?:ll|mber(?:Formatter)?)|etService(?:Browser)?|ameSpecifier)|C(?:ha(?:ngeSpelling|racterSet)|o(?:n(?:stantString|nection|trol(?:ler)?|ditionLock)|d(?:ing|er)|unt(?:Command|edSet)|pying|lor(?:Space|P(?:ick(?:ing(?:Custom|Default)|er)|anel)|Well|List)?|m(?:p(?:oundPredicate|arisonPredicate)|boBox(?:Cell)?))|u(?:stomImageRep|rsor)|IImageRep|ell|l(?:ipView|o(?:seCommand|neCommand)|assDescription)|a(?:ched(?:ImageRep|URLResponse)|lendar(?:Date)?)|reateCommand)|T(?:hread|ypesetter|ime(?:Zone|r)|o(?:olbar(?:Item(?:Validations)?)?|kenField(?:Cell)?)|ext(?:Block|Storage|Container|Tab(?:le(?:Block)?)?|Input|View|Field(?:Cell)?|List|Attachment(?:Cell)?)?|a(?:sk|b(?:le(?:Header(?:Cell|View)|Column|View)|View(?:Item)?))|reeController)|I(?:n(?:dex(?:S(?:pecifier|et)|Path)|put(?:Manager|S(?:tream|erv(?:iceProvider|er(?:MouseTracker)?)))|vocation)|gnoreMisspelledWords|mage(?:Rep|Cell|View)?)|O(?:ut(?:putStream|lineView)|pen(?:GL(?:Context|Pixel(?:Buffer|Format)|View)|Panel)|bj(?:CTypeSerializationCallBack|ect(?:Controller)?))|D(?:i(?:st(?:antObject(?:Request)?|ributed(?:NotificationCenter|Lock))|ctionary|rectoryEnumerator)|ocument(?:Controller)?|e(?:serializer|cimalNumber(?:Behaviors|Handler)?|leteCommand)|at(?:e(?:Components|Picker(?:Cell)?|Formatter)?|a)|ra(?:wer|ggingInfo))|U(?:ser(?:InterfaceValidations|Defaults(?:Controller)?)|RL(?:Re(?:sponse|quest)|Handle(?:Client)?|C(?:onnection|ache|redential(?:Storage)?)|Download(?:Delegate)?|Prot(?:ocol(?:Client)?|ectionSpace)|AuthenticationChallenge(?:Sender)?)?|n(?:iqueIDSpecifier|doManager|archiver))|P(?:ipe|o(?:sitionalSpecifier|pUpButton(?:Cell)?|rt(?:Message|NameServer|Coder)?)|ICTImageRep|ersistentDocument|DFImageRep|a(?:steboard|nel|ragraphStyle|geLayout)|r(?:int(?:Info|er|Operation|Panel)|o(?:cessInfo|tocolChecker|perty(?:Specifier|ListSerialization)|gressIndicator|xy)|edicate))|E(?:numerator|vent|PSImageRep|rror|x(?:ception|istsCommand|pression))|V(?:iew(?:Animation)?|al(?:idated(?:ToobarItem|UserInterfaceItem)|ue(?:Transformer)?))|Keyed(?:Unarchiver|Archiver)|Qui(?:ckDrawView|tCommand)|F(?:ile(?:Manager|Handle|Wrapper)|o(?:nt(?:Manager|Descriptor|Panel)?|rm(?:Cell|atter)))|W(?:hoseSpecifier|indow(?:Controller)?|orkspace)|L(?:o(?:c(?:k(?:ing)?|ale)|gicalTest)|evelIndicator(?:Cell)?|ayoutManager)|A(?:ssertionHandler|nimation|ctionCell|ttributedString|utoreleasePool|TSTypesetter|ppl(?:ication|e(?:Script|Event(?:Manager|Descriptor)))|ffineTransform|lert|r(?:chiver|ray(?:Controller)?))))(?:\\b)">>=|><=|> |
||
360 | <<=|><=|><><><.+?> },>>=|><=|> |
||
361 | <<=|><=|><><><.+?> {>>=|><=|> |
||
362 | <<=|><=|><><><.+?> token: ["support.type.cocoa.leopard"],>>=|><=|> |
||
363 | <<=|><=|><><><.+?> regex: "(?:\\b)(NS(?:R(?:u(?:nLoop|ler(?:Marker|View))|e(?:sponder|cursiveLock|lativeSpecifier)|an(?:domSpecifier|geSpecifier))|G(?:etCommand|lyph(?:Generator|Storage|Info)|raphicsContext)|XML(?:Node|D(?:ocument|TD(?:Node)?)|Parser|Element)|M(?:iddleSpecifier|ov(?:ie(?:View)?|eCommand)|utable(?:S(?:tring|et)|C(?:haracterSet|opying)|IndexSet|D(?:ictionary|ata)|URLRequest|ParagraphStyle|A(?:ttributedString|rray))|e(?:ssagePort(?:NameServer)?|nu(?:Item(?:Cell)?|View)?|t(?:hodSignature|adata(?:Item|Query(?:ResultGroup|AttributeValueTuple)?)))|a(?:ch(?:BootstrapServer|Port)|trix))|B(?:itmapImageRep|ox|u(?:ndle|tton(?:Cell)?)|ezierPath|rowser(?:Cell)?)|S(?:hadow|c(?:anner|r(?:ipt(?:SuiteRegistry|C(?:o(?:ercionHandler|mmand(?:Description)?)|lassDescription)|ObjectSpecifier|ExecutionContext|WhoseTest)|oll(?:er|View)|een))|t(?:epper(?:Cell)?|atus(?:Bar|Item)|r(?:ing|eam))|imple(?:HorizontalTypesetter|CString)|o(?:cketPort(?:NameServer)?|und|rtDescriptor)|p(?:e(?:cifierTest|ech(?:Recognizer|Synthesizer)|ll(?:Server|Checker))|litView)|e(?:cureTextField(?:Cell)?|t(?:Command)?|archField(?:Cell)?|rializer|gmentedC(?:ontrol|ell))|lider(?:Cell)?|avePanel)|H(?:ost|TTP(?:Cookie(?:Storage)?|URLResponse)|elpManager)|N(?:ib(?:Con(?:nector|trolConnector)|OutletConnector)?|otification(?:Center|Queue)?|u(?:ll|mber(?:Formatter)?)|etService(?:Browser)?|ameSpecifier)|C(?:ha(?:ngeSpelling|racterSet)|o(?:n(?:stantString|nection|trol(?:ler)?|ditionLock)|d(?:ing|er)|unt(?:Command|edSet)|pying|lor(?:Space|P(?:ick(?:ing(?:Custom|Default)|er)|anel)|Well|List)?|m(?:p(?:oundPredicate|arisonPredicate)|boBox(?:Cell)?))|u(?:stomImageRep|rsor)|IImageRep|ell|l(?:ipView|o(?:seCommand|neCommand)|assDescription)|a(?:ched(?:ImageRep|URLResponse)|lendar(?:Date)?)|reateCommand)|T(?:hread|ypesetter|ime(?:Zone|r)|o(?:olbar(?:Item(?:Validations)?)?|kenField(?:Cell)?)|ext(?:Block|Storage|Container|Tab(?:le(?:Block)?)?|Input|View|Field(?:Cell)?|List|Attachment(?:Cell)?)?|a(?:sk|b(?:le(?:Header(?:Cell|View)|Column|View)|View(?:Item)?))|reeController)|I(?:n(?:dex(?:S(?:pecifier|et)|Path)|put(?:Manager|S(?:tream|erv(?:iceProvider|er(?:MouseTracker)?)))|vocation)|gnoreMisspelledWords|mage(?:Rep|Cell|View)?)|O(?:ut(?:putStream|lineView)|pen(?:GL(?:Context|Pixel(?:Buffer|Format)|View)|Panel)|bj(?:CTypeSerializationCallBack|ect(?:Controller)?))|D(?:i(?:st(?:antObject(?:Request)?|ributed(?:NotificationCenter|Lock))|ctionary|rectoryEnumerator)|ocument(?:Controller)?|e(?:serializer|cimalNumber(?:Behaviors|Handler)?|leteCommand)|at(?:e(?:Components|Picker(?:Cell)?|Formatter)?|a)|ra(?:wer|ggingInfo))|U(?:ser(?:InterfaceValidations|Defaults(?:Controller)?)|RL(?:Re(?:sponse|quest)|Handle(?:Client)?|C(?:onnection|ache|redential(?:Storage)?)|Download(?:Delegate)?|Prot(?:ocol(?:Client)?|ectionSpace)|AuthenticationChallenge(?:Sender)?)?|n(?:iqueIDSpecifier|doManager|archiver))|P(?:ipe|o(?:sitionalSpecifier|pUpButton(?:Cell)?|rt(?:Message|NameServer|Coder)?)|ICTImageRep|ersistentDocument|DFImageRep|a(?:steboard|nel|ragraphStyle|geLayout)|r(?:int(?:Info|er|Operation|Panel)|o(?:cessInfo|tocolChecker|perty(?:Specifier|ListSerialization)|gressIndicator|xy)|edicate))|E(?:numerator|vent|PSImageRep|rror|x(?:ception|istsCommand|pression))|V(?:iew(?:Animation)?|al(?:idated(?:ToobarItem|UserInterfaceItem)|ue(?:Transformer)?))|Keyed(?:Unarchiver|Archiver)|Qui(?:ckDrawView|tCommand)|F(?:ile(?:Manager|Handle|Wrapper)|o(?:nt(?:Manager|Descriptor|Panel)?|rm(?:Cell|atter)))|W(?:hoseSpecifier|indow(?:Controller)?|orkspace)|L(?:o(?:c(?:k(?:ing)?|ale)|gicalTest)|evelIndicator(?:Cell)?|ayoutManager)|A(?:ssertionHandler|nimation|ctionCell|ttributedString|utoreleasePool|TSTypesetter|ppl(?:ication|e(?:Script|Event(?:Manager|Descriptor)))|ffineTransform|lert|r(?:chiver|ray(?:Controller)?))))(?:\\b)">>=|><=|> |
||
364 | <<=|><=|><><><.+?> },>>=|><=|> |
||
365 | <<=|><=|><><><.+?> {>>=|><=|> |
||
366 | <<=|><=|><><><.+?> token: ["support.class.quartz"],>>=|><=|> |
||
367 | <<=|><=|><><><.+?> regex: "(?:\\b)(C(?:I(?:Sampler|Co(?:ntext|lor)|Image(?:Accumulator)?|PlugIn(?:Registration)?|Vector|Kernel|Filter(?:Generator|Shape)?)|A(?:Renderer|MediaTiming(?:Function)?|BasicAnimation|ScrollLayer|Constraint(?:LayoutManager)?|T(?:iledLayer|extLayer|rans(?:ition|action))|OpenGLLayer|PropertyAnimation|KeyframeAnimation|Layer|A(?:nimation(?:Group)?|ction))))(?:\\b)">>=|><=|> |
||
368 | <<=|><=|><><><.+?> },>>=|><=|> |
||
369 | <<=|><=|><><><.+?> {>>=|><=|> |
||
370 | <<=|><=|><><><.+?> token: ["support.type.quartz"],>>=|><=|> |
||
371 | <<=|><=|><><><.+?> regex: "(?:\\b)(C(?:G(?:Float|Point|Size|Rect)|IFormat|AConstraintAttribute))(?:\\b)">>=|><=|> |
||
372 | <<=|><=|><><><.+?> },>>=|><=|> |
||
373 | <<=|><=|><><><.+?> {>>=|><=|> |
||
374 | <<=|><=|><><><.+?> token: ["support.type.cocoa"],>>=|><=|> |
||
375 | <<=|><=|><><><.+?> regex: "(?:\\b)(NS(?:R(?:ect(?:Edge)?|ange)|G(?:lyph(?:Relation|LayoutMode)?|radientType)|M(?:odalSession|a(?:trixMode|p(?:Table|Enumerator)))|B(?:itmapImageFileType|orderType|uttonType|ezelStyle|ackingStoreType|rowserColumnResizingType)|S(?:cr(?:oll(?:er(?:Part|Arrow)|ArrowPosition)|eenAuxiliaryOpaque)|tringEncoding|ize|ocketNativeHandle|election(?:Granularity|Direction|Affinity)|wapped(?:Double|Float)|aveOperationType)|Ha(?:sh(?:Table|Enumerator)|ndler(?:2)?)|C(?:o(?:ntrol(?:Size|Tint)|mp(?:ositingOperation|arisonResult))|ell(?:State|Type|ImagePosition|Attribute))|T(?:hreadPrivate|ypesetterGlyphInfo|i(?:ckMarkPosition|tlePosition|meInterval)|o(?:ol(?:TipTag|bar(?:SizeMode|DisplayMode))|kenStyle)|IFFCompression|ext(?:TabType|Alignment)|ab(?:State|leViewDropOperation|ViewType)|rackingRectTag)|ImageInterpolation|Zone|OpenGL(?:ContextAuxiliary|PixelFormatAuxiliary)|D(?:ocumentChangeType|atePickerElementFlags|ra(?:werState|gOperation))|UsableScrollerParts|P(?:oint|r(?:intingPageOrder|ogressIndicator(?:Style|Th(?:ickness|readInfo))))|EventType|KeyValueObservingOptions|Fo(?:nt(?:SymbolicTraits|TraitMask|Action)|cusRingType)|W(?:indow(?:OrderingMode|Depth)|orkspace(?:IconCreationOptions|LaunchOptions)|ritingDirection)|L(?:ineBreakMode|ayout(?:Status|Direction))|A(?:nimation(?:Progress|Effect)|ppl(?:ication(?:TerminateReply|DelegateReply|PrintReply)|eEventManagerSuspensionID)|ffineTransformStruct|lertStyle)))(?:\\b)">>=|><=|> |
||
376 | <<=|><=|><><><.+?> },>>=|><=|> |
||
377 | <<=|><=|><><><.+?> {>>=|><=|> |
||
378 | <<=|><=|><><><.+?> token: ["support.constant.cocoa"],>>=|><=|> |
||
379 | <<=|><=|><><><.+?> regex: "(?:\\b)(NS(?:NotFound|Ordered(?:Ascending|Descending|Same)))(?:\\b)">>=|><=|> |
||
380 | <<=|><=|><><><.+?> },>>=|><=|> |
||
381 | <<=|><=|><><><.+?> {>>=|><=|> |
||
382 | <<=|><=|><><><.+?> token: ["support.constant.notification.cocoa.leopard"],>>=|><=|> |
||
383 | <<=|><=|><><><.+?> regex: "(?:\\b)(NS(?:MenuDidBeginTracking|ViewDidUpdateTrackingAreas)?Notification)(?:\\b)">>=|><=|> |
||
384 | <<=|><=|><><><.+?> },>>=|><=|> |
||
385 | <<=|><=|><><><.+?> {>>=|><=|> |
||
386 | <<=|><=|><><><.+?> token: ["support.constant.notification.cocoa"],>>=|><=|> |
||
387 | <<=|><=|><><><.+?> regex: "(?:\\b)(NS(?:Menu(?:Did(?:RemoveItem|SendAction|ChangeItem|EndTracking|AddItem)|WillSendAction)|S(?:ystemColorsDidChange|plitView(?:DidResizeSubviews|WillResizeSubviews))|C(?:o(?:nt(?:extHelpModeDid(?:Deactivate|Activate)|rolT(?:intDidChange|extDid(?:BeginEditing|Change|EndEditing)))|lor(?:PanelColorDidChange|ListDidChange)|mboBox(?:Selection(?:IsChanging|DidChange)|Will(?:Dismiss|PopUp)))|lassDescriptionNeededForClass)|T(?:oolbar(?:DidRemoveItem|WillAddItem)|ext(?:Storage(?:DidProcessEditing|WillProcessEditing)|Did(?:BeginEditing|Change|EndEditing)|View(?:DidChange(?:Selection|TypingAttributes)|WillChangeNotifyingTextView))|ableView(?:Selection(?:IsChanging|DidChange)|ColumnDid(?:Resize|Move)))|ImageRepRegistryDidChange|OutlineView(?:Selection(?:IsChanging|DidChange)|ColumnDid(?:Resize|Move)|Item(?:Did(?:Collapse|Expand)|Will(?:Collapse|Expand)))|Drawer(?:Did(?:Close|Open)|Will(?:Close|Open))|PopUpButton(?:CellWillPopUp|WillPopUp)|View(?:GlobalFrameDidChange|BoundsDidChange|F(?:ocusDidChange|rameDidChange))|FontSetChanged|W(?:indow(?:Did(?:Resi(?:ze|gn(?:Main|Key))|M(?:iniaturize|ove)|Become(?:Main|Key)|ChangeScreen(?:|Profile)|Deminiaturize|Update|E(?:ndSheet|xpose))|Will(?:M(?:iniaturize|ove)|BeginSheet|Close))|orkspace(?:SessionDid(?:ResignActive|BecomeActive)|Did(?:Mount|TerminateApplication|Unmount|PerformFileOperation|Wake|LaunchApplication)|Will(?:Sleep|Unmount|PowerOff|LaunchApplication)))|A(?:ntialiasThresholdChanged|ppl(?:ication(?:Did(?:ResignActive|BecomeActive|Hide|ChangeScreenParameters|U(?:nhide|pdate)|FinishLaunching)|Will(?:ResignActive|BecomeActive|Hide|Terminate|U(?:nhide|pdate)|FinishLaunching))|eEventManagerWillProcessFirstEvent)))Notification)(?:\\b)">>=|><=|> |
||
388 | <<=|><=|><><><.+?> },>>=|><=|> |
||
389 | <<=|><=|><><><.+?> {>>=|><=|> |
||
390 | <<=|><=|><><><.+?> token: ["support.constant.cocoa.leopard"],>>=|><=|> |
||
391 | <<=|><=|><><><.+?> regex: "(?:\\b)(NS(?:RuleEditor(?:RowType(?:Simple|Compound)|NestingMode(?:Si(?:ngle|mple)|Compound|List))|GradientDraws(?:BeforeStartingLocation|AfterEndingLocation)|M(?:inusSetExpressionType|a(?:chPortDeallocate(?:ReceiveRight|SendRight|None)|pTable(?:StrongMemory|CopyIn|ZeroingWeakMemory|ObjectPointerPersonality)))|B(?:oxCustom|undleExecutableArchitecture(?:X86|I386|PPC(?:64)?)|etweenPredicateOperatorType|ackgroundStyle(?:Raised|Dark|L(?:ight|owered)))|S(?:tring(?:DrawingTruncatesLastVisibleLine|EncodingConversion(?:ExternalRepresentation|AllowLossy))|ubqueryExpressionType|p(?:e(?:ech(?:SentenceBoundary|ImmediateBoundary|WordBoundary)|llingState(?:GrammarFlag|SpellingFlag))|litViewDividerStyleThi(?:n|ck))|e(?:rvice(?:RequestTimedOutError|M(?:iscellaneousError|alformedServiceDictionaryError)|InvalidPasteboardDataError|ErrorM(?:inimum|aximum)|Application(?:NotFoundError|LaunchFailedError))|gmentStyle(?:Round(?:Rect|ed)|SmallSquare|Capsule|Textured(?:Rounded|Square)|Automatic)))|H(?:UDWindowMask|ashTable(?:StrongMemory|CopyIn|ZeroingWeakMemory|ObjectPointerPersonality))|N(?:oModeColorPanel|etServiceNoAutoRename)|C(?:hangeRedone|o(?:ntainsPredicateOperatorType|l(?:orRenderingIntent(?:RelativeColorimetric|Saturation|Default|Perceptual|AbsoluteColorimetric)|lectorDisabledOption))|ellHit(?:None|ContentArea|TrackableArea|EditableTextArea))|T(?:imeZoneNameStyle(?:S(?:hort(?:Standard|DaylightSaving)|tandard)|DaylightSaving)|extFieldDatePickerStyle|ableViewSelectionHighlightStyle(?:Regular|SourceList)|racking(?:Mouse(?:Moved|EnteredAndExited)|CursorUpdate|InVisibleRect|EnabledDuringMouseDrag|A(?:ssumeInside|ctive(?:In(?:KeyWindow|ActiveApp)|WhenFirstResponder|Always))))|I(?:n(?:tersectSetExpressionType|dexedColorSpaceModel)|mageScale(?:None|Proportionally(?:Down|UpOrDown)|AxesIndependently))|Ope(?:nGLPFAAllowOfflineRenderers|rationQueue(?:DefaultMaxConcurrentOperationCount|Priority(?:High|Normal|Very(?:High|Low)|Low)))|D(?:iacriticInsensitiveSearch|ownloadsDirectory)|U(?:nionSetExpressionType|TF(?:16(?:BigEndianStringEncoding|StringEncoding|LittleEndianStringEncoding)|32(?:BigEndianStringEncoding|StringEncoding|LittleEndianStringEncoding)))|P(?:ointerFunctions(?:Ma(?:chVirtualMemory|llocMemory)|Str(?:ongMemory|uctPersonality)|C(?:StringPersonality|opyIn)|IntegerPersonality|ZeroingWeakMemory|O(?:paque(?:Memory|Personality)|bjectP(?:ointerPersonality|ersonality)))|at(?:hStyle(?:Standard|NavigationBar|PopUp)|ternColorSpaceModel)|rintPanelShows(?:Scaling|Copies|Orientation|P(?:a(?:perSize|ge(?:Range|SetupAccessory))|review)))|Executable(?:RuntimeMismatchError|NotLoadableError|ErrorM(?:inimum|aximum)|L(?:inkError|oadError)|ArchitectureMismatchError)|KeyValueObservingOption(?:Initial|Prior)|F(?:i(?:ndPanelSubstringMatchType(?:StartsWith|Contains|EndsWith|FullWord)|leRead(?:TooLargeError|UnknownStringEncodingError))|orcedOrderingSearch)|Wi(?:ndow(?:BackingLocation(?:MainMemory|Default|VideoMemory)|Sharing(?:Read(?:Only|Write)|None)|CollectionBehavior(?:MoveToActiveSpace|CanJoinAllSpaces|Default))|dthInsensitiveSearch)|AggregateExpressionType))(?:\\b)">>=|><=|> |
||
392 | <<=|><=|><><><.+?> },>>=|><=|> |
||
393 | <<=|><=|><><><.+?> {>>=|><=|> |
||
394 | <<=|><=|><><><.+?> token: ["support.constant.cocoa"],>>=|><=|> |
||
395 | <<=|><=|><><><.+?> regex: "(?:\\b)(NS(?:R(?:GB(?:ModeColorPanel|ColorSpaceModel)|ight(?:Mouse(?:D(?:own(?:Mask)?|ragged(?:Mask)?)|Up(?:Mask)?)|T(?:ext(?:Movement|Alignment)|ab(?:sBezelBorder|StopType))|ArrowFunctionKey)|ound(?:RectBezelStyle|Bankers|ed(?:BezelStyle|TokenStyle|DisclosureBezelStyle)|Down|Up|Plain|Line(?:CapStyle|JoinStyle))|un(?:StoppedResponse|ContinuesResponse|AbortedResponse)|e(?:s(?:izableWindowMask|et(?:CursorRectsRunLoopOrdering|FunctionKey))|ce(?:ssedBezelStyle|iver(?:sCantHandleCommandScriptError|EvaluationScriptError))|turnTextMovement|doFunctionKey|quiredArgumentsMissingScriptError|l(?:evancyLevelIndicatorStyle|ative(?:Before|After))|gular(?:SquareBezelStyle|ControlSize)|moveTraitFontAction)|a(?:n(?:domSubelement|geDateMode)|tingLevelIndicatorStyle|dio(?:ModeMatrix|Button)))|G(?:IFFileType|lyph(?:Below|Inscribe(?:B(?:elow|ase)|Over(?:strike|Below)|Above)|Layout(?:WithPrevious|A(?:tAPoint|gainstAPoint))|A(?:ttribute(?:BidiLevel|Soft|Inscribe|Elastic)|bove))|r(?:ooveBorder|eaterThan(?:Comparison|OrEqualTo(?:Comparison|PredicateOperatorType)|PredicateOperatorType)|a(?:y(?:ModeColorPanel|ColorSpaceModel)|dient(?:None|Con(?:cave(?:Strong|Weak)|vex(?:Strong|Weak)))|phiteControlTint)))|XML(?:N(?:o(?:tationDeclarationKind|de(?:CompactEmptyElement|IsCDATA|OptionsNone|Use(?:SingleQuotes|DoubleQuotes)|Pre(?:serve(?:NamespaceOrder|C(?:haracterReferences|DATA)|DTD|Prefixes|E(?:ntities|mptyElements)|Quotes|Whitespace|A(?:ttributeOrder|ll))|ttyPrint)|ExpandEmptyElement))|amespaceKind)|CommentKind|TextKind|InvalidKind|D(?:ocument(?:X(?:MLKind|HTMLKind|Include)|HTMLKind|T(?:idy(?:XML|HTML)|extKind)|IncludeContentTypeDeclaration|Validate|Kind)|TDKind)|P(?:arser(?:GTRequiredError|XMLDeclNot(?:StartedError|FinishedError)|Mi(?:splaced(?:XMLDeclarationError|CDATAEndStringError)|xedContentDeclNot(?:StartedError|FinishedError))|S(?:t(?:andaloneValueError|ringNot(?:StartedError|ClosedError))|paceRequiredError|eparatorRequiredError)|N(?:MTOKENRequiredError|o(?:t(?:ationNot(?:StartedError|FinishedError)|WellBalancedError)|DTDError)|amespaceDeclarationError|AMERequiredError)|C(?:haracterRef(?:In(?:DTDError|PrologError|EpilogError)|AtEOFError)|o(?:nditionalSectionNot(?:StartedError|FinishedError)|mment(?:NotFinishedError|ContainsDoubleHyphenError))|DATANotFinishedError)|TagNameMismatchError|In(?:ternalError|valid(?:HexCharacterRefError|C(?:haracter(?:RefError|InEntityError|Error)|onditionalSectionError)|DecimalCharacterRefError|URIError|Encoding(?:NameError|Error)))|OutOfMemoryError|D(?:ocumentStartError|elegateAbortedParseError|OCTYPEDeclNotFinishedError)|U(?:RI(?:RequiredError|FragmentError)|n(?:declaredEntityError|parsedEntityError|knownEncodingError|finishedTagError))|P(?:CDATARequiredError|ublicIdentifierRequiredError|arsedEntityRef(?:MissingSemiError|NoNameError|In(?:Internal(?:SubsetError|Error)|PrologError|EpilogError)|AtEOFError)|r(?:ocessingInstructionNot(?:StartedError|FinishedError)|ematureDocumentEndError))|E(?:n(?:codingNotSupportedError|tity(?:Ref(?:In(?:DTDError|PrologError|EpilogError)|erence(?:MissingSemiError|WithoutNameError)|LoopError|AtEOFError)|BoundaryError|Not(?:StartedError|FinishedError)|Is(?:ParameterError|ExternalError)|ValueRequiredError))|qualExpectedError|lementContentDeclNot(?:StartedError|FinishedError)|xt(?:ernalS(?:tandaloneEntityError|ubsetNotFinishedError)|raContentError)|mptyDocumentError)|L(?:iteralNot(?:StartedError|FinishedError)|T(?:RequiredError|SlashRequiredError)|essThanSymbolInAttributeError)|Attribute(?:RedefinedError|HasNoValueError|Not(?:StartedError|FinishedError)|ListNot(?:StartedError|FinishedError)))|rocessingInstructionKind)|E(?:ntity(?:GeneralKind|DeclarationKind|UnparsedKind|P(?:ar(?:sedKind|ameterKind)|redefined))|lement(?:Declaration(?:MixedKind|UndefinedKind|E(?:lementKind|mptyKind)|Kind|AnyKind)|Kind))|Attribute(?:N(?:MToken(?:sKind|Kind)|otationKind)|CDATAKind|ID(?:Ref(?:sKind|Kind)|Kind)|DeclarationKind|En(?:tit(?:yKind|iesKind)|umerationKind)|Kind))|M(?:i(?:n(?:XEdge|iaturizableWindowMask|YEdge|uteCalendarUnit)|terLineJoinStyle|ddleSubelement|xedState)|o(?:nthCalendarUnit|deSwitchFunctionKey|use(?:Moved(?:Mask)?|E(?:ntered(?:Mask)?|ventSubtype|xited(?:Mask)?))|veToBezierPathElement|mentary(?:ChangeButton|Push(?:Button|InButton)|Light(?:Button)?))|enuFunctionKey|a(?:c(?:intoshInterfaceStyle|OSRomanStringEncoding)|tchesPredicateOperatorType|ppedRead|x(?:XEdge|YEdge))|ACHOperatingSystem)|B(?:MPFileType|o(?:ttomTabsBezelBorder|ldFontMask|rderlessWindowMask|x(?:Se(?:condary|parator)|OldStyle|Primary))|uttLineCapStyle|e(?:zelBorder|velLineJoinStyle|low(?:Bottom|Top)|gin(?:sWith(?:Comparison|PredicateOperatorType)|FunctionKey))|lueControlTint|ack(?:spaceCharacter|tabTextMovement|ingStore(?:Retained|Buffered|Nonretained)|TabCharacter|wardsSearch|groundTab)|r(?:owser(?:NoColumnResizing|UserColumnResizing|AutoColumnResizing)|eakFunctionKey))|S(?:h(?:ift(?:JISStringEncoding|KeyMask)|ow(?:ControlGlyphs|InvisibleGlyphs)|adowlessSquareBezelStyle)|y(?:s(?:ReqFunctionKey|tem(?:D(?:omainMask|efined(?:Mask)?)|FunctionKey))|mbolStringEncoding)|c(?:a(?:nnedOption|le(?:None|ToFit|Proportionally))|r(?:oll(?:er(?:NoPart|Increment(?:Page|Line|Arrow)|Decrement(?:Page|Line|Arrow)|Knob(?:Slot)?|Arrows(?:M(?:inEnd|axEnd)|None|DefaultSetting))|Wheel(?:Mask)?|LockFunctionKey)|eenChangedEventType))|t(?:opFunctionKey|r(?:ingDrawing(?:OneShot|DisableScreenFontSubstitution|Uses(?:DeviceMetrics|FontLeading|LineFragmentOrigin))|eam(?:Status(?:Reading|NotOpen|Closed|Open(?:ing)?|Error|Writing|AtEnd)|Event(?:Has(?:BytesAvailable|SpaceAvailable)|None|OpenCompleted|E(?:ndEncountered|rrorOccurred)))))|i(?:ngle(?:DateMode|UnderlineStyle)|ze(?:DownFontAction|UpFontAction))|olarisOperatingSystem|unOSOperatingSystem|pecialPageOrder|e(?:condCalendarUnit|lect(?:By(?:Character|Paragraph|Word)|i(?:ng(?:Next|Previous)|onAffinity(?:Downstream|Upstream))|edTab|FunctionKey)|gmentSwitchTracking(?:Momentary|Select(?:One|Any)))|quareLineCapStyle|witchButton|ave(?:ToOperation|Op(?:tions(?:Yes|No|Ask)|eration)|AsOperation)|mall(?:SquareBezelStyle|C(?:ontrolSize|apsFontMask)|IconButtonBezelStyle))|H(?:ighlightModeMatrix|SBModeColorPanel|o(?:ur(?:Minute(?:SecondDatePickerElementFlag|DatePickerElementFlag)|CalendarUnit)|rizontalRuler|meFunctionKey)|TTPCookieAcceptPolicy(?:Never|OnlyFromMainDocumentDomain|Always)|e(?:lp(?:ButtonBezelStyle|KeyMask|FunctionKey)|avierFontAction)|PUXOperatingSystem)|Year(?:MonthDa(?:yDatePickerElementFlag|tePickerElementFlag)|CalendarUnit)|N(?:o(?:n(?:StandardCharacterSetFontMask|ZeroWindingRule|activatingPanelMask|LossyASCIIStringEncoding)|Border|t(?:ification(?:SuspensionBehavior(?:Hold|Coalesce|D(?:eliverImmediately|rop))|NoCoalescing|CoalescingOn(?:Sender|Name)|DeliverImmediately|PostToAllSessions)|PredicateType|EqualToPredicateOperatorType)|S(?:cr(?:iptError|ollerParts)|ubelement|pecifierError)|CellMask|T(?:itle|opLevelContainersSpecifierError|abs(?:BezelBorder|NoBorder|LineBorder))|I(?:nterfaceStyle|mage)|UnderlineStyle|FontChangeAction)|u(?:ll(?:Glyph|CellType)|m(?:eric(?:Search|PadKeyMask)|berFormatter(?:Round(?:Half(?:Down|Up|Even)|Ceiling|Down|Up|Floor)|Behavior(?:10|Default)|S(?:cientificStyle|pellOutStyle)|NoStyle|CurrencyStyle|DecimalStyle|P(?:ercentStyle|ad(?:Before(?:Suffix|Prefix)|After(?:Suffix|Prefix))))))|e(?:t(?:Services(?:BadArgumentError|NotFoundError|C(?:ollisionError|ancelledError)|TimeoutError|InvalidError|UnknownError|ActivityInProgress)|workDomainMask)|wlineCharacter|xt(?:StepInterfaceStyle|FunctionKey))|EXTSTEPStringEncoding|a(?:t(?:iveShortGlyphPacking|uralTextAlignment)|rrowFontMask))|C(?:hange(?:ReadOtherContents|GrayCell(?:Mask)?|BackgroundCell(?:Mask)?|Cleared|Done|Undone|Autosaved)|MYK(?:ModeColorPanel|ColorSpaceModel)|ircular(?:BezelStyle|Slider)|o(?:n(?:stantValueExpressionType|t(?:inuousCapacityLevelIndicatorStyle|entsCellMask|ain(?:sComparison|erSpecifierError)|rol(?:Glyph|KeyMask))|densedFontMask)|lor(?:Panel(?:RGBModeMask|GrayModeMask|HSBModeMask|C(?:MYKModeMask|olorListModeMask|ustomPaletteModeMask|rayonModeMask)|WheelModeMask|AllModesMask)|ListModeColorPanel)|reServiceDirectory|m(?:p(?:osite(?:XOR|Source(?:In|O(?:ut|ver)|Atop)|Highlight|C(?:opy|lear)|Destination(?:In|O(?:ut|ver)|Atop)|Plus(?:Darker|Lighter))|ressedFontMask)|mandKeyMask))|u(?:stom(?:SelectorPredicateOperatorType|PaletteModeColorPanel)|r(?:sor(?:Update(?:Mask)?|PointingDevice)|veToBezierPathElement))|e(?:nterT(?:extAlignment|abStopType)|ll(?:State|H(?:ighlighted|as(?:Image(?:Horizontal|OnLeftOrBottom)|OverlappingImage))|ChangesContents|Is(?:Bordered|InsetButton)|Disabled|Editable|LightsBy(?:Gray|Background|Contents)|AllowsMixedState))|l(?:ipPagination|o(?:s(?:ePathBezierPathElement|ableWindowMask)|ckAndCalendarDatePickerStyle)|ear(?:ControlTint|DisplayFunctionKey|LineFunctionKey))|a(?:seInsensitive(?:Search|PredicateOption)|n(?:notCreateScriptCommandError|cel(?:Button|TextMovement))|chesDirectory|lculation(?:NoError|Overflow|DivideByZero|Underflow|LossOfPrecision)|rriageReturnCharacter)|r(?:itical(?:Request|AlertStyle)|ayonModeColorPanel))|T(?:hick(?:SquareBezelStyle|erSquareBezelStyle)|ypesetter(?:Behavior|HorizontalTabAction|ContainerBreakAction|ZeroAdvancementAction|OriginalBehavior|ParagraphBreakAction|WhitespaceAction|L(?:ineBreakAction|atestBehavior))|i(?:ckMark(?:Right|Below|Left|Above)|tledWindowMask|meZoneDatePickerElementFlag)|o(?:olbarItemVisibilityPriority(?:Standard|High|User|Low)|pTabsBezelBorder|ggleButton)|IFF(?:Compression(?:N(?:one|EXT)|CCITTFAX(?:3|4)|OldJPEG|JPEG|PackBits|LZW)|FileType)|e(?:rminate(?:Now|Cancel|Later)|xt(?:Read(?:InapplicableDocumentTypeError|WriteErrorM(?:inimum|aximum))|Block(?:M(?:i(?:nimum(?:Height|Width)|ddleAlignment)|a(?:rgin|ximum(?:Height|Width)))|B(?:o(?:ttomAlignment|rder)|aselineAlignment)|Height|TopAlignment|P(?:ercentageValueType|adding)|Width|AbsoluteValueType)|StorageEdited(?:Characters|Attributes)|CellType|ured(?:RoundedBezelStyle|BackgroundWindowMask|SquareBezelStyle)|Table(?:FixedLayoutAlgorithm|AutomaticLayoutAlgorithm)|Field(?:RoundedBezel|SquareBezel|AndStepperDatePickerStyle)|WriteInapplicableDocumentTypeError|ListPrependEnclosingMarker))|woByteGlyphPacking|ab(?:Character|TextMovement|le(?:tP(?:oint(?:Mask|EventSubtype)?|roximity(?:Mask|EventSubtype)?)|Column(?:NoResizing|UserResizingMask|AutoresizingMask)|View(?:ReverseSequentialColumnAutoresizingStyle|GridNone|S(?:olid(?:HorizontalGridLineMask|VerticalGridLineMask)|equentialColumnAutoresizingStyle)|NoColumnAutoresizing|UniformColumnAutoresizingStyle|FirstColumnOnlyAutoresizingStyle|LastColumnOnlyAutoresizingStyle)))|rackModeMatrix)|I(?:n(?:sert(?:CharFunctionKey|FunctionKey|LineFunctionKey)|t(?:Type|ernalS(?:criptError|pecifierError))|dexSubelement|validIndexSpecifierError|formational(?:Request|AlertStyle)|PredicateOperatorType)|talicFontMask|SO(?:2022JPStringEncoding|Latin(?:1StringEncoding|2StringEncoding))|dentityMappingCharacterCollection|llegalTextMovement|mage(?:R(?:ight|ep(?:MatchesDevice|LoadStatus(?:ReadingHeader|Completed|InvalidData|Un(?:expectedEOF|knownType)|WillNeedAllData)))|Below|C(?:ellType|ache(?:BySize|Never|Default|Always))|Interpolation(?:High|None|Default|Low)|O(?:nly|verlaps)|Frame(?:Gr(?:oove|ayBezel)|Button|None|Photo)|L(?:oadStatus(?:ReadError|C(?:ompleted|ancelled)|InvalidData|UnexpectedEOF)|eft)|A(?:lign(?:Right|Bottom(?:Right|Left)?|Center|Top(?:Right|Left)?|Left)|bove)))|O(?:n(?:State|eByteGlyphPacking|OffButton|lyScrollerArrows)|ther(?:Mouse(?:D(?:own(?:Mask)?|ragged(?:Mask)?)|Up(?:Mask)?)|TextMovement)|SF1OperatingSystem|pe(?:n(?:GL(?:GO(?:Re(?:setLibrary|tainRenderers)|ClearFormatCache|FormatCacheSize)|PFA(?:R(?:obust|endererID)|M(?:inimumPolicy|ulti(?:sample|Screen)|PSafe|aximumPolicy)|BackingStore|S(?:creenMask|te(?:ncilSize|reo)|ingleRenderer|upersample|ample(?:s|Buffers|Alpha))|NoRecovery|C(?:o(?:lor(?:Size|Float)|mpliant)|losestPolicy)|OffScreen|D(?:oubleBuffer|epthSize)|PixelBuffer|VirtualScreenCount|FullScreen|Window|A(?:cc(?:umSize|elerated)|ux(?:Buffers|DepthStencil)|l(?:phaSize|lRenderers))))|StepUnicodeReservedBase)|rationNotSupportedForKeyS(?:criptError|pecifierError))|ffState|KButton|rPredicateType|bjC(?:B(?:itfield|oolType)|S(?:hortType|tr(?:ingType|uctType)|electorType)|NoType|CharType|ObjectType|DoubleType|UnionType|PointerType|VoidType|FloatType|Long(?:Type|longType)|ArrayType))|D(?:i(?:s(?:c(?:losureBezelStyle|reteCapacityLevelIndicatorStyle)|playWindowRunLoopOrdering)|acriticInsensitivePredicateOption|rect(?:Selection|PredicateModifier))|o(?:c(?:ModalWindowMask|ument(?:Directory|ationDirectory))|ubleType|wn(?:TextMovement|ArrowFunctionKey))|e(?:s(?:cendingPageOrder|ktopDirectory)|cimalTabStopType|v(?:ice(?:NColorSpaceModel|IndependentModifierFlagsMask)|eloper(?:Directory|ApplicationDirectory))|fault(?:ControlTint|TokenStyle)|lete(?:Char(?:acter|FunctionKey)|FunctionKey|LineFunctionKey)|moApplicationDirectory)|a(?:yCalendarUnit|teFormatter(?:MediumStyle|Behavior(?:10|Default)|ShortStyle|NoStyle|FullStyle|LongStyle))|ra(?:wer(?:Clos(?:ingState|edState)|Open(?:ingState|State))|gOperation(?:Generic|Move|None|Copy|Delete|Private|Every|Link|All)))|U(?:ser(?:CancelledError|D(?:irectory|omainMask)|FunctionKey)|RL(?:Handle(?:NotLoaded|Load(?:Succeeded|InProgress|Failed))|CredentialPersistence(?:None|Permanent|ForSession))|n(?:scaledWindowMask|cachedRead|i(?:codeStringEncoding|talicFontMask|fiedTitleAndToolbarWindowMask)|d(?:o(?:CloseGroupingRunLoopOrdering|FunctionKey)|e(?:finedDateComponent|rline(?:Style(?:Single|None|Thick|Double)|Pattern(?:Solid|D(?:ot|ash(?:Dot(?:Dot)?)?)))))|known(?:ColorSpaceModel|P(?:ointingDevice|ageOrder)|KeyS(?:criptError|pecifierError))|boldFontMask)|tilityWindowMask|TF8StringEncoding|p(?:dateWindowsRunLoopOrdering|TextMovement|ArrowFunctionKey))|J(?:ustifiedTextAlignment|PEG(?:2000FileType|FileType)|apaneseEUC(?:GlyphPacking|StringEncoding))|P(?:o(?:s(?:t(?:Now|erFontMask|WhenIdle|ASAP)|iti(?:on(?:Replace|Be(?:fore|ginning)|End|After)|ve(?:IntType|DoubleType|FloatType)))|pUp(?:NoArrow|ArrowAt(?:Bottom|Center))|werOffEventType|rtraitOrientation)|NGFileType|ush(?:InCell(?:Mask)?|OnPushOffButton)|e(?:n(?:TipMask|UpperSideMask|PointingDevice|LowerSideMask)|riodic(?:Mask)?)|P(?:S(?:caleField|tatus(?:Title|Field)|aveButton)|N(?:ote(?:Title|Field)|ame(?:Title|Field))|CopiesField|TitleField|ImageButton|OptionsButton|P(?:a(?:perFeedButton|ge(?:Range(?:To|From)|ChoiceMatrix))|reviewButton)|LayoutButton)|lainTextTokenStyle|a(?:useFunctionKey|ragraphSeparatorCharacter|ge(?:DownFunctionKey|UpFunctionKey))|r(?:int(?:ing(?:ReplyLater|Success|Cancelled|Failure)|ScreenFunctionKey|erTable(?:NotFound|OK|Error)|FunctionKey)|o(?:p(?:ertyList(?:XMLFormat|MutableContainers(?:AndLeaves)?|BinaryFormat|Immutable|OpenStepFormat)|rietaryStringEncoding)|gressIndicator(?:BarStyle|SpinningStyle|Preferred(?:SmallThickness|Thickness|LargeThickness|AquaThickness)))|e(?:ssedTab|vFunctionKey))|L(?:HeightForm|CancelButton|TitleField|ImageButton|O(?:KButton|rientationMatrix)|UnitsButton|PaperNameButton|WidthForm))|E(?:n(?:terCharacter|d(?:sWith(?:Comparison|PredicateOperatorType)|FunctionKey))|v(?:e(?:nOddWindingRule|rySubelement)|aluatedObjectExpressionType)|qualTo(?:Comparison|PredicateOperatorType)|ra(?:serPointingDevice|CalendarUnit|DatePickerElementFlag)|x(?:clude(?:10|QuickDrawElementsIconCreationOption)|pandedFontMask|ecuteFunctionKey))|V(?:i(?:ew(?:M(?:in(?:XMargin|YMargin)|ax(?:XMargin|YMargin))|HeightSizable|NotSizable|WidthSizable)|aPanelFontAction)|erticalRuler|a(?:lidationErrorM(?:inimum|aximum)|riableExpressionType))|Key(?:SpecifierEvaluationScriptError|Down(?:Mask)?|Up(?:Mask)?|PathExpressionType|Value(?:MinusSetMutation|SetSetMutation|Change(?:Re(?:placement|moval)|Setting|Insertion)|IntersectSetMutation|ObservingOption(?:New|Old)|UnionSetMutation|ValidationError))|QTMovie(?:NormalPlayback|Looping(?:BackAndForthPlayback|Playback))|F(?:1(?:1FunctionKey|7FunctionKey|2FunctionKey|8FunctionKey|3FunctionKey|9FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey|6FunctionKey)|7FunctionKey|i(?:nd(?:PanelAction(?:Replace(?:A(?:ndFind|ll(?:InSelection)?))?|S(?:howFindPanel|e(?:tFindString|lectAll(?:InSelection)?))|Next|Previous)|FunctionKey)|tPagination|le(?:Read(?:No(?:SuchFileError|PermissionError)|CorruptFileError|In(?:validFileNameError|applicableStringEncodingError)|Un(?:supportedSchemeError|knownError))|HandlingPanel(?:CancelButton|OKButton)|NoSuchFileError|ErrorM(?:inimum|aximum)|Write(?:NoPermissionError|In(?:validFileNameError|applicableStringEncodingError)|OutOfSpaceError|Un(?:supportedSchemeError|knownError))|LockingError)|xedPitchFontMask)|2(?:1FunctionKey|7FunctionKey|2FunctionKey|8FunctionKey|3FunctionKey|9FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey|6FunctionKey)|o(?:nt(?:Mo(?:noSpaceTrait|dernSerifsClass)|BoldTrait|S(?:ymbolicClass|criptsClass|labSerifsClass|ansSerifClass)|C(?:o(?:ndensedTrait|llectionApplicationOnlyMask)|larendonSerifsClass)|TransitionalSerifsClass|I(?:ntegerAdvancementsRenderingMode|talicTrait)|O(?:ldStyleSerifsClass|rnamentalsClass)|DefaultRenderingMode|U(?:nknownClass|IOptimizedTrait)|Panel(?:S(?:hadowEffectModeMask|t(?:andardModesMask|rikethroughEffectModeMask)|izeModeMask)|CollectionModeMask|TextColorEffectModeMask|DocumentColorEffectModeMask|UnderlineEffectModeMask|FaceModeMask|All(?:ModesMask|EffectsModeMask))|ExpandedTrait|VerticalTrait|F(?:amilyClassMask|reeformSerifsClass)|Antialiased(?:RenderingMode|IntegerAdvancementsRenderingMode))|cusRing(?:Below|Type(?:None|Default|Exterior)|Only|Above)|urByteGlyphPacking|rm(?:attingError(?:M(?:inimum|aximum))?|FeedCharacter))|8FunctionKey|unction(?:ExpressionType|KeyMask)|3(?:1FunctionKey|2FunctionKey|3FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey)|9FunctionKey|4FunctionKey|P(?:RevertButton|S(?:ize(?:Title|Field)|etButton)|CurrentField|Preview(?:Button|Field))|l(?:oat(?:ingPointSamplesBitmapFormat|Type)|agsChanged(?:Mask)?)|axButton|5FunctionKey|6FunctionKey)|W(?:heelModeColorPanel|indow(?:s(?:NTOperatingSystem|CP125(?:1StringEncoding|2StringEncoding|3StringEncoding|4StringEncoding|0StringEncoding)|95(?:InterfaceStyle|OperatingSystem))|M(?:iniaturizeButton|ovedEventType)|Below|CloseButton|ToolbarButton|ZoomButton|Out|DocumentIconButton|ExposedEventType|Above)|orkspaceLaunch(?:NewInstance|InhibitingBackgroundOnly|Default|PreferringClassic|WithoutA(?:ctivation|ddingToRecents)|A(?:sync|nd(?:Hide(?:Others)?|Print)|llowingClassicStartup))|eek(?:day(?:CalendarUnit|OrdinalCalendarUnit)|CalendarUnit)|a(?:ntsBidiLevels|rningAlertStyle)|r(?:itingDirection(?:RightToLeft|Natural|LeftToRight)|apCalendarComponents))|L(?:i(?:stModeMatrix|ne(?:Moves(?:Right|Down|Up|Left)|B(?:order|reakBy(?:C(?:harWrapping|lipping)|Truncating(?:Middle|Head|Tail)|WordWrapping))|S(?:eparatorCharacter|weep(?:Right|Down|Up|Left))|ToBezierPathElement|DoesntMove|arSlider)|teralSearch|kePredicateOperatorType|ghterFontAction|braryDirectory)|ocalDomainMask|e(?:ssThan(?:Comparison|OrEqualTo(?:Comparison|PredicateOperatorType)|PredicateOperatorType)|ft(?:Mouse(?:D(?:own(?:Mask)?|ragged(?:Mask)?)|Up(?:Mask)?)|T(?:ext(?:Movement|Alignment)|ab(?:sBezelBorder|StopType))|ArrowFunctionKey))|a(?:yout(?:RightToLeft|NotDone|CantFit|OutOfGlyphs|Done|LeftToRight)|ndscapeOrientation)|ABColorSpaceModel)|A(?:sc(?:iiWithDoubleByteEUCGlyphPacking|endingPageOrder)|n(?:y(?:Type|PredicateModifier|EventMask)|choredSearch|imation(?:Blocking|Nonblocking(?:Threaded)?|E(?:ffect(?:DisappearingItemDefault|Poof)|ase(?:In(?:Out)?|Out))|Linear)|dPredicateType)|t(?:Bottom|tachmentCharacter|omicWrite|Top)|SCIIStringEncoding|d(?:obe(?:GB1CharacterCollection|CNS1CharacterCollection|Japan(?:1CharacterCollection|2CharacterCollection)|Korea1CharacterCollection)|dTraitFontAction|minApplicationDirectory)|uto(?:saveOperation|Pagination)|pp(?:lication(?:SupportDirectory|D(?:irectory|e(?:fined(?:Mask)?|legateReply(?:Success|Cancel|Failure)|activatedEventType))|ActivatedEventType)|KitDefined(?:Mask)?)|l(?:ternateKeyMask|pha(?:ShiftKeyMask|NonpremultipliedBitmapFormat|FirstBitmapFormat)|ert(?:SecondButtonReturn|ThirdButtonReturn|OtherReturn|DefaultReturn|ErrorReturn|FirstButtonReturn|AlternateReturn)|l(?:ScrollerParts|DomainsMask|PredicateModifier|LibrariesDirectory|ApplicationsDirectory))|rgument(?:sWrongScriptError|EvaluationScriptError)|bove(?:Bottom|Top)|WTEventType)))(?:\\b)">>=|><=|> |
||
396 | <<=|><=|><><><.+?> },>>=|><=|> |
||
397 | <<=|><=|><><><.+?> {>>=|><=|> |
||
398 | <<=|><=|><><><.+?> token: "support.function.C99.c",>>=|><=|> |
||
399 | <<=|><=|><><><.+?> regex: C_Highlight_File.cFunctions>>=|><=|> |
||
400 | <<=|><=|><><><.+?> },>>=|><=|> |
||
401 | <<=|><=|><><><.+?> {>>=|><=|> |
||
402 | <<=|><=|><><><.+?> token : cObj.getKeywords(),>>=|><=|> |
||
403 | <<=|><=|><><><.+?> regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b">>=|><=|> |
||
404 | <<=|><=|><><><.+?> },>>=|><=|> |
||
405 | <<=|><=|><><><.+?> {>>=|><=|> |
||
406 | <<=|><=|><><><.+?> token: "punctuation.section.scope.begin.objc",>>=|><=|> |
||
407 | <<=|><=|><><><.+?> regex: "\\[",>>=|><=|> |
||
408 | <<=|><=|><><><.+?> next: "bracketed_content">>=|><=|> |
||
409 | <<=|><=|><><><.+?> },>>=|><=|> |
||
410 | <<=|><=|><><><.+?> {>>=|><=|> |
||
411 | <<=|><=|><><><.+?> token: "meta.function.objc",>>=|><=|> |
||
412 | <<=|><=|><><><.+?> regex: "^(?:-|\\+)\\s*">>=|><=|> |
||
413 | <<=|><=|><><><.+?> }>>=|><=|> |
||
414 | <<=|><=|><><><.+?> ],>>=|><=|> |
||
415 | <<=|><=|><><><.+?> "constant_NSString": [>>=|><=|> |
||
416 | <<=|><=|><><><.+?> {>>=|><=|> |
||
417 | <<=|><=|><><><.+?> token: "constant.character.escape.objc",>>=|><=|> |
||
418 | <<=|><=|><><><.+?> regex: escapedConstRe>>=|><=|> |
||
419 | <<=|><=|><><><.+?> },>>=|><=|> |
||
420 | <<=|><=|><><><.+?> {>>=|><=|> |
||
421 | <<=|><=|><><><.+?> token: "invalid.illegal.unknown-escape.objc",>>=|><=|> |
||
422 | <<=|><=|><><><.+?> regex: "\\\\.">>=|><=|> |
||
423 | <<=|><=|><><><.+?> },>>=|><=|> |
||
424 | <<=|><=|><><><.+?> {>>=|><=|> |
||
425 | <<=|><=|><><><.+?> token: "string",>>=|><=|> |
||
426 | <<=|><=|><><><.+?> regex: '[^"\\\\]+'>>=|><=|> |
||
427 | <<=|><=|><><><.+?> },>>=|><=|> |
||
428 | <<=|><=|><><><.+?> {>>=|><=|> |
||
429 | <<=|><=|><><><.+?> token: "punctuation.definition.string.end",>>=|><=|> |
||
430 | <<=|><=|><><><.+?> regex: "\"",>>=|><=|> |
||
431 | <<=|><=|><><><.+?> next: "start">>=|><=|> |
||
432 | <<=|><=|><><><.+?> }>>=|><=|> |
||
433 | <<=|><=|><><><.+?> ],>>=|><=|> |
||
434 | <<=|><=|><><><.+?> "protocol_list": [>>=|><=|> |
||
435 | <<=|><=|><><><.+?> {>>=|><=|> |
||
436 | <<=|><=|><><><.+?> token: "punctuation.section.scope.end.objc",>>=|><=|> |
||
437 | <<=|><=|><><><.+?> regex: ">",>>=|><=|> |
||
438 | <<=|><=|><><><.+?> next: "start">>=|><=|> |
||
439 | <<=|><=|><><><.+?> },>>=|><=|> |
||
440 | <<=|><=|><><><.+?> {>>=|><=|> |
||
441 | <<=|><=|><><><.+?> token: "support.other.protocol.objc",>>=|><=|> |
||
442 | <<=|><=|><><><.+?> regex: "\bNS(?:GlyphStorage|M(?:utableCopying|enuItem)|C(?:hangeSpelling|o(?:ding|pying|lorPicking(?:Custom|Default)))|T(?:oolbarItemValidations|ext(?:Input|AttachmentCell))|I(?:nputServ(?:iceProvider|erMouseTracker)|gnoreMisspelledWords)|Obj(?:CTypeSerializationCallBack|ect)|D(?:ecimalNumberBehaviors|raggingInfo)|U(?:serInterfaceValidations|RL(?:HandleClient|DownloadDelegate|ProtocolClient|AuthenticationChallengeSender))|Validated(?:ToobarItem|UserInterfaceItem)|Locking)\b">>=|><=|> |
||
443 | <<=|><=|><><><.+?> }>>=|><=|> |
||
444 | <<=|><=|><><><.+?> ],>>=|><=|> |
||
445 | <<=|><=|><><><.+?> "selectors": [>>=|><=|> |
||
446 | <<=|><=|><><><.+?> {>>=|><=|> |
||
447 | <<=|><=|><><><.+?> token: "support.function.any-method.name-of-parameter.objc",>>=|><=|> |
||
448 | <<=|><=|><><><.+?> regex: "\\b(?:[a-zA-Z_:][\\w]*)+">>=|><=|> |
||
449 | <<=|><=|><><><.+?> },>>=|><=|> |
||
450 | <<=|><=|><><><.+?> {>>=|><=|> |
||
451 | <<=|><=|><><><.+?> token: "punctuation",>>=|><=|> |
||
452 | <<=|><=|><><><.+?> regex: "\\)",>>=|><=|> |
||
453 | <<=|><=|><><><.+?> next: "start">>=|><=|> |
||
454 | <<=|><=|><><><.+?> }>>=|><=|> |
||
455 | <<=|><=|><><><.+?> ],>>=|><=|> |
||
456 | <<=|><=|><><><.+?> "bracketed_content": [>>=|><=|> |
||
457 | <<=|><=|><><><.+?> {>>=|><=|> |
||
458 | <<=|><=|><><><.+?> token: "punctuation.section.scope.end.objc",>>=|><=|> |
||
459 | <<=|><=|><><><.+?> regex: "]",>>=|><=|> |
||
460 | <<=|><=|><><><.+?> next: "start">>=|><=|> |
||
461 | <<=|><=|><><><.+?> },>>=|><=|> |
||
462 | <<=|><=|><><><.+?> {>>=|><=|> |
||
463 | <<=|><=|><><><.+?> token: ["support.function.any-method.objc"],>>=|><=|> |
||
464 | <<=|><=|><><><.+?> regex: "(?:predicateWithFormat:| NSPredicate predicateWithFormat:)",>>=|><=|> |
||
465 | <<=|><=|><><><.+?> next: "start">>=|><=|> |
||
466 | <<=|><=|><><><.+?> },>>=|><=|> |
||
467 | <<=|><=|><><><.+?> {>>=|><=|> |
||
468 | <<=|><=|><><><.+?> token: "support.function.any-method.objc",>>=|><=|> |
||
469 | <<=|><=|><><><.+?> regex: "\\w+(?::|(?=]))",>>=|><=|> |
||
470 | <<=|><=|><><><.+?> next: "start">>=|><=|> |
||
471 | <<=|><=|><><><.+?> }>>=|><=|> |
||
472 | <<=|><=|><><><.+?> ],>>=|><=|> |
||
473 | <<=|><=|><><><.+?> "bracketed_strings": [>>=|><=|> |
||
474 | <<=|><=|><><><.+?> {>>=|><=|> |
||
475 | <<=|><=|><><><.+?> token: "punctuation.section.scope.end.objc",>>=|><=|> |
||
476 | <<=|><=|><><><.+?> regex: "]",>>=|><=|> |
||
477 | <<=|><=|><><><.+?> next: "start">>=|><=|> |
||
478 | <<=|><=|><><><.+?> },>>=|><=|> |
||
479 | <<=|><=|><><><.+?> {>>=|><=|> |
||
480 | <<=|><=|><><><.+?> token: "keyword.operator.logical.predicate.cocoa",>>=|><=|> |
||
481 | <<=|><=|><><><.+?> regex: "\\b(?:AND|OR|NOT|IN)\\b">>=|><=|> |
||
482 | <<=|><=|><><><.+?> },>>=|><=|> |
||
483 | <<=|><=|><><><.+?> {>>=|><=|> |
||
484 | <<=|><=|><><><.+?> token: ["invalid.illegal.unknown-method.objc", "punctuation.separator.arguments.objc"],>>=|><=|> |
||
485 | <<=|><=|><><><.+?> regex: "\\b(\\w+)(:)">>=|><=|> |
||
486 | <<=|><=|><><><.+?> },>>=|><=|> |
||
487 | <<=|><=|><><><.+?> {>>=|><=|> |
||
488 | <<=|><=|><><><.+?> regex: "\\b(?:ALL|ANY|SOME|NONE)\\b",>>=|><=|> |
||
489 | <<=|><=|><><><.+?> token: "constant.language.predicate.cocoa">>=|><=|> |
||
490 | <<=|><=|><><><.+?> },>>=|><=|> |
||
491 | <<=|><=|><><><.+?> {>>=|><=|> |
||
492 | <<=|><=|><><><.+?> regex: "\\b(?:NULL|NIL|SELF|TRUE|YES|FALSE|NO|FIRST|LAST|SIZE)\\b",>>=|><=|> |
||
493 | <<=|><=|><><><.+?> token: "constant.language.predicate.cocoa">>=|><=|> |
||
494 | <<=|><=|><><><.+?> },>>=|><=|> |
||
495 | <<=|><=|><><><.+?> {>>=|><=|> |
||
496 | <<=|><=|><><><.+?> regex: "\\b(?:MATCHES|CONTAINS|BEGINSWITH|ENDSWITH|BETWEEN)\\b",>>=|><=|> |
||
497 | <<=|><=|><><><.+?> token: "keyword.operator.comparison.predicate.cocoa">>=|><=|> |
||
498 | <<=|><=|><><><.+?> },>>=|><=|> |
||
499 | <<=|><=|><><><.+?> {>>=|><=|> |
||
500 | <<=|><=|><><><.+?> regex: "\\bC(?:ASEINSENSITIVE|I)\\b",>>=|><=|> |
||
501 | <<=|><=|><><><.+?> token: "keyword.other.modifier.predicate.cocoa">>=|><=|> |
||
502 | <<=|><=|><><><.+?> },>>=|><=|> |
||
503 | <<=|><=|><><><.+?> {>>=|><=|> |
||
504 | <<=|><=|><><><.+?> regex: "\\b(?:ANYKEY|SUBQUERY|CAST|TRUEPREDICATE|FALSEPREDICATE)\\b",>>=|><=|> |
||
505 | <<=|><=|><><><.+?> token: "keyword.other.predicate.cocoa">>=|><=|> |
||
506 | <<=|><=|><><><.+?> },>>=|><=|> |
||
507 | <<=|><=|><><><.+?> {>>=|><=|> |
||
508 | <<=|><=|><><><.+?> regex: escapedConstRe,>>=|><=|> |
||
509 | <<=|><=|><><><.+?> token: "constant.character.escape.objc">>=|><=|> |
||
510 | <<=|><=|><><><.+?> },>>=|><=|> |
||
511 | <<=|><=|><><><.+?> {>>=|><=|> |
||
512 | <<=|><=|><><><.+?> regex: "\\\\.",>>=|><=|> |
||
513 | <<=|><=|><><><.+?> token: "invalid.illegal.unknown-escape.objc">>=|><=|> |
||
514 | <<=|><=|><><><.+?> },>>=|><=|> |
||
515 | <<=|><=|><><><.+?> {>>=|><=|> |
||
516 | <<=|><=|><><><.+?> token: "string",>>=|><=|> |
||
517 | <<=|><=|><><><.+?> regex: '[^"\\\\]'>>=|><=|> |
||
518 | <<=|><=|><><><.+?> },>>=|><=|> |
||
519 | <<=|><=|><><><.+?> {>>=|><=|> |
||
520 | <<=|><=|><><><.+?> token: "punctuation.definition.string.end.objc",>>=|><=|> |
||
521 | <<=|><=|><><><.+?> regex: "\"",>>=|><=|> |
||
522 | <<=|><=|><><><.+?> next: "predicates">>=|><=|> |
||
523 | <<=|><=|><><><.+?> }>>=|><=|> |
||
524 | <<=|><=|><><><.+?> ],>>=|><=|> |
||
525 | <<=|><=|><><><.+?> "comment" : [>>=|><=|> |
||
526 | <<=|><=|><><><.+?> {>>=|><=|> |
||
527 | <<=|><=|><><><.+?> token : "comment", // closing comment>>=|><=|> |
||
528 | <<=|><=|><><><.+?> regex : ".*?\\*\\/",>>=|><=|> |
||
529 | <<=|><=|><><><.+?> next : "start">>=|><=|> |
||
530 | <<=|><=|><><><.+?> }, {>>=|><=|> |
||
531 | <<=|><=|><><><.+?> token : "comment", // comment spanning whole line>>=|><=|> |
||
532 | <<=|><=|><><><.+?> regex : ".+">>=|><=|> |
||
533 | <<=|><=|><><><.+?> }>>=|><=|> |
||
534 | <<=|><=|><><><.+?> ],>>=|><=|> |
||
535 | <<=|><=|><><><.+?> "methods" : [>>=|><=|> |
||
536 | <<=|><=|><><><.+?> {>>=|><=|> |
||
537 | <<=|><=|><><><.+?> token : "meta.function.objc",>>=|><=|> |
||
538 | <<=|><=|><><><.+?> regex : "(?=\\{|#)|;",>>=|><=|> |
||
539 | <<=|><=|><><><.+?> next : "start">>=|><=|> |
||
540 | <<=|><=|><><><.+?> }>>=|><=|> |
||
541 | <<=|><=|><><><.+?> ]>>=|><=|> |
||
542 | <<=|><=|><><><.+?>}>>=|><=|> |
||
543 | <<=|><=|><><><.+?> for (var r in cRules) {>>=|><=|> |
||
544 | <<=|><=|><><><.+?> if (this.$rules[r]) {>>=|><=|> |
||
545 | <<=|><=|><><><.+?> if (this.$rules[r].push)>>=|><=|> |
||
546 | <<=|><=|><><><.+?> this.$rules[r].push.apply(this.$rules[r], cRules[r]);>>=|><=|> |
||
547 | <<=|><=|><><><.+?> } else {>>=|><=|> |
||
548 | <<=|><=|><><><.+?> this.$rules[r] = cRules[r];>>=|><=|> |
||
549 | <<=|><=|><><><.+?> }>>=|><=|> |
||
550 | <<=|><=|><><><.+?> }>>=|><=|> |
||
551 | |||
552 | <<=|><=|><><><.+?> this.$rules.bracketed_content = this.$rules.bracketed_content.concat(>>=|><=|> |
||
553 | <<=|><=|><><><.+?> this.$rules.start, specialVariables>>=|><=|> |
||
554 | <<=|><=|><><><.+?> );>>=|><=|> |
||
555 | |||
556 | <<=|><=|><><><.+?> this.embedRules(DocCommentHighlightRules, "doc-",>>=|><=|> |
||
557 | <<=|><=|><><><.+?> [ DocCommentHighlightRules.getEndRule("start") ]);>>=|><=|> |
||
558 | <<=|><=|><><><.+?>};>>=|><=|> |
||
559 | |||
560 | <<=|><=|><><><.+?>oop.inherits(ObjectiveCHighlightRules, CHighlightRules);>>=|><=|> |
||
561 | |||
562 | <<=|><=|><><><.+?>exports.ObjectiveCHighlightRules = ObjectiveCHighlightRules;>>=|><=|> |
||
563 | <<=|><=|><><><.+?>});>>=|><=|> |
||
564 | |||
565 | <<=|><=|><><><.+?>define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module) {>>=|><=|> |
||
566 | <<=|><=|><><><.+?>"use strict";>>=|><=|> |
||
567 | |||
568 | <<=|><=|><><><.+?>var oop = require("../../lib/oop");>>=|><=|> |
||
569 | <<=|><=|><><><.+?>var Range = require("../../range").Range;>>=|><=|> |
||
570 | <<=|><=|><><><.+?>var BaseFoldMode = require("./fold_mode").FoldMode;>>=|><=|> |
||
571 | |||
572 | <<=|><=|><><><.+?>var FoldMode = exports.FoldMode = function(commentRegex) {>>=|><=|> |
||
573 | <<=|><=|><><><.+?> if (commentRegex) {>>=|><=|> |
||
574 | <<=|><=|><><><.+?> this.foldingStartMarker = new RegExp(>>=|><=|> |
||
575 | <<=|><=|><><><.+?> this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)>>=|><=|> |
||
576 | <<=|><=|><><><.+?> );>>=|><=|> |
||
577 | <<=|><=|><><><.+?> this.foldingStopMarker = new RegExp(>>=|><=|> |
||
578 | <<=|><=|><><><.+?> this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)>>=|><=|> |
||
579 | <<=|><=|><><><.+?> );>>=|><=|> |
||
580 | <<=|><=|><><><.+?> }>>=|><=|> |
||
581 | <<=|><=|><><><.+?>};>>=|><=|> |
||
582 | <<=|><=|><><><.+?>oop.inherits(FoldMode, BaseFoldMode);>>=|><=|> |
||
583 | |||
584 | <<=|><=|><><><.+?>(function() {>>=|><=|> |
||
585 | |||
586 | <<=|><=|><><><.+?> this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/;>>=|><=|> |
||
587 | <<=|><=|><><><.+?> this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/;>>=|><=|> |
||
588 | <<=|><=|><><><.+?> this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;>>=|><=|> |
||
589 | <<=|><=|><><><.+?> this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;>>=|><=|> |
||
590 | <<=|><=|><><><.+?> this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;>>=|><=|> |
||
591 | <<=|><=|><><><.+?> this._getFoldWidgetBase = this.getFoldWidget;>>=|><=|> |
||
592 | <<=|><=|><><><.+?> this.getFoldWidget = function(session, foldStyle, row) {>>=|><=|> |
||
593 | <<=|><=|><><><.+?> var line = session.getLine(row);>>=|><=|> |
||
594 | |||
595 | <<=|><=|><><><.+?> if (this.singleLineBlockCommentRe.test(line)) {>>=|><=|> |
||
596 | <<=|><=|><><><.+?> if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))>>=|><=|> |
||
597 | <<=|><=|><><><.+?> return "";>>=|><=|> |
||
598 | <<=|><=|><><><.+?> }>>=|><=|> |
||
599 | |||
600 | <<=|><=|><><><.+?> var fw = this._getFoldWidgetBase(session, foldStyle, row);>>=|><=|> |
||
601 | |||
602 | <<=|><=|><><><.+?> if (!fw && this.startRegionRe.test(line))>>=|><=|> |
||
603 | <<=|><=|><><><.+?> return "start"; // lineCommentRegionStart>>=|><=|> |
||
604 | |||
605 | <<=|><=|><><><.+?> return fw;>>=|><=|> |
||
606 | <<=|><=|><><><.+?> };>>=|><=|> |
||
607 | |||
608 | <<=|><=|><><><.+?> this.getFoldWidgetRange = function(session, foldStyle, row, forceMultiline) {>>=|><=|> |
||
609 | <<=|><=|><><><.+?> var line = session.getLine(row);>>=|><=|> |
||
610 | |||
611 | <<=|><=|><><><.+?> if (this.startRegionRe.test(line))>>=|><=|> |
||
612 | <<=|><=|><><><.+?> return this.getCommentRegionBlock(session, line, row);>>=|><=|> |
||
613 | |||
614 | <<=|><=|><><><.+?> var match = line.match(this.foldingStartMarker);>>=|><=|> |
||
615 | <<=|><=|><><><.+?> if (match) {>>=|><=|> |
||
616 | <<=|><=|><><><.+?> var i = match.index;>>=|><=|> |
||
617 | |||
618 | <<=|><=|><><><.+?> if (match[1])>>=|><=|> |
||
619 | <<=|><=|><><><.+?> return this.openingBracketBlock(session, match[1], row, i);>>=|><=|> |
||
620 | |||
621 | <<=|><=|><><><.+?> var range = session.getCommentFoldRange(row, i + match[0].length, 1);>>=|><=|> |
||
622 | |||
623 | <<=|><=|><><><.+?> if (range && !range.isMultiLine()) {>>=|><=|> |
||
624 | <<=|><=|><><><.+?> if (forceMultiline) {>>=|><=|> |
||
625 | <<=|><=|><><><.+?> range = this.getSectionRange(session, row);>>=|><=|> |
||
626 | <<=|><=|><><><.+?> } else if (foldStyle != "all")>>=|><=|> |
||
627 | <<=|><=|><><><.+?> range = null;>>=|><=|> |
||
628 | <<=|><=|><><><.+?> }>>=|><=|> |
||
629 | |||
630 | <<=|><=|><><><.+?> return range;>>=|><=|> |
||
631 | <<=|><=|><><><.+?> }>>=|><=|> |
||
632 | |||
633 | <<=|><=|><><><.+?> if (foldStyle === "markbegin")>>=|><=|> |
||
634 | <<=|><=|><><><.+?> return;>>=|><=|> |
||
635 | |||
636 | <<=|><=|><><><.+?> var match = line.match(this.foldingStopMarker);>>=|><=|> |
||
637 | <<=|><=|><><><.+?> if (match) {>>=|><=|> |
||
638 | <<=|><=|><><><.+?> var i = match.index + match[0].length;>>=|><=|> |
||
639 | |||
640 | <<=|><=|><><><.+?> if (match[1])>>=|><=|> |
||
641 | <<=|><=|><><><.+?> return this.closingBracketBlock(session, match[1], row, i);>>=|><=|> |
||
642 | |||
643 | <<=|><=|><><><.+?> return session.getCommentFoldRange(row, i, -1);>>=|><=|> |
||
644 | <<=|><=|><><><.+?> }>>=|><=|> |
||
645 | <<=|><=|><><><.+?> };>>=|><=|> |
||
646 | |||
647 | <<=|><=|><><><.+?> this.getSectionRange = function(session, row) {>>=|><=|> |
||
648 | <<=|><=|><><><.+?> var line = session.getLine(row);>>=|><=|> |
||
649 | <<=|><=|><><><.+?> var startIndent = line.search(/\S/);>>=|><=|> |
||
650 | <<=|><=|><><><.+?> var startRow = row;>>=|><=|> |
||
651 | <<=|><=|><><><.+?> var startColumn = line.length;>>=|><=|> |
||
652 | <<=|><=|><><><.+?> row = row + 1;>>=|><=|> |
||
653 | <<=|><=|><><><.+?> var endRow = row;>>=|><=|> |
||
654 | <<=|><=|><><><.+?> var maxRow = session.getLength();>>=|><=|> |
||
655 | <<=|><=|><><><.+?> while (++row < maxRow) {>>=|><=|> |
||
656 | <<=|><=|><><><.+?> line = session.getLine(row);>>=|><=|> |
||
657 | <<=|><=|><><><.+?> var indent = line.search(/\S/);>>=|><=|> |
||
658 | <<=|><=|><><><.+?> if (indent === -1)>>=|><=|> |
||
659 | <<=|><=|><><><.+?> continue;>>=|><=|> |
||
660 | <<=|><=|><><><.+?> if (startIndent > indent)>>=|><=|> |
||
661 | <<=|><=|><><><.+?> break;>>=|><=|> |
||
662 | <<=|><=|><><><.+?> var subRange = this.getFoldWidgetRange(session, "all", row);>>=|><=|> |
||
663 | |||
664 | <<=|><=|><><><.+?> if (subRange) {>>=|><=|> |
||
665 | <<=|><=|><><><.+?> if (subRange.start.row <= startRow) {>>=|><=|> |
||
666 | <<=|><=|><><><.+?> break;>>=|><=|> |
||
667 | <<=|><=|><><><.+?> } else if (subRange.isMultiLine()) {>>=|><=|> |
||
668 | <<=|><=|><><><.+?> row = subRange.end.row;>>=|><=|> |
||
669 | <<=|><=|><><><.+?> } else if (startIndent == indent) {>>=|><=|> |
||
670 | <<=|><=|><><><.+?> break;>>=|><=|> |
||
671 | <<=|><=|><><><.+?> }>>=|><=|> |
||
672 | <<=|><=|><><><.+?> }>>=|><=|> |
||
673 | <<=|><=|><><><.+?> endRow = row;>>=|><=|> |
||
674 | <<=|><=|><><><.+?> }>>=|><=|> |
||
675 | |||
676 | <<=|><=|><><><.+?> return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);>>=|><=|> |
||
677 | <<=|><=|><><><.+?> };>>=|><=|> |
||
678 | <<=|><=|><><><.+?> this.getCommentRegionBlock = function(session, line, row) {>>=|><=|> |
||
679 | <<=|><=|><><><.+?> var startColumn = line.search(/\s*$/);>>=|><=|> |
||
680 | <<=|><=|><><><.+?> var maxRow = session.getLength();>>=|><=|> |
||
681 | <<=|><=|><><><.+?> var startRow = row;>>=|><=|> |
||
682 | |||
683 | <<=|><=|><><><.+?> var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;>>=|><=|> |
||
684 | <<=|><=|><><><.+?> var depth = 1;>>=|><=|> |
||
685 | <<=|><=|><><><.+?> while (++row < maxRow) {>>=|><=|> |
||
686 | <<=|><=|><><><.+?> line = session.getLine(row);>>=|><=|> |
||
687 | <<=|><=|><><><.+?> var m = re.exec(line);>>=|><=|> |
||
688 | <<=|><=|><><><.+?> if (!m) continue;>>=|><=|> |
||
689 | <<=|><=|><><><.+?> if (m[1]) depth--;>>=|><=|> |
||
690 | <<=|><=|><><><.+?> else depth++;>>=|><=|> |
||
691 | |||
692 | <<=|><=|><><><.+?> if (!depth) break;>>=|><=|> |
||
693 | <<=|><=|><><><.+?> }>>=|><=|> |
||
694 | |||
695 | <<=|><=|><><><.+?> var endRow = row;>>=|><=|> |
||
696 | <<=|><=|><><><.+?> if (endRow > startRow) {>>=|><=|> |
||
697 | <<=|><=|><><><.+?> return new Range(startRow, startColumn, endRow, line.length);>>=|><=|> |
||
698 | <<=|><=|><><><.+?> }>>=|><=|> |
||
699 | <<=|><=|><><><.+?> };>>=|><=|> |
||
700 | |||
701 | <<=|><=|><><><.+?>}).call(FoldMode.prototype);>>=|><=|> |
||
702 | |||
703 | <<=|><=|><><><.+?>});>>=|><=|> |
||
704 | |||
705 | <<=|><=|><><><.+?>define("ace/mode/objectivec",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/objectivec_highlight_rules","ace/mode/folding/cstyle"], function(require, exports, module) {>>=|><=|> |
||
706 | <<=|><=|><><><.+?>"use strict";>>=|><=|> |
||
707 | |||
708 | <<=|><=|><><><.+?>var oop = require("../lib/oop");>>=|><=|> |
||
709 | <<=|><=|><><><.+?>var TextMode = require("./text").Mode;>>=|><=|> |
||
710 | <<=|><=|><><><.+?>var ObjectiveCHighlightRules = require("./objectivec_highlight_rules").ObjectiveCHighlightRules;>>=|><=|> |
||
711 | <<=|><=|><><><.+?>var CStyleFoldMode = require("./folding/cstyle").FoldMode;>>=|><=|> |
||
712 | |||
713 | <<=|><=|><><><.+?>var Mode = function() {>>=|><=|> |
||
714 | <<=|><=|><><><.+?> this.HighlightRules = ObjectiveCHighlightRules;>>=|><=|> |
||
715 | <<=|><=|><><><.+?> this.foldingRules = new CStyleFoldMode();>>=|><=|> |
||
716 | <<=|><=|><><><.+?> this.$behaviour = this.$defaultBehaviour;>>=|><=|> |
||
717 | <<=|><=|><><><.+?>};>>=|><=|> |
||
718 | <<=|><=|><><><.+?>oop.inherits(Mode, TextMode);>>=|><=|> |
||
719 | |||
720 | <<=|><=|><><><.+?>(function() {>>=|><=|> |
||
721 | <<=|><=|><><><.+?> this.lineCommentStart = "//";>>=|><=|> |
||
722 | <<=|><=|><><><.+?> this.blockComment = {start: "/*", end: "*/"};>>=|><=|> |
||
723 | <<=|><=|><><><.+?> this.$id = "ace/mode/objectivec";>>=|><=|> |
||
724 | <<=|><=|><><><.+?>}).call(Mode.prototype);>>=|><=|> |
||
725 | |||
726 | <<=|><=|><><><.+?>exports.Mode = Mode;>>=|><=|> |
||
727 | <<=|><=|><><><.+?>});>>=|><=|> |