Package com.python.pydev.analysis.scopeanalysis

Examples of com.python.pydev.analysis.scopeanalysis.ScopeAnalyzerVisitor


    protected List<ASTEntry> getOccurrencesWithScopeAnalyzer(RefactoringRequest request) {
        List<ASTEntry> entryOccurrences = new ArrayList<ASTEntry>();

        IModule module = request.getModule();
        try {
            ScopeAnalyzerVisitor visitor = new ScopeAnalyzerVisitor(request.nature, request.moduleName, module,
                    new NullProgressMonitor(), request.ps);

            request.getAST().accept(visitor);
            entryOccurrences = visitor.getEntryOccurrences();
        } catch (BadLocationException e) {
            //don't log
        } catch (Exception e) {
            Log.log(e);
        }
View Full Code Here

TOP

Related Classes of com.python.pydev.analysis.scopeanalysis.ScopeAnalyzerVisitor

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.