NodeImplBase.Scoped| Constructor and Description |
|---|
ObjectLiteral(JooSymbol lBrace,
CommaSeparatedList<ObjectField> fields,
JooSymbol optComma,
JooSymbol rBrace) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(AstNode parentNode) |
List<? extends AstNode> |
getChildren() |
CommaSeparatedList<ObjectField> |
getFields() |
JooSymbol |
getLBrace() |
JooSymbol |
getOptComma() |
JooSymbol |
getRBrace() |
JooSymbol |
getSymbol() |
boolean |
isStandAloneConstant()
Whether this expression denotes a stand-alone constant, that is, a constant
that can be derived without looking at other classes.
|
void |
scope(Scope scope) |
void |
visit(AstVisitor visitor) |
getType, isCompileTimeConstant, isRuntimeConstant, setTypeanalyze, getParentNode, makeChildren, scope, withNewDeclarationScope, withNewLabelScopepublic ObjectLiteral(JooSymbol lBrace, CommaSeparatedList<ObjectField> fields, JooSymbol optComma, JooSymbol rBrace)
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 bracepublic List<? extends AstNode> getChildren()
getChildren in interface AstNodegetChildren in class NodeImplBasepublic void visit(AstVisitor visitor) throws IOException
IOExceptionpublic void scope(Scope scope)
public void analyze(AstNode parentNode)
analyze in interface AstNodeanalyze in class NodeImplBasepublic boolean isStandAloneConstant()
ExprisStandAloneConstant in class Exprpublic JooSymbol getSymbol()
public JooSymbol getLBrace()
public CommaSeparatedList<ObjectField> getFields()
public JooSymbol getOptComma()
public JooSymbol getRBrace()
Copyright © 2002–2020 CoreMedia AG. All rights reserved.