public class NodeClassifierVisitor extends NodeVisitorBase implements NodeTracker
| Constructor and Description |
|---|
NodeClassifierVisitor(Map<Class<? extends Node>,Set<Class<?>>> exclusionMap) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ClassifyingNodeTracker |
classify(@NotNull Node node) |
void |
nodeAdded(@NotNull Node node) |
void |
nodeAddedWithChildren(@NotNull Node node) |
void |
nodeAddedWithDescendants(@NotNull Node node) |
void |
nodeRemoved(@NotNull Node node) |
void |
nodeRemovedWithChildren(@NotNull Node node) |
void |
nodeRemovedWithDescendants(@NotNull Node node) |
void |
visit(@NotNull Node node) |
void |
visitChildren(@NotNull Node parent)
Visit the child nodes.
|
@NotNull public @NotNull ClassifyingNodeTracker classify(@NotNull @NotNull Node node)
public void visit(@NotNull
@NotNull Node node)
visit in class NodeVisitorBasepublic void nodeRemoved(@NotNull
@NotNull Node node)
nodeRemoved in interface NodeTrackerpublic void nodeRemovedWithChildren(@NotNull
@NotNull Node node)
nodeRemovedWithChildren in interface NodeTrackerpublic void nodeRemovedWithDescendants(@NotNull
@NotNull Node node)
nodeRemovedWithDescendants in interface NodeTrackerpublic void nodeAddedWithChildren(@NotNull
@NotNull Node node)
nodeAddedWithChildren in interface NodeTrackerpublic void nodeAddedWithDescendants(@NotNull
@NotNull Node node)
nodeAddedWithDescendants in interface NodeTrackerpublic void nodeAdded(@NotNull
@NotNull Node node)
nodeAdded in interface NodeTrackerpublic void visitChildren(@NotNull
@NotNull Node parent)
visitChildren in class NodeVisitorBaseparent - the parent node whose children should be visitedCopyright © 2020. All rights reserved.