Use the analysed AST for the on-save service, this will cause a file to be analyzed twice if the analysed AST is not available at the time of saving.