org.python.indexer.types
Class NDictType
- java.lang.Object
-
- org.python.indexer.types.NType
-
- org.python.indexer.types.NDictType
-
public class NDictType extends NType
-
-
Constructor Summary
Constructors Constructor and Description NDictType()NDictType(NType key0, NType val0)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(NType key, NType val)NTypegetKeyType()NTypegetValueType()voidprintKids(org.python.indexer.types.NType.CyclicTypeRecorder ctr, java.lang.StringBuilder sb)Internal method to support printing in the presence of type-graph cycles.voidsetKeyType(NType keyType)voidsetValueType(NType valType)NTupleTypetoTupleType(int n)-
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
-
-
-
-
Method Detail
-
setKeyType
public void setKeyType(NType keyType)
-
getKeyType
public NType getKeyType()
-
setValueType
public void setValueType(NType valType)
-
getValueType
public NType getValueType()
-
toTupleType
public NTupleType toTupleType(int n)
-
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