Examples of ErlangIncludeString


Examples of org.intellij.erlang.psi.ErlangIncludeString

    return new ErlangIncludeImpl(stub, this);
  }

  @Override
  public ErlangIncludeStub createStub(@NotNull ErlangInclude psi, StubElement parentStub) {
    ErlangIncludeString includeString = psi.getIncludeString();
    String text = includeString != null ? StringUtil.unquoteString(includeString.getText()) : "";
    return new ErlangIncludeStub(parentStub, this, text);
  }
View Full Code Here

Examples of org.intellij.erlang.psi.ErlangIncludeString

    return new ErlangIncludeLibImpl(stub, this);
  }

  @Override
  public ErlangIncludeLibStub createStub(@NotNull ErlangIncludeLib psi, StubElement parentStub) {
    ErlangIncludeString includeString = psi.getIncludeString();
    String text = includeString != null ? StringUtil.unquoteString(includeString.getText()) : "";
    return new ErlangIncludeLibStub(parentStub, this, text);
  }
View Full Code Here

Examples of org.intellij.erlang.psi.ErlangIncludeString

  private static final Logger LOG = Logger.getInstance(ErlangUnresolvedIncludeLibInspection.class);

  @Override
  protected void checkFile(@NotNull ErlangFile file, @NotNull ProblemsHolder problemsHolder) {
    for (ErlangIncludeLib erlangIncludeLib : file.getIncludeLibs()) {
      ErlangIncludeString includeString = erlangIncludeLib.getIncludeStringSafe();
      if (includeString == null) continue;
      processInclude(problemsHolder, ErlangPsiImplUtil.getDirectlyIncludedFiles(erlangIncludeLib, file), includeString, INCLUDE_LIB_LABEL);
    }
  }
View Full Code Here

Examples of org.intellij.erlang.psi.ErlangIncludeString

  public static String INCLUDE_LABEL = "include";

  @Override
  protected void checkFile(@NotNull ErlangFile file, @NotNull ProblemsHolder problemsHolder) {
    for (ErlangInclude erlangInclude : file.getIncludes()) {
      ErlangIncludeString string = erlangInclude.getIncludeStringSafe();
      if (string == null) continue;
      List<ErlangFile> files = ErlangPsiImplUtil.getDirectlyIncludedFiles(erlangInclude, file);
      ErlangUnresolvedIncludeLibInspection.processInclude(problemsHolder, files, string, INCLUDE_LABEL);
    }
  }
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.