public class TryStatement extends KeywordStatement
NodeImplBase.Scoped| Constructor and Description |
|---|
TryStatement(JooSymbol symTry,
BlockStatement block,
List<Catch> catches) |
TryStatement(JooSymbol symTry,
BlockStatement block,
List<Catch> catches,
JooSymbol symFinally,
BlockStatement finallyBlock) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(AstNode parentNode) |
BlockStatement |
getBlock() |
List<Catch> |
getCatches() |
List<? extends AstNode> |
getChildren() |
BlockStatement |
getFinallyBlock() |
JooSymbol |
getSymFinally() |
void |
scope(Scope scope) |
void |
visit(AstVisitor visitor) |
getSymbol, getSymKeywordisClassMember, isStatic, setClassMemberanalyze, getParentNode, makeChildren, withNewDeclarationScope, withNewLabelScopepublic TryStatement(JooSymbol symTry, BlockStatement block, List<Catch> catches)
public TryStatement(JooSymbol symTry, BlockStatement block, List<Catch> catches, JooSymbol symFinally, BlockStatement finallyBlock)
public List<? extends AstNode> getChildren()
getChildren in interface AstNodegetChildren in class NodeImplBasepublic void visit(AstVisitor visitor) throws IOException
IOExceptionpublic void scope(Scope scope)
public void analyze(AstNode parentNode)
public BlockStatement getBlock()
public JooSymbol getSymFinally()
public BlockStatement getFinallyBlock()
Copyright © 2002–2016 CoreMedia AG. All rights reserved.