Package org.python.indexer.ast

Examples of org.python.indexer.ast.NFor


        assertNoneType(new NDict(null, null));
        assertNoneType(new NEllipsis());
        assertNoneType(new NExceptHandler(null, null, null));
        assertNoneType(new NExec(null, null, null));
        assertNoneType(new NExprStmt(null));
        assertNoneType(new NFor(null, null, null, null));
        assertNoneType(new NFunctionDef(null, null, null, null, null, null));
        assertNoneType(new NGeneratorExp(null, null));
        assertNoneType(new NGlobal(null));
        assertNoneType(new NIf(null, null, null));
        assertNoneType(new NIfExp(null, null, null));
View Full Code Here


        return new NExprStmt(convExpr(n.getInternalValue()), start(n), stop(n));
    }

    @Override
    public Object visitFor(For n) throws Exception {
        return new NFor(convExpr(n.getInternalTarget()),
                        convExpr(n.getInternalIter()),
                        convertListStmt(n.getInternalBody()),
                        convertListStmt(n.getInternalOrelse()),
                        start(n), stop(n));
    }
View Full Code Here

TOP

Related Classes of org.python.indexer.ast.NFor

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.