|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.javascript.rhino.jstype.ObjectType.Property
public static final class ObjectType.Property
| Method Summary | |
|---|---|
ObjectType.Property |
getDeclaration()
Gets the declaration of this symbol. |
JSDocInfo |
getJSDocInfo()
Gets the JSDoc for this slot. |
String |
getName()
Gets the name of the slot. |
Node |
getNode()
The node where the reference lives. |
StaticSourceFile |
getSourceFile()
The source file where the reference lives. |
ObjectType.Property |
getSymbol()
The variable that this reference points to. |
JSType |
getType()
Returns the type information, if any, for this slot. |
boolean |
isTypeInferred()
Returns whether the type has been inferred (as opposed to declared). |
void |
setNode(Node n)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getName()
StaticSlot
getName in interface StaticSlot<JSType>public Node getNode()
StaticReference
getNode in interface StaticReference<JSType>public StaticSourceFile getSourceFile()
StaticReference
getSourceFile in interface StaticReference<JSType>public ObjectType.Property getSymbol()
StaticReference
getSymbol in interface StaticReference<JSType>public ObjectType.Property getDeclaration()
StaticSlot
getDeclaration in interface StaticSlot<JSType>public JSType getType()
StaticSlot
getType in interface StaticSlot<JSType>null if no type is declared for it.public boolean isTypeInferred()
StaticSlot
isTypeInferred in interface StaticSlot<JSType>public JSDocInfo getJSDocInfo()
StaticSlot
getJSDocInfo in interface StaticSlot<JSType>public void setNode(Node n)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||