Package org.python.indexer.ast

Examples of org.python.indexer.ast.NWith


        assertNoneType(new NTryFinally(null, null));
        assertNoneType(new NTuple(null));
        assertNoneType(new NUnaryOp(null, null));
        assertNoneType(new NUrl(""));
        assertNoneType(new NWhile(null, null, null));
        assertNoneType(new NWith(null, null, null));
        assertNoneType(new NYield(null));
    }
View Full Code Here


                          start(n), stop(n));
    }

    @Override
    public Object visitWith(With n) throws Exception {
        return new NWith(convExpr(n.getInternalOptional_vars()),
                         convExpr(n.getInternalContext_expr()),
                         convertListStmt(n.getInternalBody()),
                         start(n), stop(n));
    }
View Full Code Here

TOP

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

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.