net.jangaroo.jooc.ast
Class ArrayIndexExpr

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Expr
          extended by net.jangaroo.jooc.ast.ArrayIndexExpr
All Implemented Interfaces:
AstNode, CodeGenerator

public class ArrayIndexExpr
extends Expr

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
ArrayIndexExpr(Expr array, JooSymbol lBrac, Expr index, JooSymbol rBrac)
           
 
Method Summary
 void analyze(AstNode parentNode)
           
 Expr getArray()
           
 ParenthesizedExpr<Expr> getIndexExpr()
           
 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

ArrayIndexExpr

public ArrayIndexExpr(Expr array,
                      JooSymbol lBrac,
                      Expr index,
                      JooSymbol rBrac)
Method Detail

visit

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

scope

public void scope(Scope scope)

getSymbol

public JooSymbol getSymbol()

getArray

public Expr getArray()

getIndexExpr

public ParenthesizedExpr<Expr> getIndexExpr()

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.