net.jangaroo.jooc.ast
Class TryStatement
java.lang.Object
net.jangaroo.jooc.ast.NodeImplBase
net.jangaroo.jooc.ast.Directive
net.jangaroo.jooc.ast.Statement
net.jangaroo.jooc.ast.KeywordStatement
net.jangaroo.jooc.ast.TryStatement
- All Implemented Interfaces:
- AstNode, CodeGenerator
public class TryStatement
- extends KeywordStatement
- Author:
- Andreas Gawecki
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TryStatement
public TryStatement(JooSymbol symTry,
BlockStatement block,
List<Catch> catches)
TryStatement
public TryStatement(JooSymbol symTry,
BlockStatement block,
List<Catch> catches,
JooSymbol symFinally,
BlockStatement finallyBlock)
visit
public void visit(AstVisitor visitor)
throws IOException
- Throws:
IOException
scope
public void scope(Scope scope)
analyze
public void analyze(AstNode parentNode)
- Specified by:
analyze in interface AstNode- Overrides:
analyze in class NodeImplBase
getBlock
public BlockStatement getBlock()
getCatches
public List<Catch> getCatches()
getSymFinally
public JooSymbol getSymFinally()
getFinallyBlock
public BlockStatement getFinallyBlock()
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.