Package com.google.javascript.rhino
Interface StaticRef
- All Known Subinterfaces:
StaticTypedRef
- All Known Implementing Classes:
AbstractVar
,Property
,Reference
,SimpleReference
,SymbolTable.Reference
,TypedVar
,Var
public interface StaticRef
The
StaticRef
tells us all the ways that a StaticSlot
is used in a program.-
Method Summary
Modifier and TypeMethodDescriptiongetNode()
The node where the reference lives.The source file where the reference lives.The variable that this reference points to.
-
Method Details
-
getSymbol
StaticSlot getSymbol()The variable that this reference points to. -
getNode
Node getNode()The node where the reference lives. -
getSourceFile
StaticSourceFile getSourceFile()The source file where the reference lives.
-