Package org.python.pydev.core.structure

Examples of org.python.pydev.core.structure.CompletionRecursionException


     * @param module
     * @param base
     */
    public void checkWildImportInMemory(IModule caller, IModule wild) throws CompletionRecursionException {
        if (this.wildImportMemory.isInRecursion(caller, wild)) {
            throw new CompletionRecursionException(
                    "Possible recursion found -- probably programming error -- (caller: " + caller.getName()
                            + ", import: " + wild.getName() + " ) - stopping analysis.");
        }

    }
View Full Code Here


     * @param module
     * @param definition
     */
    public void checkDefinitionMemory(IModule module, IDefinition definition) throws CompletionRecursionException {
        if (this.definitionMemory.isInRecursion(module, (Definition) definition)) {
            throw new CompletionRecursionException(
                    "Possible recursion found -- probably programming error --  (module: " + module.getName()
                            + ", token: " + definition + ") - stopping analysis.");
        }

    }
View Full Code Here

    /**
     * @param module
     */
    public void checkFindMemory(IModule module, String value) throws CompletionRecursionException {
        if (this.findMemory.isInRecursion(module, value)) {
            throw new CompletionRecursionException(
                    "Possible recursion found -- probably programming error --  (module: " + module.getName()
                            + ", value: " + value + ") - stopping analysis.");
        }

    }
View Full Code Here

     * @param module
     * @throws CompletionRecursionException
     */
    public void checkResolveImportMemory(IModule module, String value) throws CompletionRecursionException {
        if (this.resolveImportMemory.isInRecursion(module, value)) {
            throw new CompletionRecursionException(
                    "Possible recursion found -- probably programming error --  (module: " + module.getName()
                            + ", value: " + value + ") - stopping analysis.");
        }

    }
View Full Code Here

    }

    public void checkFindDefinitionMemory(IModule mod, String tok) throws CompletionRecursionException {
        if (this.findDefinitionMemory.isInRecursion(mod, tok)) {
            throw new CompletionRecursionException(
                    "Possible recursion found -- probably programming error --  (module: " + mod.getName()
                            + ", value: " + tok + ") - stopping analysis.");
        }
    }
View Full Code Here

        }
    }

    public void checkFindLocalDefinedDefinitionMemory(IModule mod, String tok) throws CompletionRecursionException {
        if (this.findLocalDefinedDefinitionMemory.isInRecursion(mod, tok)) {
            throw new CompletionRecursionException(
                    "Possible recursion found -- probably programming error --  (module: " + mod.getName()
                            + ", value: " + tok + ") - stopping analysis.");
        }
    }
View Full Code Here

     * @param module
     * @param base
     */
    public void checkMemory(IModule module, String base) throws CompletionRecursionException {
        if (this.memory.isInRecursion(module, base)) {
            throw new CompletionRecursionException(
                    "Possible recursion found -- probably programming error --  (module: " + module.getName()
                            + ", token: " + base + ") - stopping analysis.");
        }
    }
View Full Code Here

        Iterator<Memo<IToken>> it = findResolveImportMemory.iterator();
        while (it.hasNext()) {
            Memo<IToken> memo = it.next();
            if (memo.isInRecursion(null, token)) {
                //                if(it.hasNext()){
                throw new CompletionRecursionException(
                        "Possible recursion found -- probably programming error --  (token: " + token
                                + ") - stopping analysis.");
                //                }
            }
        }
View Full Code Here

     * @param module
     * @param base
     */
    public void checkFindModuleCompletionsMemory(IModule mod, String tok) throws CompletionRecursionException {
        if (this.findModuleCompletionsMemory.isInRecursion(mod, tok)) {
            throw new CompletionRecursionException(
                    "Possible recursion found -- probably programming error --  (module: " + mod.getName()
                            + ", token: " + tok + ") - stopping analysis.");
        }
    }
View Full Code Here

        return builtinsGotten;
    }

    public void raiseNFindTokensOnImportedModsCalled(IModule mod, String tok) throws CompletionRecursionException {
        if (this.importedModsCalled.isInRecursion(mod, tok)) {
            throw new CompletionRecursionException("Possible recursion found (mod: " + mod.getName() + ", tok: " + tok
                    + " ) - stopping analysis.");
        }
    }
View Full Code Here

TOP

Related Classes of org.python.pydev.core.structure.CompletionRecursionException

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.