Class OneOrMore
java.lang.Object
EDU.purdue.jtb.parser.Expansion_
EDU.purdue.jtb.parser.OneOrMore
Describes one-or-more expansions (e.g., foo+).
-
Nested Class Summary
Nested classes/interfaces inherited from class Expansion_
Expansion_.EXP_TYPE -
Field Summary
FieldsModifier and TypeFieldDescriptionThe expansion which is repeated one or more times.Fields inherited from class Expansion_
EOL, inMinimumSize, myGeneration, nextGenerationIndex, parent -
Constructor Summary
ConstructorsConstructorDescriptionStandard constructorOneOrMore(Token t, Expansion_ e) Constructor with parameters. -
Method Summary
Methods inherited from class Expansion_
dumpPrefix, toString
-
Field Details
-
expansion
The expansion which is repeated one or more times.
-
-
Constructor Details
-
OneOrMore
public OneOrMore()Standard constructor -
OneOrMore
Constructor with parameters.- Parameters:
t- - the tokene- - the node
-
-
Method Details
-
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
-