Package org.apache.commons.jexl3.parser
Class ASTSwitchStatement.Helper
java.lang.Object
org.apache.commons.jexl3.parser.ASTSwitchStatement.Helper
- Enclosing class:
- ASTSwitchStatement
Helper for switch statements.
It detects duplicates cases and default.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voiddefineCase(JexlParser.SwitchSet switchSet) (package private) voiddefineSwitch(ASTSwitchStatement statement)
-
Field Details
-
switchIndex
private int switchIndex -
defaultDefined
private boolean defaultDefined -
dispatch
-
-
Constructor Details
-
Helper
public Helper()
-
-
Method Details
-
defineCase
- Throws:
ParseException
-
defineSwitch
-