Class SimpleReference<T extends StaticTypedSlot>
java.lang.Object
com.google.javascript.rhino.jstype.SimpleReference<T>
- All Implemented Interfaces:
StaticTypedRef,StaticRef
- Direct Known Subclasses:
SymbolTable.Reference
A simple immutable reference.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal NodegetNode()The node where the reference lives.final StaticSourceFileThe source file where the reference lives.final TThe variable that this reference points to.toString()
-
Constructor Details
-
SimpleReference
-
-
Method Details
-
getSymbol
Description copied from interface:StaticTypedRefThe variable that this reference points to.- Specified by:
getSymbolin interfaceStaticRef- Specified by:
getSymbolin interfaceStaticTypedRef
-
getNode
Description copied from interface:StaticRefThe node where the reference lives. -
getSourceFile
Description copied from interface:StaticRefThe source file where the reference lives.- Specified by:
getSourceFilein interfaceStaticRef
-
toString
-