Examples of ErlangMacrosDefinition


Examples of org.intellij.erlang.psi.ErlangMacrosDefinition

  @Override
  public PsiElement resolve() {
    PsiFile containingFile = myElement.getContainingFile();
    if (containingFile instanceof ErlangFile) {
      ErlangMacrosDefinition macros = ((ErlangFile) containingFile).getMacros(myReferenceName);
      if (macros != null) {
        return macros;
      }
      return ContainerUtil.getFirstItem(ErlangPsiImplUtil.getErlangMacrosFromIncludes((ErlangFile) containingFile, false, myReferenceName));
    }
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.