public final class ArrayLiteral extends java.lang.Object implements ExpressionNode
| Constructor and Description | 
|---|
ArrayLiteral(java.util.List<ExpressionNode> items)
Creates an array from a list of  
ExpressionNode elements. | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
accept(NodeVisitor<T> visitor)
Accept a visitor to process this node. 
 | 
java.util.List<ExpressionNode> | 
getItems()
Returns an unmodifiable  
List containing the array's elements. | 
public ArrayLiteral(java.util.List<ExpressionNode> items)
ExpressionNode elements.items - the list of ExpressionNode elementspublic java.util.List<ExpressionNode> getItems()
List containing the array's elements.Listpublic <T> T accept(NodeVisitor<T> visitor)
ExpressionNodeaccept in interface ExpressionNodeT - the type of the visitorvisitor - The visitor"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"