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()
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>
Copyright © 2009–2015 Google. All rights reserved.