Elffuss BraidHub

kikocis/continue public

7d19f8698b5d · 21.7 KiBRawPermalink
1{
2 "fileTypes": [
3 "java",
4 "bsh"
5 ],
6 "keyEquivalent": "^~J",
7 "name": "Java",
8 "patterns": [
9 {
10 "captures": {
11 "1": {
12 "name": "keyword.other.package.java"
13 },
14 "2": {
15 "name": "storage.modifier.package.java"
16 },
17 "3": {
18 "name": "punctuation.terminator.java"
19 }
20 },
21 "match": "^\\s*(package)\\b(?:\\s*([^ ;$]+)\\s*(;)?)?",
22 "name": "meta.package.java"
23 },
24 {
25 "begin": "(import static)\\b\\s*",
26 "beginCaptures": {
27 "1": {
28 "name": "keyword.other.import.static.java"
29 }
30 },
31 "captures": {
32 "1": {
33 "name": "keyword.other.import.java"
34 },
35 "2": {
36 "name": "storage.modifier.import.java"
37 },
38 "3": {
39 "name": "punctuation.terminator.java"
40 }
41 },
42 "contentName": "storage.modifier.import.java",
43 "end": "\\s*(?:$|(;))",
44 "endCaptures": {
45 "1": {
46 "name": "punctuation.terminator.java"
47 }
48 },
49 "name": "meta.import.java",
50 "patterns": [
51 {
52 "match": "\\.",
53 "name": "punctuation.separator.java"
54 },
55 {
56 "match": "\\s",
57 "name": "invalid.illegal.character_not_allowed_here.java"
58 }
59 ]
60 },
61 {
62 "begin": "(import)\\b\\s*",
63 "beginCaptures": {
64 "1": {
65 "name": "keyword.other.import.java"
66 }
67 },
68 "captures": {
69 "1": {
70 "name": "keyword.other.import.java"
71 },
72 "2": {
73 "name": "storage.modifier.import.java"
74 },
75 "3": {
76 "name": "punctuation.terminator.java"
77 }
78 },
79 "contentName": "storage.modifier.import.java",
80 "end": "\\s*(?:$|(;))",
81 "endCaptures": {
82 "1": {
83 "name": "punctuation.terminator.java"
84 }
85 },
86 "name": "meta.import.java",
87 "patterns": [
88 {
89 "match": "\\.",
90 "name": "punctuation.separator.java"
91 },
92 {
93 "match": "\\s",
94 "name": "invalid.illegal.character_not_allowed_here.java"
95 }
96 ]
97 },
98 {
99 "include": "#code"
100 }
101 ],
102 "repository": {
103 "all-types": {
104 "patterns": [
105 {
106 "include": "#primitive-arrays"
107 },
108 {
109 "include": "#primitive-types"
110 },
111 {
112 "include": "#object-types"
113 }
114 ]
115 },
116 "annotations": {
117 "patterns": [
118 {
119 "begin": "(@[^ (]+)(\\()",
120 "beginCaptures": {
121 "1": {
122 "name": "storage.type.annotation.java"
123 },
124 "2": {
125 "name": "punctuation.definition.annotation-arguments.begin.java"
126 }
127 },
128 "end": "(\\))",
129 "endCaptures": {
130 "1": {
131 "name": "punctuation.definition.annotation-arguments.end.java"
132 }
133 },
134 "name": "meta.declaration.annotation.java",
135 "patterns": [
136 {
137 "captures": {
138 "1": {
139 "name": "constant.other.key.java"
140 },
141 "2": {
142 "name": "keyword.operator.assignment.java"
143 }
144 },
145 "match": "(\\w*)\\s*(=)"
146 },
147 {
148 "include": "#code"
149 },
150 {
151 "match": ",",
152 "name": "punctuation.separator.property.java"
153 }
154 ]
155 },
156 {
157 "match": "@\\w*",
158 "name": "storage.type.annotation.java"
159 }
160 ]
161 },
162 "anonymous-classes-and-new": {
163 "begin": "\\bnew\\b",
164 "beginCaptures": {
165 "0": {
166 "name": "keyword.control.new.java"
167 }
168 },
169 "end": "(?<=\\)|\\])(?!\\s*{)|(?<=})|(?=;)",
170 "patterns": [
171 {
172 "begin": "(\\w+)\\s*(?=\\[)",
173 "beginCaptures": {
174 "1": {
175 "name": "storage.type.java"
176 }
177 },
178 "end": "(})|(?=\\s*(?:,|;|\\)))",
179 "endCaptures": {
180 "1": {
181 "name": "punctuation.section.block.end.java"
182 }
183 },
184 "patterns": [
185 {
186 "begin": "\\[",
187 "end": "\\]",
188 "patterns": [
189 {
190 "include": "#code"
191 }
192 ]
193 },
194 {
195 "begin": "{",
196 "beginCaptures": {
197 "0": {
198 "name": "punctuation.section.block.begin.java"
199 }
200 },
201 "end": "(?=})",
202 "patterns": [
203 {
204 "include": "#code"
205 }
206 ]
207 }
208 ]
209 },
210 {
211 "begin": "(?=\\w.*\\()",
212 "end": "(?<=\\))",
213 "patterns": [
214 {
215 "include": "#object-types"
216 },
217 {
218 "begin": "\\(",
219 "beginCaptures": {
220 "1": {
221 "name": "storage.type.java"
222 }
223 },
224 "end": "\\)",
225 "patterns": [
226 {
227 "include": "#code"
228 }
229 ]
230 }
231 ]
232 },
233 {
234 "begin": "{",
235 "beginCaptures": {
236 "0": {
237 "name": "punctuation.section.inner-class.begin.java"
238 }
239 },
240 "end": "}",
241 "endCaptures": {
242 "0": {
243 "name": "punctuation.section.inner-class.end.java"
244 }
245 },
246 "name": "meta.inner-class.java",
247 "patterns": [
248 {
249 "include": "#class-body"
250 }
251 ]
252 }
253 ]
254 },
255 "assertions": {
256 "patterns": [
257 {
258 "begin": "\\b(assert)\\s",
259 "beginCaptures": {
260 "1": {
261 "name": "keyword.control.assert.java"
262 }
263 },
264 "end": "$",
265 "name": "meta.declaration.assertion.java",
266 "patterns": [
267 {
268 "match": ":",
269 "name": "keyword.operator.assert.expression-seperator.java"
270 },
271 {
272 "include": "#code"
273 }
274 ]
275 }
276 ]
277 },
278 "class": {
279 "begin": "(?=\\w?[\\w\\s]*(?:class|(?:@)?interface|enum)\\s+\\w+)",
280 "end": "}",
281 "endCaptures": {
282 "0": {
283 "name": "punctuation.section.class.end.java"
284 }
285 },
286 "name": "meta.class.java",
287 "patterns": [
288 {
289 "include": "#storage-modifiers"
290 },
291 {
292 "include": "#comments"
293 },
294 {
295 "captures": {
296 "1": {
297 "name": "storage.modifier.java"
298 },
299 "2": {
300 "name": "entity.name.type.class.java"
301 }
302 },
303 "match": "(class|(?:@)?interface|enum)\\s+(\\w+)",
304 "name": "meta.class.identifier.java"
305 },
306 {
307 "begin": "extends",
308 "beginCaptures": {
309 "0": {
310 "name": "storage.modifier.extends.java"
311 }
312 },
313 "end": "(?={|implements)",
314 "name": "meta.definition.class.inherited.classes.java",
315 "patterns": [
316 {
317 "include": "#object-types-inherited"
318 },
319 {
320 "include": "#comments"
321 }
322 ]
323 },
324 {
325 "begin": "(implements)\\s",
326 "beginCaptures": {
327 "1": {
328 "name": "storage.modifier.implements.java"
329 }
330 },
331 "end": "(?=\\s*extends|\\{)",
332 "name": "meta.definition.class.implemented.interfaces.java",
333 "patterns": [
334 {
335 "include": "#object-types-inherited"
336 },
337 {
338 "include": "#comments"
339 }
340 ]
341 },
342 {
343 "begin": "{",
344 "beginCaptures": {
345 "0": {
346 "name": "punctuation.section.class.begin.java"
347 }
348 },
349 "end": "(?=})",
350 "name": "meta.class.body.java",
351 "patterns": [
352 {
353 "include": "#class-body"
354 }
355 ]
356 }
357 ]
358 },
359 "class-body": {
360 "patterns": [
361 {
362 "include": "#comments"
363 },
364 {
365 "include": "#class"
366 },
367 {
368 "include": "#enums"
369 },
370 {
371 "include": "#variables"
372 },
373 {
374 "include": "#methods"
375 },
376 {
377 "include": "#annotations"
378 },
379 {
380 "include": "#storage-modifiers"
381 },
382 {
383 "include": "#code"
384 }
385 ]
386 },
387 "code": {
388 "patterns": [
389 {
390 "include": "#comments"
391 },
392 {
393 "include": "#class"
394 },
395 {
396 "begin": "{",
397 "beginCaptures": {
398 "0": {
399 "name": "punctuation.section.block.begin.java"
400 }
401 },
402 "end": "}",
403 "endCaptures": {
404 "0": {
405 "name": "punctuation.section.block.end.java"
406 }
407 },
408 "patterns": [
409 {
410 "include": "#code"
411 }
412 ]
413 },
414 {
415 "include": "#assertions"
416 },
417 {
418 "include": "#parens"
419 },
420 {
421 "include": "#constants-and-special-vars"
422 },
423 {
424 "include": "#anonymous-classes-and-new"
425 },
426 {
427 "include": "#annotations"
428 },
429 {
430 "include": "#keywords"
431 },
432 {
433 "include": "#storage-modifiers"
434 },
435 {
436 "include": "#method-call"
437 },
438 {
439 "include": "#strings"
440 },
441 {
442 "include": "#all-types"
443 }
444 ]
445 },
446 "comments": {
447 "patterns": [
448 {
449 "captures": {
450 "0": {
451 "name": "punctuation.definition.comment.java"
452 }
453 },
454 "match": "/\\*\\*/",
455 "name": "comment.block.empty.java"
456 },
457 {
458 "include": "text.html.javadoc"
459 },
460 {
461 "include": "#comments-inline"
462 }
463 ]
464 },
465 "comments-inline": {
466 "patterns": [
467 {
468 "begin": "/\\*",
469 "captures": {
470 "0": {
471 "name": "punctuation.definition.comment.java"
472 }
473 },
474 "end": "\\*/",
475 "name": "comment.block.java"
476 },
477 {
478 "begin": "(^[ \\t]+)?(?=//)",
479 "beginCaptures": {
480 "1": {
481 "name": "punctuation.whitespace.comment.leading.java"
482 }
483 },
484 "end": "(?!\\G)",
485 "patterns": [
486 {
487 "begin": "//",
488 "beginCaptures": {
489 "0": {
490 "name": "punctuation.definition.comment.java"
491 }
492 },
493 "end": "\\n",
494 "name": "comment.line.double-slash.java"
495 }
496 ]
497 }
498 ]
499 },
500 "constants-and-special-vars": {
501 "patterns": [
502 {
503 "match": "\\b(true|false|null)\\b",
504 "name": "constant.language.java"
505 },
506 {
507 "match": "\\b(this|super)\\b",
508 "name": "variable.language.java"
509 },
510 {
511 "match": "\\b0[xX]\\h([\\h_]*\\h)?[lL]?(?!\\w|\\.)",
512 "name": "constant.numeric.hex.java"
513 },
514 {
515 "match": "\\b0[0-7_]*[0-7][lL]?\\b",
516 "name": "constant.numeric.octal.java"
517 },
518 {
519 "match": "\\b0[bB][01]([01_]*[01])?[lL]?\\b",
520 "name": "constant.numeric.binary.java"
521 },
522 {
523 "match": "\\b(0|[1-9]([0-9_]*[0-9])?)[lL]?(?!\\w|\\.)",
524 "name": "constant.numeric.integer.java"
525 },
526 {
527 "match": "(?x)\n\t\t\t\t\t\t(?<!\\w)\t\t\t\t\t\t\t\t\t\t# Ensure word boundry\n\t\t\t\t\t\t(?>\n\t\t\t\t\t\t\t0[xX]\t\t\t\t\t\t\t\t\t# Start literal\n\t\t\t\t\t\t\t(\\h([\\h_]*\\h)?)?\t\t\t\t\t\t# Optional Number\n\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t(?<=\\h)\\.\t\t\t\t\t\t\t# A number must exist on\n\t\t\t\t\t\t | \\.(?=\\h)\t\t\t\t\t\t\t# one side of the decimal\n\t\t\t\t\t\t | (?<=\\h)\t\t\t\t\t\t\t\t# Decimal not required\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t(\\h([\\h_]*\\h)?)?\t\t\t\t\t\t# Optional Number\n\t\t\t\t\t\t\t[pP]\t\t\t\t\t\t\t\t\t# Exponent Indicator\n\t\t\t\t\t\t\t[+-]?(0|[1-9]([0-9_]*[0-9])?)\t\t\t# Signed Integer\n\t\t\t\t\t\t\t[fFdD]?\t\t\t\t\t\t\t\t\t# Float Type Suffix\n\t\t\t\t\t\t)\n\t\t\t\t\t\t(?!\\w)\t\t\t\t\t\t\t\t\t\t# Ensure word boundry\n\t\t\t\t\t",
528 "name": "constant.numeric.hex-float.java"
529 },
530 {
531 "match": "(?x)\n\t\t\t\t\t\t(?<!\\w)\t\t\t\t\t\t\t\t\t\t\t# Ensure word boundry\n\t\t\t\t\t\t(?>\n\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t(0|[1-9]([0-9_]*[0-9])?)\t\t\t\t# Leading digits\n\t\t\t\t\t\t\t\t(?=[eEfFdD.])\t\t\t\t\t\t\t# Allow for numbers without .\n\t\t\t\t\t\t\t)?\n\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t(?<=[0-9])(?=[eEfFdD])\t\t\t\t\t# Allow for numbers without .\n\t\t\t\t\t\t\t | \\.\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t[0-9]([0-9_]*[0-9])?\t\t\t\t\t# Numbers after .\n\t\t\t\t\t\t\t)?\n\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t[eE][+-]?(0|[1-9]([0-9_]*[0-9])?)\t\t# Exponent\n\t\t\t\t\t\t\t)?\n\t\t\t\t\t\t\t[fFdD]?\t\t\t\t\t\t\t\t\t\t# Float Type Suffix\n\t\t\t\t\t\t)\n\t\t\t\t\t\t(?!\\w)\t\t\t\t\t\t\t\t\t\t\t# Ensure word boundry\n\t\t\t\t\t",
532 "name": "constant.numeric.float.java"
533 },
534 {
535 "captures": {
536 "1": {
537 "name": "keyword.operator.dereference.java"
538 }
539 },
540 "match": "(\\.)?\\b([A-Z][A-Z0-9_]+)(?!<|\\.class|\\s*\\w+\\s*=)\\b",
541 "name": "constant.other.java"
542 }
543 ]
544 },
545 "enums": {
546 "begin": "^(?=\\s*[A-Z0-9_]+\\s*({|\\(|,))",
547 "end": "(?=;|})",
548 "patterns": [
549 {
550 "begin": "\\w+",
551 "beginCaptures": {
552 "0": {
553 "name": "constant.other.enum.java"
554 }
555 },
556 "end": "(?=,|;|})",
557 "name": "meta.enum.java",
558 "patterns": [
559 {
560 "include": "#parens"
561 },
562 {
563 "begin": "{",
564 "beginCaptures": {
565 "0": {
566 "name": "punctuation.section.enum.begin.java"
567 }
568 },
569 "end": "}",
570 "endCaptures": {
571 "0": {
572 "name": "punctuation.section.enum.end.java"
573 }
574 },
575 "patterns": [
576 {
577 "include": "#class-body"
578 }
579 ]
580 }
581 ]
582 },
583 {
584 "include": "#comments"
585 },
586 {
587 "include": "#annotations"
588 }
589 ]
590 },
591 "keywords": {
592 "patterns": [
593 {
594 "match": "\\b(try|catch|finally|throw)\\b",
595 "name": "keyword.control.catch-exception.java"
596 },
597 {
598 "match": "\\?|:",
599 "name": "keyword.control.ternary.java"
600 },
601 {
602 "match": "\\b(return|break|case|continue|default|do|while|for|switch|if|else)\\b",
603 "name": "keyword.control.java"
604 },
605 {
606 "match": "\\b(instanceof)\\b",
607 "name": "keyword.operator.java"
608 },
609 {
610 "match": "(<<|>>>?|~|\\^)",
611 "name": "keyword.operator.bitwise.java"
612 },
613 {
614 "match": "((&|\\^|\\||<<|>>>?)=)",
615 "name": "keyword.operator.assignment.bitwise.java"
616 },
617 {
618 "match": "(===?|!=|<=|>=|<>|<|>)",
619 "name": "keyword.operator.comparison.java"
620 },
621 {
622 "match": "([+*/%-]=)",
623 "name": "keyword.operator.assignment.arithmetic.java"
624 },
625 {
626 "match": "(=)",
627 "name": "keyword.operator.assignment.java"
628 },
629 {
630 "match": "(\\-\\-|\\+\\+)",
631 "name": "keyword.operator.increment-decrement.java"
632 },
633 {
634 "match": "(\\-|\\+|\\*|\\/|%)",
635 "name": "keyword.operator.arithmetic.java"
636 },
637 {
638 "match": "(!|&&|\\|\\|)",
639 "name": "keyword.operator.logical.java"
640 },
641 {
642 "match": "(\\||&)",
643 "name": "keyword.operator.bitwise.java"
644 },
645 {
646 "match": "(?<=\\S)\\.(?=\\S)",
647 "name": "keyword.operator.dereference.java"
648 },
649 {
650 "match": ";",
651 "name": "punctuation.terminator.java"
652 }
653 ]
654 },
655 "method-call": {
656 "begin": "([\\w$]+)(\\()",
657 "beginCaptures": {
658 "1": {
659 "name": "meta.method.java"
660 },
661 "2": {
662 "name": "punctuation.definition.method-parameters.begin.java"
663 }
664 },
665 "end": "\\)",
666 "endCaptures": {
667 "0": {
668 "name": "punctuation.definition.method-parameters.end.java"
669 }
670 },
671 "name": "meta.method-call.java",
672 "patterns": [
673 {
674 "match": ",",
675 "name": "punctuation.definition.seperator.parameter.java"
676 },
677 {
678 "include": "#code"
679 }
680 ]
681 },
682 "methods": {
683 "begin": "(?!new)(?=[\\w<].*\\s+)(?=([^=/]|/(?!/))+\\()",
684 "end": "(})|(?=;)",
685 "endCaptures": {
686 "1": {
687 "name": "punctuation.section.method.end.java"
688 }
689 },
690 "name": "meta.method.java",
691 "patterns": [
692 {
693 "include": "#storage-modifiers"
694 },
695 {
696 "begin": "(\\w+)\\s*\\(",
697 "beginCaptures": {
698 "1": {
699 "name": "entity.name.function.java"
700 }
701 },
702 "end": "\\)",
703 "name": "meta.method.identifier.java",
704 "patterns": [
705 {
706 "include": "#parameters"
707 },
708 {
709 "include": "#comments"
710 }
711 ]
712 },
713 {
714 "begin": "<",
715 "end": ">",
716 "name": "storage.type.token.java",
717 "patterns": [
718 {
719 "include": "#object-types"
720 },
721 {
722 "begin": "<",
723 "comment": "This is just to support <>'s with no actual type prefix",
724 "end": ">|[^\\w\\s,\\[\\]<]",
725 "name": "storage.type.generic.java"
726 }
727 ]
728 },
729 {
730 "begin": "(?=\\w.*\\s+\\w+\\s*\\()",
731 "end": "(?=\\w+\\s*\\()",
732 "name": "meta.method.return-type.java",
733 "patterns": [
734 {
735 "include": "#all-types"
736 },
737 {
738 "include": "#comments"
739 }
740 ]
741 },
742 {
743 "include": "#throws"
744 },
745 {
746 "begin": "{",
747 "beginCaptures": {
748 "0": {
749 "name": "punctuation.section.method.begin.java"
750 }
751 },
752 "end": "(?=})",
753 "name": "meta.method.body.java",
754 "patterns": [
755 {
756 "include": "#code"
757 }
758 ]
759 },
760 {
761 "include": "#comments"
762 }
763 ]
764 },
765 "object-types": {
766 "patterns": [
767 {
768 "begin": "\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)<",
769 "end": ">|[^\\w\\s,\\?<\\[\\]]",
770 "name": "storage.type.generic.java",
771 "patterns": [
772 {
773 "include": "#object-types"
774 },
775 {
776 "begin": "<",
777 "comment": "This is just to support <>'s with no actual type prefix",
778 "end": ">|[^\\w\\s,\\[\\]<]",
779 "name": "storage.type.generic.java"
780 }
781 ]
782 },
783 {
784 "begin": "\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)(?=\\[)",
785 "end": "(?=[^\\]\\s])",
786 "name": "storage.type.object.array.java",
787 "patterns": [
788 {
789 "begin": "\\[",
790 "end": "\\]",
791 "patterns": [
792 {
793 "include": "#code"
794 }
795 ]
796 }
797 ]
798 },
799 {
800 "captures": {
801 "1": {
802 "name": "keyword.operator.dereference.java"
803 }
804 },
805 "match": "\\b(?:[a-z]\\w*(\\.))*[A-Z]+\\w*\\b",
806 "name": "storage.type.java"
807 }
808 ]
809 },
810 "object-types-inherited": {
811 "patterns": [
812 {
813 "begin": "\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)<",
814 "end": ">|[^\\w\\s,<]",
815 "name": "entity.other.inherited-class.java",
816 "patterns": [
817 {
818 "include": "#object-types"
819 },
820 {
821 "begin": "<",
822 "comment": "This is just to support <>'s with no actual type prefix",
823 "end": ">|[^\\w\\s,<]",
824 "name": "storage.type.generic.java"
825 }
826 ]
827 },
828 {
829 "captures": {
830 "1": {
831 "name": "keyword.operator.dereference.java"
832 }
833 },
834 "match": "\\b(?:[a-z]\\w*(\\.))*[A-Z]+\\w*",
835 "name": "entity.other.inherited-class.java"
836 }
837 ]
838 },
839 "parameters": {
840 "patterns": [
841 {
842 "match": "final",
843 "name": "storage.modifier.java"
844 },
845 {
846 "include": "#annotations"
847 },
848 {
849 "include": "#primitive-arrays"
850 },
851 {
852 "include": "#primitive-types"
853 },
854 {
855 "include": "#object-types"
856 },
857 {
858 "match": "\\w+",
859 "name": "variable.parameter.java"
860 }
861 ]
862 },
863 "parens": {
864 "begin": "\\(",
865 "end": "\\)",
866 "patterns": [
867 {
868 "include": "#code"
869 }
870 ]
871 },
872 "primitive-arrays": {
873 "patterns": [
874 {
875 "match": "\\b(?:void|boolean|byte|char|short|int|float|long|double)(\\[\\])*\\b",
876 "name": "storage.type.primitive.array.java"
877 }
878 ]
879 },
880 "primitive-types": {
881 "patterns": [
882 {
883 "match": "\\b(?:void|boolean|byte|char|short|int|float|long|double)\\b",
884 "name": "storage.type.primitive.java"
885 }
886 ]
887 },
888 "storage-modifiers": {
889 "captures": {
890 "1": {
891 "name": "storage.modifier.java"
892 }
893 },
894 "match": "\\b(public|private|protected|static|final|native|synchronized|volatile|abstract|threadsafe|transient)\\b"
895 },
896 "strings": {
897 "patterns": [
898 {
899 "begin": "\"",
900 "beginCaptures": {
901 "0": {
902 "name": "punctuation.definition.string.begin.java"
903 }
904 },
905 "end": "\"",
906 "endCaptures": {
907 "0": {
908 "name": "punctuation.definition.string.end.java"
909 }
910 },
911 "name": "string.quoted.double.java",
912 "patterns": [
913 {
914 "match": "\\\\.",
915 "name": "constant.character.escape.java"
916 }
917 ]
918 },
919 {
920 "begin": "'",
921 "beginCaptures": {
922 "0": {
923 "name": "punctuation.definition.string.begin.java"
924 }
925 },
926 "end": "'",
927 "endCaptures": {
928 "0": {
929 "name": "punctuation.definition.string.end.java"
930 }
931 },
932 "name": "string.quoted.single.java",
933 "patterns": [
934 {
935 "match": "\\\\.",
936 "name": "constant.character.escape.java"
937 }
938 ]
939 }
940 ]
941 },
942 "throws": {
943 "begin": "throws",
944 "beginCaptures": {
945 "0": {
946 "name": "storage.modifier.java"
947 }
948 },
949 "end": "(?={|;)",
950 "name": "meta.throwables.java",
951 "patterns": [
952 {
953 "include": "#object-types"
954 }
955 ]
956 },
957 "values": {
958 "patterns": [
959 {
960 "include": "#strings"
961 },
962 {
963 "include": "#object-types"
964 },
965 {
966 "include": "#constants-and-special-vars"
967 }
968 ]
969 },
970 "variables": {
971 "applyEndPatternLast": 1,
972 "patterns": [
973 {
974 "begin": "(?x:(?=\n (?:\n (?:private|protected|public|native|synchronized|volatile|abstract|threadsafe|transient|static|final) # visibility/modifier\n |\n (?:def)\n |\n (?:void|boolean|byte|char|short|int|float|long|double)\n |\n (?:(?:[a-z]\\w*\\.)*[A-Z]+\\w*) # object type\n )\n \\s+\n (?!private|protected|public|native|synchronized|volatile|abstract|threadsafe|transient|static|final|def|void|boolean|byte|char|short|int|float|long|double)\n [\\w\\d_<>\\[\\],\\?][\\w\\d_<>\\[\\],\\? \\t]*\n (?:=|$)\n \n\t\t\t\t\t))",
975 "end": "(?=;)",
976 "name": "meta.definition.variable.java",
977 "patterns": [
978 {
979 "match": "\\s"
980 },
981 {
982 "captures": {
983 "1": {
984 "name": "constant.other.variable.java"
985 }
986 },
987 "match": "([A-Z_0-9]+)\\s+(?=\\=)"
988 },
989 {
990 "captures": {
991 "1": {
992 "name": "meta.definition.variable.name.java"
993 }
994 },
995 "match": "(\\w[^\\s,]*)\\s+(?=\\=)"
996 },
997 {
998 "begin": "=",
999 "beginCaptures": {
1000 "0": {
1001 "name": "keyword.operator.assignment.java"
1002 }
1003 },
1004 "end": "(?=;)",
1005 "patterns": [
1006 {
1007 "include": "#code"
1008 }
1009 ]
1010 },
1011 {
1012 "captures": {
1013 "1": {
1014 "name": "meta.definition.variable.name.java"
1015 }
1016 },
1017 "match": "(\\w[^\\s=]*)(?=\\s*;)"
1018 },
1019 {
1020 "include": "#code"
1021 }
1022 ]
1023 }
1024 ]
1025 }
1026 },
1027 "scopeName": "source.java",
1028 "uuid": "2B449DF6-6B1D-11D9-94EC-000D93589AF6",
1029 "version": "https://github.com/textmate/java.tmbundle/commit/faffa518d0b22b68b4e5e6b4c939722522b97d40"
1030}