net.jangaroo.jooc.ast
Class KeywordExprStatement

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
All Implemented Interfaces:
AstNode, CodeGenerator
Direct Known Subclasses:
LabelRefStatement, ReturnStatement, ThrowStatement

public abstract class KeywordExprStatement
extends SemicolonTerminatedStatement

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
protected KeywordExprStatement(JooSymbol symKeyword, Expr optExpr, JooSymbol symSemicolon)
           
 
Method Summary
 JooSymbol getSymbol()
           
 JooSymbol getSymKeyword()
           
 
Methods inherited from class net.jangaroo.jooc.ast.SemicolonTerminatedStatement
analyze, getOptStatement, getOptSymSemicolon, scope, setOptStatement, setOptSymSemicolon, visit
 
Methods inherited from class net.jangaroo.jooc.ast.Directive
isClassMember, isStatic, setClassMember
 
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, generate, scope, withNewDeclarationScope, withNewLabelScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeywordExprStatement

protected KeywordExprStatement(JooSymbol symKeyword,
                               Expr optExpr,
                               JooSymbol symSemicolon)
Method Detail

getSymbol

public JooSymbol getSymbol()
Specified by:
getSymbol in interface AstNode
Overrides:
getSymbol in class SemicolonTerminatedStatement

getSymKeyword

public JooSymbol getSymKeyword()


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