Package net.jangaroo.jooc.ast
Class ArrayLiteral
- java.lang.Object
-
- net.jangaroo.jooc.ast.NodeImplBase
-
- net.jangaroo.jooc.ast.Expr
-
- net.jangaroo.jooc.ast.ParenthesizedExpr<CommaSeparatedList<Expr>>
-
- 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
-
-
Field Summary
-
Fields inherited from class net.jangaroo.jooc.ast.NodeImplBase
usesInstanceThis
-
-
Constructor Summary
Constructors Constructor Description ArrayLiteral(JooSymbol lBracket, CommaSeparatedList<Expr> fields, JooSymbol rBracket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanalyze(AstNode parentNode)voidscope(Scope scope)voidvisit(AstVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.ast.ParenthesizedExpr
getChildren, getExpr, getLParen, getRParen, getSymbol, isStandAloneConstant
-
Methods inherited from class net.jangaroo.jooc.ast.Expr
getType, isCompileTimeConstant, isOfAS3Type, isRuntimeConstant, setType
-
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, getParentNode, isAssignmentLHS, makeChildren, notifyInstanceThisUsed, propagateInstanceThisUsed, scope, usesInstanceThis, withNewDeclarationScope, withNewLabelScope
-
-
-
-
Constructor Detail
-
ArrayLiteral
public ArrayLiteral(JooSymbol lBracket, CommaSeparatedList<Expr> fields, JooSymbol rBracket)
-
-
Method Detail
-
scope
public void scope(Scope scope)
- Specified by:
scopein interfaceAstNode- Overrides:
scopein classParenthesizedExpr<CommaSeparatedList<Expr>>
-
analyze
public void analyze(AstNode parentNode)
- Specified by:
analyzein interfaceAstNode- Overrides:
analyzein classParenthesizedExpr<CommaSeparatedList<Expr>>
-
visit
public void visit(AstVisitor visitor) throws IOException
- Specified by:
visitin interfaceAstNode- Overrides:
visitin classParenthesizedExpr<CommaSeparatedList<Expr>>- Throws:
IOException
-
-