Examples of ScopeAnalyzerVisitor


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
Copyright © 2018 www.massapi.com. 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.