Examples of NAssign


Examples of org.python.indexer.ast.NAssign

    // to ensure that no nodes are relying on a particular type when being
    // resolved (since deserialization won't call the constructor).
    public void testConstructedTypes() throws Exception {
        assertNoneType(new NAlias(null, null, null));
        assertNoneType(new NAssert(null, null));
        assertNoneType(new NAssign(null, null));
        assertNoneType(new NAttribute(new NStr(), new NName("")));
        assertNoneType(new NAugAssign(null, null, null));
        assertNoneType(new NBinOp(null, null, null));
        assertNoneType(new NBlock(null));
        assertNoneType(new NBody((List<NNode>)null));
View Full Code Here

Examples of org.python.indexer.ast.NAssign

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

    @Override
    public Object visitAssign(Assign n) throws Exception {
        return new NAssign(convertListExpr(n.getInternalTargets()),
                           convExpr(n.getInternalValue()),
                           start(n), stop(n));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.