diff options
author | Alex Ozdemir <aozdemir@hmc.edu> | 2020-04-11 10:16:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 12:16:05 -0500 |
commit | 0073464e433e80311269ce07e0fa5de417b5eefc (patch) | |
tree | e42eafe127a7135057e98ca1c0222c548ac80975 /src/parser | |
parent | 4e310461b2e41f9ccf1426797b5d8b58e27bc1c7 (diff) |
Add skip predicate to node traversal. (#4222)
Sometime you want to skip specific sub-DAGs when traversing a node. For example, you might be doing a transformation with a cache, and want to skip sub-DAGs that you've already processed.
This PR would add a skipIf builder method to NodeDfsIterable, which allows the user to provide a predicate according to which nodes will be omitted from the subsequent traversal.
Diffstat (limited to 'src/parser')
0 files changed, 0 insertions, 0 deletions