Package net.jangaroo.jooc.ast
Class 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
-
-
Field Summary
-
Fields inherited from class net.jangaroo.jooc.ast.NodeImplBase
usesInstanceThis
-
-
Constructor Summary
Constructors Constructor Description ReturnStatement(JooSymbol symReturn, Expr optExpr, JooSymbol symSemicolon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisit(AstVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.ast.KeywordExprStatement
getOptExpr, 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, isAssignmentLHS, makeChildren, notifyInstanceThisUsed, propagateInstanceThisUsed, scope, usesInstanceThis, withNewDeclarationScope, withNewLabelScope
-
-
-
-
Method Detail
-
visit
public void visit(AstVisitor visitor) throws IOException
- Specified by:
visitin interfaceAstNode- Overrides:
visitin classSemicolonTerminatedStatement- Throws:
IOException
-
-