Interface SwitchStatement
- All Superinterfaces:
StatementTree,Tree
- All Known Implementing Classes:
CSwitchStatement
Swtich statement.
-
Method Summary
Methods inherited from interface io.github.potjerodekool.nabu.tree.Tree
getColumnNumber, getLineNumber, getType, setType
-
Method Details
-
getSelector
ExpressionTree getSelector()- Returns:
- Return the expression where there is switched on.
-
getCases
List<CaseStatement> getCases()- Returns:
- Returns the cases of the switch.
-
builder
SwitchStatementBuilder builder()- Specified by:
builderin interfaceStatementTree
-