check

fun check(parse: () -> Unit): SyntaxProblem?

Where parse finds that the text it reads does not parse, or null if it does