| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 746c2be commit feadd20
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -626,7 +626,21 @@ | |||
| 626 | 626 | </array> | |
| 627 | 627 | </dict> | |
| 628 | 628 | <dict> | |
| 629 | - <key>captures</key> | ||
| 629 | + <key>begin</key> | ||
| 630 | + <string>(?x) | ||
| 631 | + \b(class) | ||
| 632 | + (?: | ||
| 633 | + \s+ | ||
| 634 | + ([\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}\x{200C}\x{200D}]*) | ||
| 635 | + )? | ||
| 636 | + (?: | ||
| 637 | + \s+ | ||
| 638 | + (extends) | ||
| 639 | + \s+ | ||
| 640 | + (?:\b([\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}\x{200C}\x{200D}]*)\b(?![\(]))? | ||
| 641 | + )? | ||
| 642 | + </string> | ||
| 643 | + <key>beginCaptures</key> | ||
| 630 | 644 | <dict> | |
| 631 | 645 | <key>1</key> | |
| 632 | 646 | <dict> | |
@@ -649,23 +663,17 @@ | |||
| 649 | 663 | <string>entity.other.inherited-class.js</string> | |
| 650 | 664 | </dict> | |
| 651 | 665 | </dict> | |
| 652 | - <key>match</key> | ||
| 653 | - <string>(?x) | ||
| 654 | - \b(class) | ||
| 655 | - (?: | ||
| 656 | - \s+ | ||
| 657 | - ([\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}\x{200C}\x{200D}]*) | ||
| 658 | - )? | ||
| 659 | - (?: | ||
| 660 | - \s+ | ||
| 661 | - (extends) | ||
| 662 | - \s+ | ||
| 663 | - ([\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}\x{200C}\x{200D}]*) | ||
| 664 | - )? | ||
| 665 | - \s*($|(?=\{)) | ||
| 666 | - </string> | ||
| 666 | + <key>end</key> | ||
| 667 | + <string>\s*($|(?=\{))</string> | ||
| 667 | 668 | <key>name</key> | |
| 668 | 669 | <string>meta.class.js</string> | |
| 670 | + <key>patterns</key> | ||
| 671 | + <array> | ||
| 672 | + <dict> | ||
| 673 | + <key>include</key> | ||
| 674 | + <string>#function-call</string> | ||
| 675 | + </dict> | ||
| 676 | + </array> | ||
| 669 | 677 | </dict> | |
| 670 | 678 | <dict> | |
| 671 | 679 | <key>begin</key> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments