Class TryStatement
java.lang.Object
org.jparsec.examples.common.ValueObject
org.jparsec.examples.java.ast.statement.TryStatement
- All Implemented Interfaces:
Statement
Represents the "try-catch-finally" statement.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List
<TryStatement.CatchBlock> final BlockStatement
final BlockStatement
-
Constructor Summary
ConstructorsConstructorDescriptionTryStatement
(BlockStatement tryBlock, List<TryStatement.CatchBlock> catchBlocks, BlockStatement finallyBlock) -
Method Summary
Methods inherited from class org.jparsec.examples.common.ValueObject
equals, hashCode
-
Field Details
-
tryBlock
-
catchBlocks
-
finallyBlock
-
-
Constructor Details
-
TryStatement
public TryStatement(BlockStatement tryBlock, List<TryStatement.CatchBlock> catchBlocks, BlockStatement finallyBlock)
-
-
Method Details
-
toString
- Overrides:
toString
in classValueObject
-