public final class VariableDeclarator extends Node
Constructor and Description |
---|
VariableDeclarator() |
VariableDeclarator(int beginLine,
int beginColumn,
int endLine,
int endColumn,
VariableDeclaratorId id,
Expression init) |
VariableDeclarator(VariableDeclaratorId id) |
VariableDeclarator(VariableDeclaratorId id,
Expression init) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
VariableDeclaratorId |
getId() |
Expression |
getInit() |
void |
setId(VariableDeclaratorId id) |
void |
setInit(Expression init) |
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public VariableDeclarator()
public VariableDeclarator(VariableDeclaratorId id)
public VariableDeclarator(VariableDeclaratorId id, Expression init)
public VariableDeclarator(int beginLine, int beginColumn, int endLine, int endColumn, VariableDeclaratorId id, Expression init)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public VariableDeclaratorId getId()
public Expression getInit()
public void setId(VariableDeclaratorId id)
public void setInit(Expression init)