org.python.indexer.types
Class NClassType
- java.lang.Object
-
- org.python.indexer.types.NType
-
- org.python.indexer.types.NClassType
-
public class NClassType extends NType
-
-
Constructor Summary
Constructors Constructor and Description NClassType()NClassType(java.lang.String name, Scope parent)NClassType(java.lang.String name, Scope parent, NClassType superClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddSuper(NType sp)java.lang.StringgetName()voidprintKids(org.python.indexer.types.NType.CyclicTypeRecorder ctr, java.lang.StringBuilder sb)Internal method to support printing in the presence of type-graph cycles.voidsetName(java.lang.String name)-
Methods inherited from class org.python.indexer.types.NType
asClassType, asDictType, asFuncType, asInstanceType, asListType, asModuleType, asTupleType, asUnionType, asUnknownType, follow, getTable, isClassType, isDictType, isFuncType, isInstanceType, isListType, isModuleType, isNative, isNumType, isStrType, isTupleType, isUnionType, isUnknownType, setTable, toString
-
-
-
-
Constructor Detail
-
NClassType
public NClassType()
-
NClassType
public NClassType(java.lang.String name, Scope parent)
-
NClassType
public NClassType(java.lang.String name, Scope parent, NClassType superClass)
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
-
getName
public java.lang.String getName()
-
addSuper
public void addSuper(NType sp)
-
printKids
public void printKids(org.python.indexer.types.NType.CyclicTypeRecorder ctr, java.lang.StringBuilder sb)Description copied from class:NTypeInternal method to support printing in the presence of type-graph cycles.
-
-
DMelt 3.0 © DataMelt by jWork.ORG