Package EDU.purdue.jtb.parser
Class Sequence
java.lang.Object
EDU.purdue.jtb.parser.Expansion_
EDU.purdue.jtb.parser.Sequence
Describes expansions that are sequences of expansion units. (c1 c2 ...)
-
Nested Class Summary
Nested classes/interfaces inherited from class EDU.purdue.jtb.parser.Expansion_
Expansion_.EXP_TYPE
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of units in this expansion sequence.Fields inherited from class EDU.purdue.jtb.parser.Expansion_
EOL, inMinimumSize, myGeneration, nextGenerationIndex, parent
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class EDU.purdue.jtb.parser.Expansion_
dumpPrefix, toString
-
Field Details
-
units
The list of units in this expansion sequence. Each List component will narrow to Expansion_.
-
-
Constructor Details
-
Sequence
public Sequence()Standard constructor -
Sequence
Constructor with parameters- Parameters:
token
- - the tokenlookahead
- - the lookahead
-
-
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
-