net.jangaroo.jooc.ast
Class ObjectLiteral
java.lang.Object
net.jangaroo.jooc.ast.NodeImplBase
net.jangaroo.jooc.ast.Expr
net.jangaroo.jooc.ast.ObjectLiteral
- All Implemented Interfaces:
- AstNode, CodeGenerator
public class ObjectLiteral
- extends Expr
- Author:
- Andreas Gawecki
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectLiteral
public ObjectLiteral(JooSymbol lBrace,
CommaSeparatedList<ObjectField> fields,
JooSymbol optComma,
JooSymbol rBrace)
- Parameters:
lBrace - the left bracefields - the object fieldsoptComma - null for the time being, Flex compc does not accept a trailing comma, contrary to array literals...rBrace - the right brace
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()
getLBrace
public JooSymbol getLBrace()
getFields
public CommaSeparatedList<ObjectField> getFields()
getOptComma
public JooSymbol getOptComma()
getRBrace
public JooSymbol getRBrace()
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.