def sall(rule, fns=basic_fns):
    op, new, children, leaf = map(fns.get, ('op', 'new', 'children', 'leaf'))
    def all_rl(expr):
        if leaf(expr):
            return expr
        else:
            args = map(rule, children(expr))
            return new(op(expr), *args)
    return all_rl
Without following symlinks, returns a PTStat object for the path, or None.
dataset/ETHPy150Open sympy/sympy/sympy/strategies/traverse.py/sall--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/base/project_tree.py/ProjectTree._lstat_raw