Package org.intellij.erlang.psi

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

Related Classes of org.intellij.erlang.psi.ErlangMacrosDefinition

Copyright © 2018 www.massapicom. 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.