Examples of NClassDef


Examples of org.python.indexer.ast.NClassDef

        assertNoneType(new NBlock(null));
        assertNoneType(new NBody((List<NNode>)null));
        assertNoneType(new NBoolOp(null, null));
        assertNoneType(new NBreak());
        assertNoneType(new NCall(null, null, null, null, null));
        assertNoneType(new NClassDef(null, null, null));
        assertNoneType(new NCompare(null, null, null));
        assertNoneType(new NComprehension(null, null, null));
        assertNoneType(new NContinue());
        assertNoneType(new NDelete(null));
        assertNoneType(new NDict(null, null));
View Full Code Here

Examples of org.python.indexer.ast.NClassDef

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

    @Override
    public Object visitClassDef(ClassDef n) throws Exception {
        return new NClassDef((NName)convExpr(n.getInternalNameNode()),
                             convertListExpr(n.getInternalBases()),
                             convertListStmt(n.getInternalBody()),
                             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.