Package org.python.indexer.ast

Examples of org.python.indexer.ast.NReturn


        assertNoneType(new NPlaceHolder());
        assertNoneType(new NPrint(null, null));
        assertNoneType(new NQname(null, new NName("")));
        assertNoneType(new NRaise(null, null, null));
        assertNoneType(new NRepr(null));
        assertNoneType(new NReturn(null));
        assertNoneType(new NSlice(null, null, null));
        assertNoneType(new NStr());
        assertNoneType(new NSubscript(null, null));
        assertNoneType(new NTryExcept(null, null, null));
        assertNoneType(new NTryFinally(null, null));
View Full Code Here


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

    @Override
    public Object visitReturn(Return n) throws Exception {
        return new NReturn(convExpr(n.getInternalValue()), start(n), stop(n));
    }
View Full Code Here

TOP

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

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.