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()
StaticTypedRef
getSymbol
in interface StaticTypedRef<JSType>
getSymbol
in interface StaticRef
public final Node getNode()
StaticRef
public final StaticSourceFile getSourceFile()
StaticRef
getSourceFile
in interface StaticRef
Copyright © 2009–2023 Google. All rights reserved.