Package org.intellij.erlang.stubs

Examples of org.intellij.erlang.stubs.ErlangFileStub


  public List<ErlangBehaviour> getBehaviours() {
    return myBehavioursValue.getValue();
  }

  private List<ErlangBehaviour> calcBehaviours() {
    ErlangFileStub stub = getStub();
    if (stub != null) {
      return getChildrenByType(stub, ErlangTypes.ERL_BEHAVIOUR, ErlangBehaviourStubElementType.ARRAY_FACTORY);
    }

    final List<ErlangBehaviour> result = new ArrayList<ErlangBehaviour>();
View Full Code Here


    }
    return result;
  }

  private List<ErlangFunction> calcFunctions() {
    ErlangFileStub stub = getStub();
    if (stub != null) {
      return getChildrenByType(stub, ErlangTypes.ERL_FUNCTION, ErlangFunctionStubElementType.ARRAY_FACTORY);
    }

    final List<ErlangFunction> result = new ArrayList<ErlangFunction>();
View Full Code Here

    return result;
  }

  @Override
  public void addDeclaredParseTransforms(@NotNull Set<String> parseTransforms) {
    ErlangFileStub stub = getStub();
    if (stub != null) {
      String fromStub = stub.getParseTransforms();
      List<String> split = StringUtil.split(fromStub, ",");
      parseTransforms.addAll(split);
      return;
    }
    for (ErlangAttribute attribute : getAttributes()) {
View Full Code Here

TOP

Related Classes of org.intellij.erlang.stubs.ErlangFileStub

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.