Class ControlFlowGraph.AbstractCfgNodeTraversalCallback

java.lang.Object
com.google.javascript.jscomp.ControlFlowGraph.AbstractCfgNodeTraversalCallback
All Implemented Interfaces:
NodeTraversal.Callback
Enclosing class:
ControlFlowGraph<N>

public abstract static class ControlFlowGraph.AbstractCfgNodeTraversalCallback extends Object implements NodeTraversal.Callback
Abstract callback to visit a control flow graph node without going into subtrees of the node that are also represented by other control flow graph nodes.

For example, traversing an IF node as root will visit the two subtrees pointed by the ControlFlowGraph.Branch.ON_TRUE and ControlFlowGraph.Branch.ON_FALSE edges.