Class SwitchStatement
java.lang.Object
org.jparsec.examples.common.ValueObject
org.jparsec.examples.java.ast.statement.SwitchStatement
- All Implemented Interfaces:
Statement
Represents the "switch case" expression.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List
<Pair<Expression, Statement>> final Expression
final Statement
-
Constructor Summary
ConstructorsConstructorDescriptionSwitchStatement
(Expression condition, List<Pair<Expression, Statement>> cases, Statement defaultCase) -
Method Summary
Methods inherited from class org.jparsec.examples.common.ValueObject
equals, hashCode
-
Field Details
-
condition
-
cases
-
defaultCase
-
-
Constructor Details
-
SwitchStatement
public SwitchStatement(Expression condition, List<Pair<Expression, Statement>> cases, Statement defaultCase)
-
-
Method Details
-
toString
- Overrides:
toString
in classValueObject
-