org.python.indexer.types
Class NInstanceType
- java.lang.Object
-
- org.python.indexer.types.NType
-
- org.python.indexer.types.NInstanceType
-
public class NInstanceType extends NType
Represents an instance of a class. Currently there is nothing in the indexer that needs to distinguish instances from classes -- both classes and their instances are merged into a single type.
-
-
Constructor Summary
Constructors Constructor and Description NInstanceType()NInstanceType(NType c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description NTypegetClassType()voidprintKids(org.python.indexer.types.NType.CyclicTypeRecorder ctr, java.lang.StringBuilder sb)Internal method to support printing in the presence of type-graph cycles.-
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
-
NInstanceType
public NInstanceType()
-
NInstanceType
public NInstanceType(NType c)
-
-
DMelt 3.0 © DataMelt by jWork.ORG