public final class MatchResultImpl extends MatchResult
LINE_MATCH, MULTI_LINE_MATCH| Constructor and Description |
|---|
MatchResultImpl(java.lang.String name,
java.lang.String image,
SmartPsiPointer ref,
boolean target) |
MatchResultImpl(java.lang.String name,
java.lang.String image,
SmartPsiPointer ref,
int start,
int end,
boolean target) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(MatchResult result) |
void |
clear() |
MatchResultImpl |
findChild(java.lang.String name) |
static MatchResultImpl |
findChildDeep(MatchResult match,
java.lang.String name) |
java.util.List<MatchResult> |
getChildren() |
int |
getEnd() |
PsiElement |
getMatch() |
java.lang.String |
getMatchImage() |
SmartPsiPointer |
getMatchRef() |
java.lang.String |
getName() |
MatchResult |
getRoot() |
int |
getStart() |
boolean |
hasChildren() |
boolean |
isMultipleMatch() |
boolean |
isScopeMatch() |
boolean |
isTarget() |
MatchResult |
removeChild(java.lang.String typedVar) |
void |
removeChildren() |
MatchResult |
removeLastChild() |
void |
setEnd(int end) |
void |
setMatchImage(java.lang.String matchImage) |
void |
setMatchRef(SmartPsiPointer matchStart) |
void |
setMultipleMatch(boolean multipleMatch) |
void |
setName(java.lang.String name) |
void |
setScopeMatch(boolean scopeMatch) |
void |
setStart(int start) |
void |
setTarget(boolean target) |
int |
size() |
java.lang.String |
toString() |
public MatchResultImpl(java.lang.String name,
java.lang.String image,
SmartPsiPointer ref,
boolean target)
public MatchResultImpl(java.lang.String name,
java.lang.String image,
SmartPsiPointer ref,
int start,
int end,
boolean target)
public java.lang.String getMatchImage()
getMatchImage in class MatchResultpublic SmartPsiPointer getMatchRef()
getMatchRef in class MatchResultpublic PsiElement getMatch()
getMatch in class MatchResultpublic void setMatchRef(SmartPsiPointer matchStart)
public java.lang.String getName()
getName in class MatchResultpublic void setName(java.lang.String name)
public java.util.List<MatchResult> getChildren()
getChildren in class MatchResultpublic int size()
size in class MatchResultpublic boolean isScopeMatch()
isScopeMatch in class MatchResultpublic boolean isMultipleMatch()
isMultipleMatch in class MatchResultpublic void clear()
public boolean hasChildren()
hasChildren in class MatchResultpublic void removeChildren()
public MatchResult removeLastChild()
public void setScopeMatch(boolean scopeMatch)
public void setMultipleMatch(boolean multipleMatch)
public MatchResultImpl findChild(java.lang.String name)
public static MatchResultImpl findChildDeep(MatchResult match, java.lang.String name)
public MatchResult removeChild(java.lang.String typedVar)
public void addChild(MatchResult result)
public MatchResult getRoot()
getRoot in class MatchResultpublic void setMatchImage(java.lang.String matchImage)
public boolean isTarget()
isTarget in class MatchResultpublic void setTarget(boolean target)
public int getStart()
getStart in class MatchResultpublic void setStart(int start)
public int getEnd()
getEnd in class MatchResultpublic void setEnd(int end)
public java.lang.String toString()
toString in class java.lang.Object