| 2036 | } |
| 2037 | |
| 2038 | static bool go_is_function_boundary(const char *k) { |
| 2039 | return strcmp(k, "function_declaration") == 0 || strcmp(k, "method_declaration") == 0 || |
| 2040 | strcmp(k, "func_literal") == 0 || strcmp(k, "source_file") == 0; |
| 2041 | } |
| 2042 | |
| 2043 | /* Latest binding of `name` among the statements preceding `use` in its |
| 2044 | * enclosing blocks, innermost block first; a null node when none. */ |