| Package | Description |
|---|---|
| com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
| com.google.javascript.rhino |
The core AST from Rhino.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CodingConventions.Proxy.applyDelegateRelationship(NominalTypeBuilder delegateSuperclass,
NominalTypeBuilder delegateBase,
NominalTypeBuilder delegator,
ObjectType delegateProxy,
FunctionType findDelegate) |
void |
CodingConvention.applyDelegateRelationship(NominalTypeBuilder delegateSuperclass,
NominalTypeBuilder delegateBase,
NominalTypeBuilder delegator,
ObjectType delegateProxy,
FunctionType findDelegate)
In many JS libraries, the function that creates a delegate relationship
also adds properties to the delegator and delegate base.
|
void |
ClosureCodingConvention.applySingletonGetter(NominalTypeBuilder classType,
FunctionType getterType) |
void |
CodingConventions.Proxy.applySingletonGetter(NominalTypeBuilder classType,
FunctionType getterType) |
void |
ChromeCodingConvention.applySingletonGetter(NominalTypeBuilder classType,
FunctionType getterType) |
void |
CodingConvention.applySingletonGetter(NominalTypeBuilder classType,
FunctionType getterType)
In many JS libraries, the function that adds a singleton getter to a class
adds properties to the class.
|
void |
ClosureCodingConvention.applySubclassRelationship(NominalTypeBuilder parent,
NominalTypeBuilder child,
CodingConvention.SubclassType type)
Closure's goog.inherits adds a
superClass_ property to the
subclass, and a constructor property. |
void |
CodingConventions.Proxy.applySubclassRelationship(NominalTypeBuilder parent,
NominalTypeBuilder child,
CodingConvention.SubclassType type) |
void |
CodingConvention.applySubclassRelationship(NominalTypeBuilder parent,
NominalTypeBuilder child,
CodingConvention.SubclassType type)
In many JS libraries, the function that produces inheritance also
adds properties to the superclass and/or subclass.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CodingConventions.Proxy.defineDelegateProxyPrototypeProperties(JSTypeRegistry registry,
java.util.List<NominalTypeBuilder> delegateProxies,
java.util.Map<java.lang.String,java.lang.String> delegateCallingConventions) |
void |
CodingConvention.defineDelegateProxyPrototypeProperties(JSTypeRegistry registry,
java.util.List<NominalTypeBuilder> delegateProxies,
java.util.Map<java.lang.String,java.lang.String> delegateCallingConventions)
Defines the delegate proxy prototype properties.
|
| Modifier and Type | Method and Description |
|---|---|
NominalTypeBuilder |
NominalTypeBuilder.superClass()
Returns a NominalTypeBuilder for this type's superclass.
|
Copyright © 2009-2019 Google. All Rights Reserved.