public final class SwitchStmt extends Statement
Constructor and Description |
---|
SwitchStmt() |
SwitchStmt(Expression selector,
List<SwitchEntryStmt> entries) |
SwitchStmt(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression selector,
List<SwitchEntryStmt> entries) |
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.
|
List<SwitchEntryStmt> |
getEntries() |
Expression |
getSelector() |
void |
setEntries(List<SwitchEntryStmt> entries) |
void |
setSelector(Expression selector) |
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public SwitchStmt()
public SwitchStmt(Expression selector, List<SwitchEntryStmt> entries)
public SwitchStmt(int beginLine, int beginColumn, int endLine, int endColumn, Expression selector, List<SwitchEntryStmt> entries)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public List<SwitchEntryStmt> getEntries()
public Expression getSelector()
public void setEntries(List<SwitchEntryStmt> entries)
public void setSelector(Expression selector)