Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.newtypes |
Modifier and Type | Field and Description |
---|---|
private JSTypes |
NTIScope.commonTypes |
private JSTypes |
NewTypeInference.commonTypes |
private JSTypes |
GlobalTypeInfo.commonTypes |
Modifier and Type | Method and Description |
---|---|
JSTypes |
NTIScope.getCommonTypes() |
(package private) JSTypes |
GlobalTypeInfo.getTypesUtilObject() |
Constructor and Description |
---|
NTIScope(Node root,
NTIScope parent,
java.util.List<java.lang.String> formals,
JSTypes commonTypes) |
Modifier and Type | Field and Description |
---|---|
private static JSTypes |
JSType.commonTypes |
Modifier and Type | Method and Description |
---|---|
JSTypes |
DeclaredTypeRegistry.getCommonTypes() |
static JSTypes |
JSTypes.make() |
Modifier and Type | Method and Description |
---|---|
protected JSType |
NamespaceLit.computeJSType(JSTypes commonTypes) |
protected JSType |
FunctionNamespace.computeJSType(JSTypes commonTypes) |
protected abstract JSType |
Namespace.computeJSType(JSTypes commonTypes) |
protected JSType |
EnumType.computeJSType(JSTypes commonTypes)
When defining an enum such as
/** @enum {number} * /
var X = { ONE: 1, TWO: 2 };
the properties of the object literal are constant.
|
protected JSType |
RawNominalType.computeJSType(JSTypes commonTypes) |
void |
Namespace.copyWindowProperties(JSTypes commonTypes,
RawNominalType win) |
static void |
JSType.setCommonTypes(JSTypes commonTypes) |
JSType |
Namespace.toJSType(JSTypes commonTypes) |
FunctionType |
FunctionType.transformByApplyProperty(JSTypes commonTypes) |