@Override public void visitXmlToken(@NotNull XmlToken token) {
    if (token.getTokenType() == XmlTokenType.XML_DATA_CHARACTERS) {
      final String text = token.getText();

      myMatchingVisitor.setResult(myMatchingVisitor.getMatchContext().getPattern().isTypedVar(text)
                                  ? myMatchingVisitor.handleTypedElement(token, myMatchingVisitor.getElement())
                                  : myMatchingVisitor.matchText(text, myMatchingVisitor.getElement().getText()));
    }
  }
@Override public void visitXmlToken(@NotNull XmlToken token)