public final class SwitchStatement extends ValueObject implements Statement
Modifier and Type | Field and Description |
---|---|
List<Pair<Expression,Statement>> |
cases |
Expression |
condition |
Statement |
defaultCase |
Constructor and Description |
---|
SwitchStatement(Expression condition,
List<Pair<Expression,Statement>> cases,
Statement defaultCase) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
equals, hashCode
public final Expression condition
public final List<Pair<Expression,Statement>> cases
public final Statement defaultCase
public SwitchStatement(Expression condition, List<Pair<Expression,Statement>> cases, Statement defaultCase)
public String toString()
toString
in class ValueObject
Copyright © 2013–2016 jparsec. All rights reserved.