T
- The type of information stored about the slotpublic interface StaticTypedSlot<T> extends StaticSlot
StaticTypedSlot
interface must be implemented by variables that can
appear as members of a StaticTypedScope
.Modifier and Type | Method and Description |
---|---|
StaticTypedRef<T> |
getDeclaration()
Gets the declaration of this symbol.
|
T |
getType()
Returns the type information, if any, for this slot.
|
boolean |
isTypeInferred()
Returns whether the type has been inferred (as opposed to declared).
|
getJSDocInfo, getName
T getType()
null
if no type is declared for it.boolean isTypeInferred()
StaticTypedRef<T> getDeclaration()
getDeclaration
in interface StaticSlot
Copyright © 2009–2023 Google. All rights reserved.