public class DeclarationStatementHandler extends MatchingHandler
clearingVisitor, filter
Constructor and Description |
---|
DeclarationStatementHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
match(PsiElement patternNode,
PsiElement matchedNode,
MatchContext context)
Matches given handler node against given value.
|
void |
setCommentHandler(MatchingHandler commentHandler) |
boolean |
shouldAdvanceTheMatchFor(PsiElement patternElement,
PsiElement matchedElement) |
canMatch, getFilter, getPinnedNode, isMatchSequentiallySucceeded, matchInAnyOrder, matchSequentially, reset, setFilter, setPinnedElement, shouldAdvanceThePatternFor, validateSatisfactionOfHandlers
public boolean match(PsiElement patternNode, PsiElement matchedNode, MatchContext context)
MatchingHandler
match
in class MatchingHandler
matchedNode
- for matchingcontext
- of the matchingpublic boolean shouldAdvanceTheMatchFor(PsiElement patternElement, PsiElement matchedElement)
shouldAdvanceTheMatchFor
in class MatchingHandler
public void setCommentHandler(MatchingHandler commentHandler)