This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +31
-9
lines changed
Expand file tree Collapse file tree 1 file changed +31
-9
lines changed Original file line number Diff line number Diff line change 16771677 ' name' : ' storage.type.class.jsdoc'
16781678 }
16791679 {
1680- ' match' : ' ({(?:\\ *|(?:\\ ?|\\ !|\\ .{3})?[a-zA-Z_$][\\ w$]*(?:\\ .[a-zA-Z_$][\\ w$]*)*(?:\\ [\\ ])?=?)})\\ s+(\\ [(?:[a-zA-Z_$]+(?:=[\\ w][\\ s\\ w$]*)?)\\ ]|(?:[a-zA-Z_$][\\ w$]*(?:\\ .[a-zA-Z_$][\\ w$]*)*))\\ s*((?:(?!\\ *\\ /).)*)'
1680+ ' match' : ''' (?x)
1681+ ({(?:\\ *|(?:\\ ?|\\ !|\\ .{3})?[a-zA-Z_$][\\ w$]*(?:\\ .[a-zA-Z_$][\\ w$]*)*(?:\\ [\\ ])?=?)})
1682+ \\ s+
1683+ (\\ [(?:[a-zA-Z_$]+(?:=[\\ w][\\ s\\ w$]*)?)\\ ]|(?:[a-zA-Z_$][\\ w$]*(?:\\ .[a-zA-Z_$][\\ w$]*)*))
1684+ \\ s+
1685+ ((?:(?!\\ *\\ /).)*)
1686+ '''
1687+ ' captures' :
1688+ ' 0' :
1689+ ' name' : ' other.meta.jsdoc'
1690+ ' 1' :
1691+ ' name' : ' entity.name.type.instance.jsdoc'
1692+ ' 2' :
1693+ ' name' : ' variable.other.jsdoc'
1694+ ' 3' :
1695+ ' name' : ' other.description.jsdoc'
1696+ }
1697+ {
1698+ ' match' : ''' (?x)
1699+ (?:(?<=@returns)|(?<=@return))
1700+ \\ s+
1701+ ({(?:\\ *|(?:\\ ?|\\ !|\\ .{3})?[a-zA-Z_$][\\ w$]*(?:\\ .[a-zA-Z_$][\\ w$]*)*(?:\\ [\\ ])?=?)})
1702+ \\ s+
1703+ ((?:(?!\\ *\\ /).)*)
1704+ '''
16811705 ' captures' :
1682- 0 :
1683- ' name' : ' other.meta.jsdoc'
1684- 1 :
1685- ' name' : ' entity.name.type.instance.jsdoc'
1686- 2 :
1687- ' name' : ' variable.other.jsdoc'
1688- 3 :
1689- ' name' : ' other.description.jsdoc'
1706+ ' 0' :
1707+ ' name' : ' other.meta.jsdoc'
1708+ ' 1' :
1709+ ' name' : ' entity.name.type.instance.jsdoc'
1710+ ' 2' :
1711+ ' name' : ' other.description.jsdoc'
16901712 }
16911713 ]
16921714 ' comments' :
You can’t perform that action at this time.
0 commit comments