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, scope, 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)
analyze in interface AstNodeanalyze in class NodeImplBasepublic BlockStatement getBlock()
public JooSymbol getSymFinally()
public BlockStatement getFinallyBlock()
Copyright © 2002–2019 CoreMedia AG. All rights reserved.