Package org.python.indexer.ast

Examples of org.python.indexer.ast.NIfExp


        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));
        assertNoneType(new NLambda(null, null, null, null, null));
View Full Code Here


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

    @Override
    public Object visitIfExp(IfExp n) throws Exception {
        return new NIfExp(convExpr(n.getInternalTest()),
                          convExpr(n.getInternalBody()),
                          convExpr(n.getInternalOrelse()),
                          start(n), stop(n));
    }
View Full Code Here

TOP

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

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.