@@ -26,28 +26,28 @@ const nodeMatchers: Partial<
2626 ) ,
2727
2828 // *[type] does not work here because while we want most of these we don't want "compound" types,
29- // eg `generic_type[type]`, because that will grab just the inner generic (the String of List[String])
30- // and as a rule we want to grab entire type definitions.
31- type : leadingMatcher (
32- [
33- "upper_bound[type]" ,
34- "lower_bound[type]" ,
35- "view_bound[type]" ,
36- "context_bound[type]" ,
37- "val_definition[type]" ,
38- "val_declaration[type]" ,
39- "var_definition[type]" ,
40- "var_declaration[type]" ,
41- "type_definition" ,
42- "extends_clause[type]" ,
43- "class_parameter[type]" ,
44- "parameter[type]" ,
45- "function_definition[return_type]" ,
46- "typed_pattern[type]" ,
47- "binding[type]" ,
48- ] ,
49- [ ":" ] ,
50- ) ,
29+ // // eg `generic_type[type]`, because that will grab just the inner generic (the String of List[String])
30+ // // and as a rule we want to grab entire type definitions.
31+ // type: leadingMatcher(
32+ // [
33+ // "upper_bound[type]",
34+ // "lower_bound[type]",
35+ // "view_bound[type]",
36+ // "context_bound[type]",
37+ // "val_definition[type]",
38+ // "val_declaration[type]",
39+ // "var_definition[type]",
40+ // "var_declaration[type]",
41+ // "type_definition",
42+ // "extends_clause[type]",
43+ // "class_parameter[type]",
44+ // "parameter[type]",
45+ // "function_definition[return_type]",
46+ // "typed_pattern[type]",
47+ // "binding[type]",
48+ // ],
49+ // [":"],
50+ // ),
5151 // value: leadingMatcher(
5252 // ["*[value]", "*[default_value]", "type_definition[type]"],
5353 // ["="],
0 commit comments