True for a member `using static` brings in: one declared `static` or * `const`, an enum's member -- and no extension method. */
| 2129 | /* True for a member `using static` brings in: one declared `static` or |
| 2130 | * `const`, an enum's member -- and no extension method. */ |
| 2131 | static bool cs_member_static(const cs_scan_t *s, TSNode decl, TSNode params) { |
| 2132 | if (cs_kind_is(decl, "enum_member_declaration")) { |
| 2133 | return true; |
| 2134 | } |
| 2135 | if (!cs_has_word(decl, "static") && !cs_has_word(decl, "const")) { |
| 2136 | return false; |
| 2137 | } |
| 2138 | return !cs_first_param_this(s, params); |
| 2139 | } |
| 2140 | |
| 2141 | static void cs_member_new(cs_scan_t *s, TSNode decl, char kind, bool explicit_impl, bool is_static, |
| 2142 | int owner, TSNode name, TSNode tparams, TSNode params) { |
no test coverage detected