OBJECT_MEMBER_FUNCTION_TYPES (tree-sitter.ts, #2300): the function values an owned object literal's member can hold.
(kind: &str)
| 144 | /// OBJECT_MEMBER_FUNCTION_TYPES (tree-sitter.ts, #2300): the function values an |
| 145 | /// owned object literal's member can hold. |
| 146 | fn is_object_member_function(kind: &str) -> bool { |
| 147 | matches!(kind, "arrow_function" | "function_expression" | "generator_function") |
| 148 | } |
| 149 | |
| 150 | /// STATIC_OBJECT_KEY_TYPES (tree-sitter.ts, #2300): keys that name a member — a |
| 151 | /// computed `[expr]` key names nothing static. |
no outgoing calls
no test coverage detected