|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.javascript.rhino.jstype.SimpleReference<T>
public class SimpleReference<T extends StaticSlot<JSType>>
A simple immutable reference.
| Constructor Summary | |
|---|---|
SimpleReference(T symbol,
Node node)
|
|
| Method Summary | |
|---|---|
Node |
getNode()
The node where the reference lives. |
StaticSourceFile |
getSourceFile()
The source file where the reference lives. |
T |
getSymbol()
The variable that this reference points to. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleReference(T symbol,
Node node)
| Method Detail |
|---|
public final T getSymbol()
StaticReference
getSymbol in interface StaticReference<JSType>public final Node getNode()
StaticReference
getNode in interface StaticReference<JSType>public final StaticSourceFile getSourceFile()
StaticReference
getSourceFile in interface StaticReference<JSType>public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||