Top Description Fields Constructors Methods
org.python.indexer.types

public Class NInstanceType

extends NType
Class Inheritance
Imports
org.python.indexer.Scope

Represents an instance of a class. Currently there is nothing in the indexer that needs to distinguish instances from classes -- both classes and their instances are merged into a single type.

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
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.

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

Field Detail

classTypeback to summary
private NType classType

Constructor Detail

NInstanceTypeback to summary
public NInstanceType()
NInstanceTypeback to summary
public NInstanceType(NType c)

Method Detail

getClassTypeback to summary
public NType getClassType()
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