Package | Description |
---|---|
com.google.javascript.jscomp.newtypes |
Modifier and Type | Field and Description |
---|---|
protected Map<String,EnumType> |
Namespace.enums |
Modifier and Type | Method and Description |
---|---|
EnumType |
DeclaredTypeRegistry.getEnum(String name)
Returns the instance of the enum named
name |
EnumType |
Namespace.getEnumType(QualifiedName qname) |
static EnumType |
EnumType.make(String name,
JSTypeExpression typeExpr,
Collection<String> props) |
Modifier and Type | Method and Description |
---|---|
protected abstract com.google.common.collect.ImmutableSet<EnumType> |
JSType.getEnums() |
Modifier and Type | Method and Description |
---|---|
void |
Namespace.addEnum(QualifiedName qname,
EnumType e) |
void |
JSTypeCreatorFromJSDoc.resolveEnum(EnumType e,
DeclaredTypeRegistry registry) |
Copyright © 2009–2018 Google. All rights reserved.