net.jangaroo.jooc.ast
Class ParenthesizedExpr<E extends Expr>

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Expr
          extended by net.jangaroo.jooc.ast.ParenthesizedExpr<E>
All Implemented Interfaces:
AstNode, CodeGenerator
Direct Known Subclasses:
ArrayLiteral

public class ParenthesizedExpr<E extends Expr>
extends Expr

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
ParenthesizedExpr(JooSymbol lParen, E expr, JooSymbol rParen)
           
 
Method Summary
 void analyze(AstNode parentNode)
           
 E getExpr()
           
 JooSymbol getLParen()
           
 JooSymbol getRParen()
           
 JooSymbol getSymbol()
           
 void scope(Scope scope)
           
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.Expr
getType, isCompileTimeConstant, setType
 
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

ParenthesizedExpr

public ParenthesizedExpr(JooSymbol lParen,
                         E expr,
                         JooSymbol rParen)
Method Detail

visit

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

scope

public void scope(Scope scope)

analyze

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

getSymbol

public JooSymbol getSymbol()

getLParen

public JooSymbol getLParen()

getExpr

public E getExpr()

getRParen

public JooSymbol getRParen()


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