| 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(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(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.
|
| Constructor and Description |
|---|
SubclassRelationship(CodingConvention.SubclassType type,
Node subclassNode,
Node superclassNode) |
Copyright © 2009-2019 Google. All Rights Reserved.