Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
Modifier and Type | Method and Description |
---|---|
private EnumType |
TypedScopeCreator.AbstractScopeBuilder.createEnumTypeFromNodes(Node rValue,
java.lang.String name,
JSDocInfo info)
Creates a new enum type, based on the given nodes.
|
Modifier and Type | Method and Description |
---|---|
SymbolTable.Symbol |
SymbolTable.getSymbolDeclaredBy(EnumType enumType)
Gets the symbol for the given enum.
|
Modifier and Type | Field and Description |
---|---|
private EnumType |
EnumElementType.enumType |
Modifier and Type | Method and Description |
---|---|
EnumType |
JSTypeRegistry.createEnumType(java.lang.String name,
Node source,
JSType elementsType)
Creates an enum type.
|
EnumType |
EnumElementType.getEnumType() |
EnumType |
ProxyObjectType.toMaybeEnumType() |
EnumType |
EnumType.toMaybeEnumType() |
EnumType |
JSType.toMaybeEnumType()
Downcasts this to an EnumType, or returns null if this is not an EnumType.
|
Constructor and Description |
---|
EnumElementType(JSTypeRegistry registry,
JSType elementType,
java.lang.String name,
EnumType enumType) |