Package org.erlide.engine.services.search

Examples of org.erlide.engine.services.search.ModelFindService


    moduleName = unquoted;
    do {
      {
        oldName = moduleName;
        IErlangEngine _instance = ErlangEngine.getInstance();
        ModelFindService _modelFindService = _instance.getModelFindService();
        String _resolveMacroValue = _modelFindService.resolveMacroValue(moduleName, module);
        moduleName = _resolveMacroValue;
      }
    } while((!moduleName.equals(oldName)));
    String _fun_1 = res.getFun();
    int _arity = res.getArity();
View Full Code Here


public class OpenUtils {
  private final ModelFindService modelFindService;
 
  public OpenUtils() {
    IErlangEngine _instance = ErlangEngine.getInstance();
    ModelFindService _modelFindService = _instance.getModelFindService();
    this.modelFindService = _modelFindService;
  }
View Full Code Here

        final IErlElementLocator model_1 = _instance_2.getModel();
        return this.modelFindService.findFunction(model_1, erlProject, module, moduleName, modulePath, erlangFunction, scope);
      }
    }
    IErlangEngine _instance_3 = ErlangEngine.getInstance();
    ModelFindService _modelFindService = _instance_3.getModelFindService();
    final Collection<IErlModule> allIncludedFiles = _modelFindService.findAllIncludedFiles(module);
    for (final IErlModule includedModule : allIncludedFiles) {
      {
        final IErlFunction function = includedModule.findFunction(erlangFunction);
        boolean _tripleNotEquals_3 = (function != null);
        if (_tripleNotEquals_3) {
View Full Code Here

    }

    List<ICompletionProposal> getExternalCallCompletions(final IOtpRpc b,
            final String moduleName0, final int offset, final String prefix,
            final boolean arityOnly) throws CoreException {
        final ModelFindService modelFindService = ErlangEngine.getInstance()
                .getModelFindService();
        final String moduleName = modelFindService.resolveMacroValue(moduleName0, module);
        // we have an external call
        final List<ICompletionProposal> result = new ArrayList<ICompletionProposal>();
        final boolean checkAllProjects = NavigationPreferencePage.getCheckAllProjects();
        final IErlElementLocator model = ErlangEngine.getInstance().getModel();
        final IErlModule theModule = modelFindService.findModule(model, project,
                moduleName, null,
                checkAllProjects ? IErlElementLocator.Scope.ALL_PROJECTS
                        : IErlElementLocator.Scope.REFERENCED_PROJECTS);
        if (theModule != null) {
            if (ErlangEngine.getInstance().getModelUtilService().isOtpModule(theModule)) {
View Full Code Here

TOP

Related Classes of org.erlide.engine.services.search.ModelFindService

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.