Package org.intellij.erlang.psi

Examples of org.intellij.erlang.psi.ErlangVisitor


public class ErlangIncorrectModuleNameInspection extends ErlangInspectionBase {
  @NotNull
  @Override
  protected ErlangVisitor buildErlangVisitor(@NotNull final ProblemsHolder holder,
                                             @NotNull LocalInspectionToolSession session) {
    return new ErlangVisitor() {
      @Override
      public void visitModule(@NotNull ErlangModule o) {
        String ext = FileUtilRt.getExtension(o.getContainingFile().getName());
        String withoutExtension = FileUtil.getNameWithoutExtension(o.getContainingFile().getName());
        String moduleName = StringUtil.replace(o.getName(), "'", "");
View Full Code Here


public class ErlangUnresolvedExportFunctionInspection extends ErlangInspectionBase {
  @NotNull
  @Override
  protected ErlangVisitor buildErlangVisitor(@NotNull final ProblemsHolder holder, @NotNull LocalInspectionToolSession session) {
    return new ErlangVisitor() {
      @Override
      public void visitExportFunction(@NotNull ErlangExportFunction o) {
        PsiReference reference = o.getReference();
        if (reference.resolve() == null) {
          String name = o.getQAtom().getText();
View Full Code Here

TOP

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

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.