Package EDU.purdue.jtb.parser
Class RChoice
- java.lang.Object
-
- EDU.purdue.jtb.parser.Expansion_
-
- EDU.purdue.jtb.parser.RegularExpression_
-
- EDU.purdue.jtb.parser.RChoice
-
public class RChoice extends RegularExpression_
Describes regular expressions which are choices from from among included regular expressions.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class EDU.purdue.jtb.parser.Expansion_
Expansion_.EXP_TYPE
-
-
Field Summary
-
Fields inherited from class EDU.purdue.jtb.parser.RegularExpression_
label, lhsTokens, private_rexp, rhsToken, tpContext
-
Fields inherited from class EDU.purdue.jtb.parser.Expansion_
EOL, inMinimumSize, myGeneration, nextGenerationIndex, parent
-
-
Constructor Summary
Constructors Constructor Description RChoice()
Standard constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
CheckUnmatchability()
Checks whether Regular Expression Choices can be matched.java.util.List<RegularExpression_>
getChoices()
void
setChoices(java.util.List<RegularExpression_> ch)
-
Methods inherited from class EDU.purdue.jtb.parser.RegularExpression_
CanMatchAnyChar, dump
-
Methods inherited from class EDU.purdue.jtb.parser.Expansion_
dumpPrefix, toString
-
-
-
-
Method Detail
-
setChoices
public final void setChoices(java.util.List<RegularExpression_> ch)
- Parameters:
ch
- - the choices to set
-
getChoices
public final java.util.List<RegularExpression_> getChoices()
- Returns:
- the choices
-
CheckUnmatchability
public void CheckUnmatchability()
Checks whether Regular Expression Choices can be matched.
-
-