public final class Reference extends java.lang.Object implements StaticRef, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
InputId |
getInputId() |
Node |
getNode()
The node where the reference lives.
|
StaticSourceFile |
getSourceFile()
The source file where the reference lives.
|
Var |
getSymbol()
The variable that this reference points to.
|
boolean |
isConstDeclaration() |
boolean |
isInitializingDeclaration()
Determines whether the variable is initialized at the declaration.
|
boolean |
isLvalue()
Returns whether the name node for this reference is an lvalue.
|
boolean |
isSimpleAssignmentToName() |
boolean |
isVarDeclaration() |
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public Var getSymbol()
StaticRef
public Node getNode()
StaticRef
public InputId getInputId()
public StaticSourceFile getSourceFile()
StaticRef
getSourceFile
in interface StaticRef
public boolean isVarDeclaration()
public boolean isConstDeclaration()
public boolean isInitializingDeclaration()
public boolean isSimpleAssignmentToName()
public boolean isLvalue()
Copyright © 2009-2018 Google. All Rights Reserved.