Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Method and Description |
---|---|
static CodingConvention.SubclassType |
CodingConvention.SubclassType.valueOf(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) |
Constructor and Description |
---|
SubclassRelationship(CodingConvention.SubclassType type,
Node subclassNode,
Node superclassNode) |
Copyright © 2009–2023 Google. All rights reserved.