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 |
---|---|
SymbolTable.Symbol |
SymbolTable.getSymbolDeclaredBy(EnumType enumType)
Gets the symbol for the given enum.
|
Modifier and Type | Method and Description |
---|---|
EnumType |
JSTypeRegistry.createEnumType(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.
|
Copyright © 2009–2023 Google. All rights reserved.