Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Field and Description |
---|---|
(package private) CodingConvention.SubclassType |
CodingConvention.SubclassRelationship.type |
Modifier and Type | Method and Description |
---|---|
private static CodingConvention.SubclassType |
ClosureCodingConvention.typeofClassDefiningName(Node callName)
Determines whether the given node is a class-defining name, like
"inherits" or "mixin."
|
static CodingConvention.SubclassType |
CodingConvention.SubclassType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodingConvention.SubclassType[] |
CodingConvention.SubclassType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ClosureCodingConvention.applySubclassRelationship(FunctionType parentCtor,
FunctionType childCtor,
CodingConvention.SubclassType type)
Closure's goog.inherits adds a
superClass_ property to the
subclass, and a constructor property. |
void |
CodingConvention.applySubclassRelationship(FunctionType parentCtor,
FunctionType childCtor,
CodingConvention.SubclassType type)
In many JS libraries, the function that produces inheritance also
adds properties to the superclass and/or subclass.
|
void |
CodingConventions.Proxy.applySubclassRelationship(FunctionType parentCtor,
FunctionType childCtor,
CodingConvention.SubclassType type) |
void |
CodingConventions.DefaultCodingConvention.applySubclassRelationship(FunctionType parentCtor,
FunctionType childCtor,
CodingConvention.SubclassType type) |
Constructor and Description |
---|
SubclassRelationship(CodingConvention.SubclassType type,
Node subclassNode,
Node superclassNode) |