use of com.intellij.structuralsearch.impl.matcher.handlers.SimpleHandler in project intellij-community by JetBrains.
the class CompiledPattern method getHandler.
public MatchingHandler getHandler(PsiElement node) {
if (node == last) {
return lastHandler;
}
MatchingHandler handler = handlers.get(node);
if (handler == null) {
handler = new SimpleHandler();
setHandler(node, handler);
}
last = node;
lastHandler = handler;
return handler;
}
Aggregations