Top Fields Constructors Methods
org.python.indexer.types

public Class NDictType

extends NType
Class Inheritance
Imports
org.python.indexer.Indexer, .NBinding, org.python.indexer.ast.NUrl

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
public
NDictType(NType key0, NType val0)

Method Summary

Modifier and TypeMethod and Description
public void
add(NType key, NType val)

public NType
public 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
setKeyType(NType keyType)

public void
public NTupleType
toTupleType(int n)

Inherited from org.python.indexer.types.NType:
asClassTypeasDictTypeasFuncTypeasInstanceTypeasListTypeasModuleTypeasTupleTypeasUnionTypeasUnknownTypefollowgetTableisClassTypeisDictTypeisFuncTypeisInstanceTypeisListTypeisModuleTypeisNativeisNumTypeisStrTypeisTupleTypeisUnionTypeisUnknownTypeprintsetTabletoString

Field Detail

keyTypeback to summary
private NType keyType
valueTypeback to summary
private NType valueType

Constructor Detail

NDictTypeback to summary
public NDictType()
NDictTypeback to summary
public NDictType(NType key0, NType val0)

Method Detail

addback to summary
public void add(NType key, NType val)
getKeyTypeback to summary
public NType getKeyType()
getValueTypeback to summary
public NType getValueType()
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
setKeyTypeback to summary
public void setKeyType(NType keyType)
setValueTypeback to summary
public void setValueType(NType valType)
toTupleTypeback to summary
public NTupleType toTupleType(int n)