public class JLocalRef extends JVariableRef
target
Constructor and Description |
---|
JLocalRef(SourceInfo info,
JLocal local) |
Modifier and Type | Method and Description |
---|---|
JLocal |
getLocal() |
boolean |
hasSideEffects() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
getTarget, getType
makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JLocalRef(SourceInfo info, JLocal local)
public JLocal getLocal()
public boolean hasSideEffects()
hasSideEffects
in class JExpression
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.