public class NListType extends NType
NType.CyclicTypeRecorderLIBRARY_URL, REFERENCE_URL, TUTORIAL_URL| Modifier and Type | Method and Description |
|---|---|
void |
add(NType another) |
NType |
getElementType()
Returns the type of the elements.
|
void |
printKids(NType.CyclicTypeRecorder ctr,
java.lang.StringBuilder sb)
Internal method to support printing in the presence of type-graph cycles.
|
void |
setElementType(NType eltType) |
NTupleType |
toTupleType(int n) |
asClassType, asDictType, asFuncType, asInstanceType, asListType, asModuleType, asTupleType, asUnionType, asUnknownType, follow, getTable, isClassType, isDictType, isFuncType, isInstanceType, isListType, isModuleType, isNative, isNumType, isStrType, isTupleType, isUnionType, isUnknownType, print, setTable, toStringpublic NListType()
public NListType(NType elt0)
public void setElementType(NType eltType)
public NType getElementType()
NUnknownType.follow(org.python.indexer.types.NType) to get to the actual type.public void add(NType another)
public NTupleType toTupleType(int n)
public void printKids(NType.CyclicTypeRecorder ctr, java.lang.StringBuilder sb)
NType