Package org.python.indexer.ast

Examples of org.python.indexer.ast.NIf


        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));
        assertNoneType(new NImport(null));
        assertNoneType(new NImportFrom(null, null, null));
        assertNoneType(new NIndex(null));
        assertNoneType(new NKeyword(null, null));
View Full Code Here


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

    @Override
    public Object visitIf(If n) throws Exception {
        return new NIf(convExpr(n.getInternalTest()),
                       convertListStmt(n.getInternalBody()),
                       convertListStmt(n.getInternalOrelse()),
                       start(n), stop(n));
    }
View Full Code Here

TOP

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

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.