Package org.python.pydev.parser.jython.ast.factory

Examples of org.python.pydev.parser.jython.ast.factory.NodeHelper


        this.moduleAdapter = req.getOffsetNode().getModule();
        this.offsetAdapter = req.getOffsetNode();
        if (req instanceof IExtractMethodRefactoringRequest) {
            this.scopeAdapter = ((IExtractMethodRefactoringRequest) req).getScopeAdapter();
        }
        this.nodeHelper = new NodeHelper(req.getAdapterPrefs());
        this.adapterPrefs = req.getAdapterPrefs();
        this.astFactory = new PyAstFactory(this.nodeHelper.getAdapterPrefs());
    }
View Full Code Here


        this.attributeAdapter = attributeAdapter;
        this.offsetMethodStrategy = offsetMethodStrategy;
        this.offsetPropertyStrategy = offsetPropertyStrategy;
        this.accessModifier = accessModifier;
        this.adapterPrefs = adapterPrefs;
        this.nodeHelper = new NodeHelper(adapterPrefs);
        initialize(properties);
    }
View Full Code Here

    private NodeHelper nodeHelper;

    public LocalVarRenameVisitor(AdapterPrefs adapterPrefs) {
        this.renameMap = new HashMap<String, String>();
        this.nodeHelper = new NodeHelper(adapterPrefs);
    }
View Full Code Here

        super();
        assert (module != null);

        this.moduleAdapter = module;

        nodeHelper = new NodeHelper(module.getAdapterPrefs());

        stack = new FastStack<SimpleNode>(10);
        parents = new FastStack<AbstractScopeNode<?>>(10);
        parents.push(moduleAdapter);
        stack.push(module.getASTNode());
View Full Code Here

    public AbstractOffsetStrategy(IASTNodeAdapter<? extends SimpleNode> adapter, IDocument doc,
            AdapterPrefs adapterPrefs) {
        this.adapter = adapter;
        this.doc = doc;
        this.nodeHelper = new NodeHelper(adapterPrefs);
    }
View Full Code Here

    protected void init(ModuleAdapter module, AbstractScopeNode<?> parent, T node, AdapterPrefs adapterPrefs) {
        this.module = module;
        this.parent = parent;
        this.adaptee = node;
        this.nodeHelper = new NodeHelper(adapterPrefs);
        this.adapterPrefs = adapterPrefs;
    }
View Full Code Here

TOP

Related Classes of org.python.pydev.parser.jython.ast.factory.NodeHelper

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.