public class SimpleReference<T extends StaticTypedSlot<JSType>> extends java.lang.Object implements StaticTypedRef<JSType>
Constructor and Description |
---|
SimpleReference(T symbol,
Node node) |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
toString() |
private final T extends StaticTypedSlot<JSType> symbol
private final Node node
public final T getSymbol()
StaticTypedRef
getSymbol
in interface StaticTypedRef<JSType>
getSymbol
in interface StaticRef
public final Node getNode()
StaticRef
public final StaticSourceFile getSourceFile()
StaticRef
getSourceFile
in interface StaticRef
public java.lang.String toString()
toString
in class java.lang.Object