Examples of markStatic()


Examples of org.python.indexer.NBinding.markStatic()

    protected NBinding addSpecialAttr(String name, NType atype, NBinding.Kind kind) {
        NBinding b = getTable().update(name,
                                       Builtins.newDataModelUrl("the-standard-type-hierarchy"),
                                       atype, kind);
        b.markSynthetic();
        b.markStatic();
        return b;
    }

    protected NBinding addReadOnlyAttr(String name, NType type, NBinding.Kind kind) {
        NBinding b = addSpecialAttr(name, type, kind);
View Full Code Here

Examples of org.python.indexer.NBinding.markStatic()

    private void addSpecialAttribute(String name, NType proptype) {
        NBinding b = getTable().update(name, Builtins.newTutUrl("classes.html"),
                                       proptype, NBinding.Kind.ATTRIBUTE);
        b.markSynthetic();
        b.markStatic();
        b.markReadOnly();
    }

    @Override
    public String toString() {
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.