| 1685 | } |
| 1686 | |
| 1687 | static void go_scan_value_decl(go_scan_t *s, TSNode decl) { |
| 1688 | go_kids_t k; |
| 1689 | TSNode ch; |
| 1690 | for (bool ok = go_kids_first(&k, decl, &ch); ok; ok = go_kids_next(&k, &ch)) { |
| 1691 | if (go_kind_is(ch, "const_spec") || go_kind_is(ch, "var_spec")) { |
| 1692 | go_scan_value_spec(s, ch, true); |
| 1693 | } else if (go_kind_is(ch, "var_spec_list")) { |
| 1694 | go_scan_var_list(s, ch); |
| 1695 | } |
| 1696 | } |
| 1697 | } |
| 1698 | |
| 1699 | /* The content of an import path literal; NULL when it is none this scan can |
| 1700 | * record (not a plain string, empty, too long, or with bytes no path has). */ |
no test coverage detected