Package EDU.purdue.jtb.parser
Class ZeroOrMore
java.lang.Object
EDU.purdue.jtb.parser.Expansion_
EDU.purdue.jtb.parser.ZeroOrMore
Describes zero-or-more expansions (e.g., foo*).
-
Nested Class Summary
Nested classes/interfaces inherited from class EDU.purdue.jtb.parser.Expansion_
Expansion_.EXP_TYPE
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe expansion which is repeated zero or more times.Fields inherited from class EDU.purdue.jtb.parser.Expansion_
EOL, inMinimumSize, myGeneration, nextGenerationIndex, parent
-
Constructor Summary
ConstructorsConstructorDescriptionStandard constructorZeroOrMore
(Token token, Expansion_ exp) Constructor with parameters -
Method Summary
Methods inherited from class EDU.purdue.jtb.parser.Expansion_
dumpPrefix, toString
-
Field Details
-
expansion
The expansion which is repeated zero or more times.
-
-
Constructor Details
-
ZeroOrMore
public ZeroOrMore()Standard constructor -
ZeroOrMore
Constructor with parameters- Parameters:
token
- - the tokenexp
- - the node
-
-
Method Details
-
dump
- Overrides:
dump
in classExpansion_
- Parameters:
indent
- - the number of spaces for indentingalreadyDumped
- - a Set of objects already dumped (unused)- Returns:
- the formatted string dumping the class
-