ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
SwitchStmt() |
SwitchStmt(Expression selector,
List<SwitchEntryStmt> entries) |
SwitchStmt(Range range,
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() |
SwitchStmt |
setEntries(List<SwitchEntryStmt> entries) |
SwitchStmt |
setSelector(Expression selector) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
public SwitchStmt()
public SwitchStmt(Expression selector, List<SwitchEntryStmt> entries)
public SwitchStmt(Range range, 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 SwitchStmt setEntries(List<SwitchEntryStmt> entries)
public SwitchStmt setSelector(Expression selector)
Copyright © 2007–2016. All rights reserved.