Top Fields Constructors Methods
com.vladsch.flexmark.util.ast

public Class ClassifyingNodeTracker

extends Object
implements NodeTracker
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.util.ast.NodeTracker
Imports
com.vladsch.flexmark.util.collection.ClassificationBag, .OrderedMap, .OrderedSet, com.vladsch.flexmark.util.collection.iteration.ReversibleIterable, .ReversibleIterator, .ReversiblePeekingIterable, org.jetbrains.annotations.NotNull, .Nullable, java.util.BitSet, .HashMap, .Map, .Set

Field Summary

Modifier and TypeField and Description
private final @NotNull OrderedMap<Class<?>, Set<Class<?>>>
private final @NotNull OrderedSet<Class<?>>
private final @Nullable NodeTracker
private final @NotNull HashMap<Integer, BitSet>
protected final @NotNull ClassificationBag<Class<?>, Node>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
public <X> @NotNull ReversibleIterable<X>
getCategoryItems(@NotNull Class<? extends X> nodeClass, @NotNull Set<Class<?>> classes)

public @NotNull OrderedMap<Class<?>, Set<Class<?>>>
public @NotNull OrderedSet<Class<?>>
public @NotNull OrderedSet<Node>
public @NotNull HashMap<Integer, BitSet>
public @NotNull ClassificationBag<Class<?>, Node>
public void
public void
public void
public void
public void
public void
private void
private void
private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

exclusionMapback to summary
private final @NotNull OrderedMap<Class<?>, Set<Class<?>>> exclusionMap
Annotations
@NotNull
exclusionSetback to summary
private final @NotNull OrderedSet<Class<?>> exclusionSet
Annotations
@NotNull
hostback to summary
private final @Nullable NodeTracker host
Annotations
@Nullable
nodeAncestryMapback to summary
private final @NotNull HashMap<Integer, BitSet> nodeAncestryMap
Annotations
@NotNull
nodeClassifierback to summary
protected final @NotNull ClassificationBag<Class<?>, Node> nodeClassifier
Annotations
@NotNull

Constructor Detail

ClassifyingNodeTrackerback to summary
public ClassifyingNodeTracker(@Nullable NodeTracker host, @NotNull Map<Class<? extends Node>, Set<Class<?>>> exclusionMap)

Method Detail

addNodesback to summary
private void addNodes(@NotNull ReversiblePeekingIterable<Node> nodes)
getCategoryItemsback to summary
public <X> @NotNull ReversibleIterable<X> getCategoryItems(@NotNull Class<? extends X> nodeClass, @NotNull Set<Class<?>> classes)
Annotations
@NotNull
getExclusionMapback to summary
public @NotNull OrderedMap<Class<?>, Set<Class<?>>> getExclusionMap()
Annotations
@NotNull
getExclusionSetback to summary
public @NotNull OrderedSet<Class<?>> getExclusionSet()
Annotations
@NotNull
getItemsback to summary
public @NotNull OrderedSet<Node> getItems()
Annotations
@NotNull
getNodeAncestryMapback to summary
public @NotNull HashMap<Integer, BitSet> getNodeAncestryMap()
Annotations
@NotNull
getNodeClassifierback to summary
public @NotNull ClassificationBag<Class<?>, Node> getNodeClassifier()
Annotations
@NotNull
nodeAddedback to summary
public void nodeAdded(@NotNull Node node)
Annotations
@Override
nodeAddedWithChildrenback to summary
public void nodeAddedWithChildren(@NotNull Node node)
Annotations
@Override
nodeAddedWithDescendantsback to summary
public void nodeAddedWithDescendants(@NotNull Node node)
Annotations
@Override
nodeRemovedback to summary
public void nodeRemoved(@NotNull Node node)
Annotations
@Override
nodeRemovedWithChildrenback to summary
public void nodeRemovedWithChildren(@NotNull Node node)
Annotations
@Override
nodeRemovedWithDescendantsback to summary
public void nodeRemovedWithDescendants(@NotNull Node node)
Annotations
@Override
removeNodesback to summary
private void removeNodes(@NotNull ReversiblePeekingIterable<Node> nodes)
validateLinkedback to summary
private void validateLinked(Node node)
validateUnlinkedback to summary
private void validateUnlinked(@NotNull Node node)