public class SliceLeafAnalyzer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SliceLeafAnalyzer.SliceNodeGuide |
Constructor and Description |
---|
SliceLeafAnalyzer(SliceLeafEquality leafEquality,
SliceLanguageSupportProvider provider) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PsiElement> |
calcLeafExpressions(SliceNode root,
AbstractTreeStructure treeStructure,
java.util.Map<SliceNode,java.util.Collection<PsiElement>> map) |
java.util.Map<SliceNode,java.util.Collection<PsiElement>> |
createMap() |
SliceRootNode |
createTreeGroupedByValues(java.util.Collection<? extends PsiElement> leaves,
SliceRootNode oldRoot,
java.util.Map<SliceNode,java.util.Collection<PsiElement>> map) |
static SliceNode |
filterTree(SliceNode oldRoot,
NullableFunction<? super SliceNode,? extends SliceNode> filter,
PairProcessor<? super SliceNode,? super java.util.List<SliceNode>> postProcessor) |
void |
startAnalyzeValues(AbstractTreeStructure treeStructure,
java.lang.Runnable finish) |
public SliceLeafAnalyzer(SliceLeafEquality leafEquality, SliceLanguageSupportProvider provider)
public static SliceNode filterTree(SliceNode oldRoot, NullableFunction<? super SliceNode,? extends SliceNode> filter, PairProcessor<? super SliceNode,? super java.util.List<SliceNode>> postProcessor)
public SliceRootNode createTreeGroupedByValues(java.util.Collection<? extends PsiElement> leaves, SliceRootNode oldRoot, java.util.Map<SliceNode,java.util.Collection<PsiElement>> map)
public void startAnalyzeValues(AbstractTreeStructure treeStructure, java.lang.Runnable finish)
public java.util.Map<SliceNode,java.util.Collection<PsiElement>> createMap()
public java.util.Collection<PsiElement> calcLeafExpressions(SliceNode root, AbstractTreeStructure treeStructure, java.util.Map<SliceNode,java.util.Collection<PsiElement>> map)