Package org.python.pydev.refactoring.ast.visitors.context

Examples of org.python.pydev.refactoring.ast.visitors.context.LocalFunctionDefVisitor


        if (functions == null) {
            T node = getASTNode();
            ModuleAdapter module = getModule();
            assert (node != null);
            assert (module != null);
            LocalFunctionDefVisitor visitor = VisitorFactory.createContextVisitor(LocalFunctionDefVisitor.class, node,
                    module, this);
            functions = visitor.getAll();
        }

        return functions;
    }
View Full Code Here


        return getModule().getIndentationFromAst(functionNode.body[0]);
    }

    public List<FunctionDefAdapter> getFunctions() {
        if (this.functions == null) {
            LocalFunctionDefVisitor visitor = null;
            visitor = VisitorFactory.createContextVisitor(LocalFunctionDefVisitor.class, this.getASTNode(),
                    getModule(), this);

            this.functions = visitor.getAll();
        }
        return this.functions;
    }
View Full Code Here

TOP

Related Classes of org.python.pydev.refactoring.ast.visitors.context.LocalFunctionDefVisitor

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.