Class Choice
java.lang.Object
EDU.purdue.jtb.parser.Expansion_
EDU.purdue.jtb.parser.Choice
Describes expansions where one of many choices is taken (c1 | c2 | ...).
-
Nested Class Summary
Nested classes/interfaces inherited from class Expansion_
Expansion_.EXP_TYPE -
Field Summary
Fields inherited from class Expansion_
EOL, inMinimumSize, myGeneration, nextGenerationIndex, parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal List<Expansion_> final voidsetChoices(List<Expansion_> ch) Methods inherited from class Expansion_
dumpPrefix, toString
-
Constructor Details
-
Choice
public Choice()Standard constructor -
Choice
-
Choice
- Parameters:
expansion- - theExpansion_
-
-
Method Details
-
setChoices
- Parameters:
ch- - the choices to set
-
getChoices
- Returns:
- the choices
-
dump
- Overrides:
dumpin classExpansion_- Parameters:
indent- - the number of spaces for indentingalreadyDumped- - a Set of objects already dumped (unused)- Returns:
- the formatted string dumping the class
-