all begin with check, but only the last two change state (by fetching a new AST node). It seems like we should change check_result, whose behavior will change depending on the state (e.g. called after check_statement('select', ...)) to test or test_result.
Currently the three functions
check_result
check_statement
check_clause
all begin with
check
, but only the last two change state (by fetching a new AST node). It seems like we should changecheck_result
, whose behavior will change depending on the state (e.g. called after check_statement('select', ...)) totest
ortest_result
.