Package EDU.purdue.jtb.parser
Class TryBlock
java.lang.Object
EDU.purdue.jtb.parser.Expansion_
EDU.purdue.jtb.parser.TryBlock
Describes expansions of the form "try {...} ...".
-
Nested Class Summary
Nested classes/interfaces inherited from class EDU.purdue.jtb.parser.Expansion_
Expansion_.EXP_TYPE
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe block part of each catch block.The expansion contained within the try block.The block part of the finally block.The exception identifiers of each catch block.The types of each catch block.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
-
exp
The expansion contained within the try block. -
types
The types of each catch block. Each list entry is itself a list which in turn contains tokens as entries. -
ids
The exception identifiers of each catch block. Each list entry is a token. -
catchblks
The block part of each catch block. Each list entry is itself a list which in turn contains tokens as entries. -
finallyblk
The block part of the finally block. Each list entry is a token. If there is no finally block, this is null.
-
-
Constructor Details
-
TryBlock
public TryBlock()Standard constructor
-
-
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
-