public class JDeclarationStatement extends JStatement
Modifier and Type | Field and Description |
---|---|
JExpression |
initializer |
Constructor and Description |
---|
JDeclarationStatement(SourceInfo info,
JVariableRef variableRef,
JExpression intializer) |
Modifier and Type | Method and Description |
---|---|
JExpression |
getInitializer() |
JVariableRef |
getVariableRef() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
unconditionalControlBreak
getSourceInfo, setSourceInfo, toSource, toString
public JExpression initializer
public JDeclarationStatement(SourceInfo info, JVariableRef variableRef, JExpression intializer)
public JExpression getInitializer()
public JVariableRef getVariableRef()
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.