net.jangaroo.jooc.ast
Class ArrayLiteral

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Expr
          extended by net.jangaroo.jooc.ast.ParenthesizedExpr<CommaSeparatedList<Expr>>
              extended by net.jangaroo.jooc.ast.ArrayLiteral
All Implemented Interfaces:
AstNode

public class ArrayLiteral
extends ParenthesizedExpr<CommaSeparatedList<Expr>>

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
ArrayLiteral(JooSymbol lBracket, CommaSeparatedList<Expr> fields, JooSymbol rBracket)
           
 
Method Summary
 void scope(Scope scope)
           
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.ParenthesizedExpr
analyze, getChildren, getExpr, getLParen, getRParen, getSymbol
 
Methods inherited from class net.jangaroo.jooc.ast.Expr
getType, isCompileTimeConstant, isRuntimeConstant, setType
 
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

ArrayLiteral

public ArrayLiteral(JooSymbol lBracket,
                    CommaSeparatedList<Expr> fields,
                    JooSymbol rBracket)
Method Detail

scope

public void scope(Scope scope)
Specified by:
scope in interface AstNode
Overrides:
scope in class ParenthesizedExpr<CommaSeparatedList<Expr>>

visit

public void visit(AstVisitor visitor)
           throws IOException
Specified by:
visit in interface AstNode
Overrides:
visit in class ParenthesizedExpr<CommaSeparatedList<Expr>>
Throws:
IOException


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