public class SimpleReference<T extends StaticTypedSlot<JSType>> extends 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.
|
String |
toString() |
public final T getSymbol()
StaticTypedRefgetSymbol in interface StaticTypedRef<JSType>getSymbol in interface StaticRefpublic final Node getNode()
StaticRefpublic final StaticSourceFile getSourceFile()
StaticRefgetSourceFile in interface StaticRefCopyright © 2009-2016 Google. All Rights Reserved.