Package org.javacc.parser
Class RChoice
- java.lang.Object
-
- org.javacc.parser.Expansion
-
- org.javacc.parser.RegularExpression
-
- org.javacc.parser.RChoice
-
public class RChoice extends RegularExpression
Describes regular expressions which are choices from from among included regular expressions.
-
-
Field Summary
-
Fields inherited from class org.javacc.parser.RegularExpression
label, lhsTokens, private_rexp, rhsToken, tpContext
-
Fields inherited from class org.javacc.parser.Expansion
eol, inMinimumSize, myGeneration, nextGenerationIndex, parent
-
-
Constructor Summary
Constructors Constructor Description RChoice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
CheckUnmatchability()
Nfa
GenerateNfa(boolean ignoreCase)
java.util.List
getChoices()
void
setChoices(java.util.List choices)
-
Methods inherited from class org.javacc.parser.RegularExpression
CanMatchAnyChar, dump
-
Methods inherited from class org.javacc.parser.Expansion
dumpPrefix, getProductionName, hashCode, reInit, toString
-
-
-
-
Method Detail
-
setChoices
public void setChoices(java.util.List choices)
- Parameters:
choices
- the choices to set
-
getChoices
public java.util.List getChoices()
- Returns:
- the choices
-
GenerateNfa
public Nfa GenerateNfa(boolean ignoreCase)
- Specified by:
GenerateNfa
in classRegularExpression
-
CheckUnmatchability
public void CheckUnmatchability()
-
-