File tree Expand file tree Collapse file tree
extensions/vscode/tree-sitter/code-snippet-queries Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11(
2- (comment)? @comment
2+ (comment)? @comment .
33 (class_declaration
44 name: (_) @name
55 ) @definition
66)
77
88(
9- (comment)? @comment
9+ (comment)? @comment .
1010 (function_declaration
1111 name: (_) @name
1212 parameters: (_) @parameters
1313 ) @definition
1414)
1515
1616(
17- (comment)? @comment
17+ (comment)? @comment .
1818 (method_definition
1919 name: (_) @name
2020 parameters: (_) @parameters
Original file line number Diff line number Diff line change 11(
2- (comment)? @comment
2+ (comment)? @comment .
33 (class_declaration
44 name: (_) @name
55 ) @definition
66)
77
88(
9- (comment)? @comment
9+ (comment)? @comment .
1010 (function_declaration
1111 name: (_) @name
1212 parameters: (_) @parameters
1313 ) @definition
1414)
1515
1616(
17- (comment)? @comment
17+ (comment)? @comment .
1818 (method_definition
1919 name: (_) @name
2020 parameters: (_) @parameters
2121 ) @definition
2222)
2323
2424(
25- (comment)? @comment
25+ (comment)? @comment .
2626 (interface_declaration
2727 name: (_) @name ) @definition
2828)
You can’t perform that action at this time.
0 commit comments