Package org.python.indexer.ast

Examples of org.python.indexer.ast.NSubscript


        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));
        assertNoneType(new NTuple(null));
        assertNoneType(new NUnaryOp(null, null));
        assertNoneType(new NUrl(""));
View Full Code Here


        return new NStr(n.getInternalS(), start(n), stop(n));
    }

    @Override
    public Object visitSubscript(Subscript n) throws Exception {
        return new NSubscript(convExpr(n.getInternalValue()),
                              convExpr(n.getInternalSlice()),
                              start(n), stop(n));
    }
View Full Code Here

TOP

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

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.