public class MatchingNodeSet
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
mustResolve
Tell whether locators need to resolve or not for current matching node set.
|
| Constructor and Description |
|---|
MatchingNodeSet(boolean mustResolvePattern) |
| Modifier and Type | Method and Description |
|---|---|
int |
addMatch(ASTNode node,
int matchLevel) |
void |
addPossibleMatch(ASTNode node) |
void |
addTrustedMatch(ASTNode node,
boolean isExact) |
protected boolean |
hasPossibleNodes(int start,
int end) |
protected ASTNode[] |
matchingNodes(int start,
int end)
Returns the matching nodes that are in the given range in the source order.
|
java.lang.Object |
removePossibleMatch(ASTNode node) |
java.lang.Object |
removeTrustedMatch(ASTNode node) |
java.lang.String |
toString() |
public boolean mustResolve
public int addMatch(ASTNode node, int matchLevel)
public void addPossibleMatch(ASTNode node)
public void addTrustedMatch(ASTNode node, boolean isExact)
protected boolean hasPossibleNodes(int start,
int end)
protected ASTNode[] matchingNodes(int start, int end)
public java.lang.Object removePossibleMatch(ASTNode node)
public java.lang.Object removeTrustedMatch(ASTNode node)
public java.lang.String toString()
toString in class java.lang.Object