public class SimpleReference<T extends StaticSlot<JSType>> extends Object implements StaticReference<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.
|
String |
toString() |
public final T getSymbol()
StaticReferencegetSymbol in interface StaticReference<JSType>public final Node getNode()
StaticReferencegetNode in interface StaticReference<JSType>public final StaticSourceFile getSourceFile()
StaticReferencegetSourceFile in interface StaticReference<JSType>Copyright © 2009-2014 Google. All Rights Reserved.