Package com.sun.msv.grammar
Class ChoiceExp
java.lang.Object
com.sun.msv.grammar.Expression
com.sun.msv.grammar.BinaryExp
com.sun.msv.grammar.ChoiceExp
- All Implemented Interfaces:
Serializable
A|B.
- Author:
- Kohsuke KAWAGUCHI
- See Also:
-
Field Summary
Fields inherited from class com.sun.msv.grammar.Expression
anyString, epsilon, nullSet, verifierTag
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
computes epsilon reducibilityvisit
(ExpressionVisitor visitor) boolean
visit
(ExpressionVisitorBoolean visitor) visit
(ExpressionVisitorExpression visitor) void
visit
(ExpressionVisitorVoid visitor) Methods inherited from class com.sun.msv.grammar.BinaryExp
calcHashCode, children, equals, getChildren
Methods inherited from class com.sun.msv.grammar.Expression
getExpandedExp, hashCode, hashCode, hashCode, isEpsilonReducible, peelOccurence, readResolve, visit, visit, visit, visit
-
Method Details
-
visit
- Specified by:
visit
in classExpression
-
visit
- Specified by:
visit
in classExpression
-
visit
- Specified by:
visit
in classExpression
-
visit
- Specified by:
visit
in classExpression
-
calcEpsilonReducibility
protected boolean calcEpsilonReducibility()Description copied from class:Expression
computes epsilon reducibility- Specified by:
calcEpsilonReducibility
in classExpression
-