Package org.python.indexer.ast

Examples of org.python.indexer.ast.NLambda


        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));
        assertNoneType(new NList(null));
        assertNoneType(new NListComp(null, null));
        assertNoneType(new NModule(null, 0, 1));
        assertNoneType(new NName(""));
        assertNoneType(new NNum(-1));
View Full Code Here


    }

    @Override
    public Object visitLambda(Lambda n) throws Exception {
        arguments args = n.getInternalArgs();
        return new NLambda(convertListExpr(args.getInternalArgs()),
                           convExpr(n.getInternalBody()),
                           convertListExpr(args.getInternalDefaults()),
                           (NName)convExpr(args.getInternalVarargName()),
                           (NName)convExpr(args.getInternalKwargName()),
                           start(n), stop(n));
View Full Code Here

TOP

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

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.