net.jangaroo.jooc.ast
Class Catch

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Directive
          extended by net.jangaroo.jooc.ast.Statement
              extended by net.jangaroo.jooc.ast.KeywordStatement
                  extended by net.jangaroo.jooc.ast.Catch
All Implemented Interfaces:
AstNode

public class Catch
extends KeywordStatement

Author:
Andreas Gawecki, Frank Wienberg

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
Catch(JooSymbol symCatch, JooSymbol lParen, Parameter param, JooSymbol rParen, BlockStatement block)
           
 
Method Summary
 void analyze(AstNode parentNode)
           
 BlockStatement getBlock()
           
 List<? extends AstNode> getChildren()
           
 JooSymbol getLParen()
           
 Parameter getParam()
           
 TryStatement getParentTryStatement()
           
 JooSymbol getRParen()
           
 boolean hasCondition()
           
 void scope(Scope scope)
           
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.KeywordStatement
getSymbol, getSymKeyword
 
Methods inherited from class net.jangaroo.jooc.ast.Directive
isClassMember, isStatic, setClassMember
 
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, getParentNode, makeChildren, scope, withNewDeclarationScope, withNewLabelScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Catch

public Catch(JooSymbol symCatch,
             JooSymbol lParen,
             Parameter param,
             JooSymbol rParen,
             BlockStatement block)
Method Detail

getChildren

public List<? extends AstNode> getChildren()
Specified by:
getChildren in interface AstNode
Overrides:
getChildren in class NodeImplBase

visit

public void visit(AstVisitor visitor)
           throws IOException
Throws:
IOException

getParentTryStatement

public TryStatement getParentTryStatement()

getLParen

public JooSymbol getLParen()

getParam

public Parameter getParam()

getRParen

public JooSymbol getRParen()

getBlock

public BlockStatement getBlock()

hasCondition

public boolean hasCondition()

scope

public void scope(Scope scope)

analyze

public void analyze(AstNode parentNode)
Specified by:
analyze in interface AstNode
Overrides:
analyze in class NodeImplBase


Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.