Package org.python.indexer.ast

Examples of org.python.indexer.ast.NAugAssign


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


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

    @Override
    public Object visitAugAssign(AugAssign n) throws Exception {
        return new NAugAssign(convExpr(n.getInternalTarget()),
                              convExpr(n.getInternalValue()),
                              convOp(n.getInternalOp()),
                              start(n), stop(n));
    }
View Full Code Here

TOP

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

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.