public class NTupleType extends NType
NType.CyclicTypeRecorder
LIBRARY_URL, REFERENCE_URL, TUTORIAL_URL
Constructor and Description |
---|
NTupleType() |
NTupleType(java.util.List<NType> eltTypes) |
NTupleType(NType... types) |
NTupleType(NType elt0) |
NTupleType(NType elt0,
NType elt1) |
Modifier and Type | Method and Description |
---|---|
void |
add(NType elt) |
NType |
get(int i) |
java.util.List<NType> |
getElementTypes() |
void |
printKids(NType.CyclicTypeRecorder ctr,
java.lang.StringBuilder sb)
Internal method to support printing in the presence of type-graph cycles.
|
void |
setElementTypes(java.util.List<NType> eltTypes) |
NListType |
toListType() |
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, toString
public NTupleType()
public NTupleType(java.util.List<NType> eltTypes)
public NTupleType(NType elt0)
public NTupleType(NType... types)
public void setElementTypes(java.util.List<NType> eltTypes)
public java.util.List<NType> getElementTypes()
public void add(NType elt)
public NType get(int i)
public NListType toListType()
public void printKids(NType.CyclicTypeRecorder ctr, java.lang.StringBuilder sb)
NType