if the AST is already provided, don’t bother re-parsing.