org.codehaus.jparsec.examples.java.ast.statement
Class TryStatement

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.statement.TryStatement
All Implemented Interfaces:
Statement

public final class TryStatement
extends ValueObject
implements Statement

Represents the "try-catch-finally" statement.

Author:
Ben Yu

Nested Class Summary
static class TryStatement.CatchBlock
           
 
Field Summary
 List<TryStatement.CatchBlock> catchBlocks
           
 BlockStatement finallyBlock
           
 BlockStatement tryBlock
           
 
Constructor Summary
TryStatement(BlockStatement tryBlock, List<TryStatement.CatchBlock> catchBlocks, BlockStatement finallyBlock)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.codehaus.jparsec.examples.common.ValueObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

tryBlock

public final BlockStatement tryBlock

catchBlocks

public final List<TryStatement.CatchBlock> catchBlocks

finallyBlock

public final BlockStatement finallyBlock
Constructor Detail

TryStatement

public TryStatement(BlockStatement tryBlock,
                    List<TryStatement.CatchBlock> catchBlocks,
                    BlockStatement finallyBlock)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.