Package org.python.pydev.refactoring.ast.adapters.offsetstrategy

Examples of org.python.pydev.refactoring.ast.adapters.offsetstrategy.InitOffset


    public void setStrategy(IASTNodeAdapter<? extends SimpleNode> adapter, int strategy,
            AbstractScopeNode<?> scopeAdapter) {
        switch (strategy) {
            case IOffsetStrategy.AFTERINIT:
                this.offsetStrategy = new InitOffset(adapter, this.doc, this.getAdapterPrefs());
                break;
            case IOffsetStrategy.BEFORECURRENT:
                this.offsetStrategy = new BeforeCurrentOffset(adapter, this.doc, this.getAdapterPrefs(), scopeAdapter);
                break;
            case IOffsetStrategy.BEGIN:
View Full Code Here

TOP

Related Classes of org.python.pydev.refactoring.ast.adapters.offsetstrategy.InitOffset

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.