public class TypedVar extends AbstractVar<TypedScope,TypedVar> implements StaticTypedSlot<JSType>, StaticTypedRef<JSType>
AbstractVar subclass for use with TypedScope.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getInputName() |
JSType |
getType()
Gets this variable's type.
|
boolean |
isTypeInferred()
Returns whether this variable's type is inferred.
|
java.lang.String |
toString() |
declarationType, equals, getDeclaration, getInitialValue, getJSDocInfo, getName, getNameNode, getNode, getParentNode, getScope, getSourceFile, getSymbol, hashCode, isArguments, isBleedingFunction, isDefaultParam, isDefine, isGlobal, isInferredConst, isLocalclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclarationgetJSDocInfo, getNamegetSymbolgetNode, getSourceFilepublic JSType getType()
#isTypeInferred().getType in interface StaticTypedSlot<JSType>null if no type is declared for it.public boolean isTypeInferred()
getType().isTypeInferred in interface StaticTypedSlot<JSType>public java.lang.String getInputName()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2018 Google. All Rights Reserved.