Top Fields Constructors Methods
org.python.indexer.types

public Class NTupleType

extends NType
Class Inheritance
Imports
org.python.indexer.Indexer, .NBinding, org.python.indexer.ast.NUrl, java.util.ArrayList, .List

Field Summary

Modifier and TypeField and Description
private List<NType>
Inherited from org.python.indexer.types.NType:
LIBRARY_URLREFERENCE_URLTUTORIAL_URL

Constructor Summary

AccessConstructor and Description
public
public
NTupleType(List<NType> eltTypes)

public
public
NTupleType(NType elt0, NType elt1)

public
NTupleType(NType... types)

Method Summary

Modifier and TypeMethod and Description
public void
add(NType elt)

public NType
get(int i)

public List<NType>
public void
printKids(NType.CyclicTypeRecorder ctr, StringBuilder sb)

Implements abstract org.python.indexer.types.NType.printKids.

Internal method to support printing in the presence of type-graph cycles.

public void
public NListType
Inherited from org.python.indexer.types.NType:
asClassTypeasDictTypeasFuncTypeasInstanceTypeasListTypeasModuleTypeasTupleTypeasUnionTypeasUnknownTypefollowgetTableisClassTypeisDictTypeisFuncTypeisInstanceTypeisListTypeisModuleTypeisNativeisNumTypeisStrTypeisTupleTypeisUnionTypeisUnknownTypeprintsetTabletoString

Field Detail

eltTypesback to summary
private List<NType> eltTypes

Constructor Detail

NTupleTypeback to summary
public NTupleType()
NTupleTypeback to summary
public NTupleType(List<NType> eltTypes)
NTupleTypeback to summary
public NTupleType(NType elt0)
NTupleTypeback to summary
public NTupleType(NType elt0, NType elt1)
NTupleTypeback to summary
public NTupleType(NType... types)

Method Detail

addback to summary
public void add(NType elt)
getback to summary
public NType get(int i)
getElementTypesback to summary
public List<NType> getElementTypes()
printKidsback to summary
public void printKids(NType.CyclicTypeRecorder ctr, StringBuilder sb)

Implements abstract org.python.indexer.types.NType.printKids.

Doc from org.python.indexer.types.NType.printKids.

Internal method to support printing in the presence of type-graph cycles.

Annotations
@Override
setElementTypesback to summary
public void setElementTypes(List<NType> eltTypes)
toListTypeback to summary
public NListType toListType()