Stores the AST and returns an id that can be used to restore it with restoreAST.
function storeAST output Integer id; end storeAST;