public class ForwardWalker extends DefaultGraphWalker
dispatcher, opStack, retMap, toWalk
Constructor and Description |
---|
ForwardWalker(Dispatcher disp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addAllParents(Node nd) |
protected boolean |
allParentsDispatched(Node nd) |
void |
walk(Node nd)
walk the current operator and its descendants.
|
dispatch, dispatchAndReturn, getDispatchedList, getToWalk, startWalking
public ForwardWalker(Dispatcher disp)
disp
- dispatcher to call for each op encounteredprotected boolean allParentsDispatched(Node nd)
protected void addAllParents(Node nd)
public void walk(Node nd) throws SemanticException
walk
in class DefaultGraphWalker
nd
- current operator in the graphSemanticException
Copyright © 2017 The Apache Software Foundation. All rights reserved.