Class ArrayLiteral

    • Method Detail

      • getItems

        public List<ExpressionNode> getItems()
        Returns an unmodifiable List containing the array's elements.
        Returns:
        an unmodifiable List
      • accept

        public <T> T accept​(NodeVisitor<T> visitor)
        Description copied from interface: ExpressionNode
        Accept a visitor to process this node.
        Specified by:
        accept in interface ExpressionNode
        Type Parameters:
        T - the type of the visitor
        Parameters:
        visitor - The visitor
        Returns:
        the node after it has been evaluated by the visitor