ast analyze for seeking global_vars require and deps