Examples of PsiReference


Examples of com.intellij.psi.PsiReference

      for (BnfAttr attr : attrs.getAttrList()) {
        BnfAttrPattern pattern = attr.getAttrPattern();
        if (pattern == null) continue;
        BnfStringLiteralExpression patternExpression = pattern.getLiteralExpression();

        PsiReference ref = BnfStringImpl.matchesElement(patternExpression, target) ? patternExpression.getReference() : null;
        if (ref != null && ref.isReferenceTo(target)) {
          if (!consumer.process(ref)) return;
        }
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.