net.jangaroo.jooc.ast
Class ReturnStatement

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.SemicolonTerminatedStatement
                  extended by net.jangaroo.jooc.ast.KeywordExprStatement
                      extended by net.jangaroo.jooc.ast.ReturnStatement
All Implemented Interfaces:
AstNode

public class ReturnStatement
extends KeywordExprStatement

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
ReturnStatement(JooSymbol symReturn, Expr optExpr, JooSymbol symSemicolon)
           
 
Method Summary
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.KeywordExprStatement
getSymbol, getSymKeyword
 
Methods inherited from class net.jangaroo.jooc.ast.SemicolonTerminatedStatement
analyze, getChildren, getOptStatement, getOptSymSemicolon, scope, setOptStatement, setOptSymSemicolon
 
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

ReturnStatement

public ReturnStatement(JooSymbol symReturn,
                       Expr optExpr,
                       JooSymbol symSemicolon)
Method Detail

visit

public void visit(AstVisitor visitor)
           throws IOException
Specified by:
visit in interface AstNode
Overrides:
visit in class SemicolonTerminatedStatement
Throws:
IOException


Copyright © 2002–2014 CoreMedia AG. All rights reserved.