| Package | Description |
|---|---|
| com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
| com.google.javascript.rhino |
The core AST from Rhino.
|
| com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CodingConvention.applyDelegateRelationship(NominalTypeBuilder delegateSuperclass,
NominalTypeBuilder delegateBase,
NominalTypeBuilder delegator,
ObjectTypeI delegateProxy,
FunctionTypeI findDelegate)
In many JS libraries, the function that creates a delegate relationship
also adds properties to the delegator and delegate base.
|
void |
CodingConventions.Proxy.applyDelegateRelationship(NominalTypeBuilder delegateSuperclass,
NominalTypeBuilder delegateBase,
NominalTypeBuilder delegator,
ObjectTypeI delegateProxy,
FunctionTypeI findDelegate) |
void |
CodingConvention.applySingletonGetter(NominalTypeBuilder classType,
FunctionTypeI getterType)
In many JS libraries, the function that adds a singleton getter to a class
adds properties to the class.
|
void |
ClosureCodingConvention.applySingletonGetter(NominalTypeBuilder classType,
FunctionTypeI getterType) |
void |
CodingConventions.Proxy.applySingletonGetter(NominalTypeBuilder classType,
FunctionTypeI getterType) |
void |
ChromeCodingConvention.applySingletonGetter(NominalTypeBuilder classType,
FunctionTypeI getterType) |
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.
|
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
CodingConvention.defineDelegateProxyPrototypeProperties(TypeIRegistry registry,
java.util.List<NominalTypeBuilder> delegateProxies,
java.util.Map<java.lang.String,java.lang.String> delegateCallingConventions)
Defines the delegate proxy prototype properties.
|
void |
CodingConventions.Proxy.defineDelegateProxyPrototypeProperties(TypeIRegistry registry,
java.util.List<NominalTypeBuilder> delegateProxies,
java.util.Map<java.lang.String,java.lang.String> delegateCallingConventions) |
| Modifier and Type | Method and Description |
|---|---|
NominalTypeBuilder |
NominalTypeBuilder.superClass()
Returns a NominalTypeBuilder for this type's superclass.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NominalTypeBuilderOti
OTI implementation of NominalTypeBuilder
|
| Modifier and Type | Method and Description |
|---|---|
NominalTypeBuilder |
NominalTypeBuilderOti.superClass() |
Copyright © 2009-2018 Google. All Rights Reserved.