public interface NominalTypeBuilder
| 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.
|
void declareConstructorProperty(java.lang.String name,
TypeI type,
Node defSite)
void declareInstanceProperty(java.lang.String name,
TypeI type,
Node defSite)
void declarePrototypeProperty(java.lang.String name,
TypeI type,
Node defSite)
NominalTypeBuilder superClass()
FunctionTypeI constructor()
ObjectTypeI instance()
ObjectTypeI prototypeOrInstance()
Copyright © 2009-2018 Google. All Rights Reserved.