public final class NominalTypeBuilderNti extends java.lang.Object implements NominalTypeBuilder
| Constructor and Description |
|---|
NominalTypeBuilderNti(NominalType nt) |
| Modifier and Type | Method and Description |
|---|---|
FunctionTypeI |
constructor()
Returns the constructor as a TypeI.
|
void |
declareConstructorProperty(java.lang.String name,
TypeI type,
Node defSite)
Declares a static property on the nominal type's constructor.
|
void |
declareInstanceProperty(java.lang.String name,
TypeI type,
Node defSite)
Declares an instance property on the nominal type.
|
void |
declarePrototypeProperty(java.lang.String name,
TypeI type,
Node defSite)
Declares a property on the nominal type's prototype.
|
ObjectTypeI |
instance()
Returns the instance type as a TypeI.
|
ObjectTypeI |
prototypeOrInstance()
Returns the type of the prototype object (OTI) or instance (NTI).
|
NominalTypeBuilder |
superClass()
Returns a NominalTypeBuilder for this type's superclass.
|
public NominalTypeBuilderNti(NominalType nt)
public NominalTypeBuilder superClass()
NominalTypeBuildersuperClass in interface NominalTypeBuilderpublic FunctionTypeI constructor()
NominalTypeBuilderconstructor in interface NominalTypeBuilderpublic ObjectTypeI instance()
NominalTypeBuilderinstance in interface NominalTypeBuilderpublic ObjectTypeI prototypeOrInstance()
NominalTypeBuilderprototypeOrInstance in interface NominalTypeBuilderpublic void declarePrototypeProperty(java.lang.String name,
TypeI type,
Node defSite)
NominalTypeBuilderdeclarePrototypeProperty in interface NominalTypeBuilderpublic void declareInstanceProperty(java.lang.String name,
TypeI type,
Node defSite)
NominalTypeBuilderdeclareInstanceProperty in interface NominalTypeBuilderpublic void declareConstructorProperty(java.lang.String name,
TypeI type,
Node defSite)
NominalTypeBuilderdeclareConstructorProperty in interface NominalTypeBuilderCopyright © 2009-2018 Google. All Rights Reserved.