public class JsonArray extends JExpression
Constructor and Description |
---|
JsonArray(SourceInfo sourceInfo,
JClassType jsoType) |
Modifier and Type | Method and Description |
---|---|
void |
addExprs(List<JExpression> exprs) |
List<JExpression> |
getExprs() |
JClassType |
getType()
Returns the type of this expression.
|
boolean |
hasSideEffects() |
void |
resolve(JClassType jsoType)
Resolve an external references during AST stitching.
|
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JsonArray(SourceInfo sourceInfo, JClassType jsoType)
public List<JExpression> getExprs()
public void addExprs(List<JExpression> exprs)
public JClassType getType()
HasType
public boolean hasSideEffects()
hasSideEffects
in class JExpression
public void resolve(JClassType jsoType)
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.