public interface StaticTypedSlot extends StaticSlot
StaticTypedSlot interface must be implemented by variables that can appear as members
of a StaticTypedScope.| Modifier and Type | Method and Description |
|---|---|
StaticTypedRef |
getDeclaration()
Gets the declaration of this symbol.
|
StaticTypedScope |
getScope() |
JSType |
getType()
Returns the type information, if any, for this slot.
|
boolean |
isTypeInferred()
Returns whether the type has been inferred (as opposed to declared).
|
getJSDocInfo, getNameJSType getType()
null if no type is declared for it.boolean isTypeInferred()
StaticTypedRef getDeclaration()
getDeclaration in interface StaticSlotStaticTypedScope getScope()
getScope in interface StaticSlotCopyright © 2009-2020 Google. All Rights Reserved.