Abstract Stack Array

Creates an array by reading entries from the stack.

Examples

@push("foo");
@push(2);
@push(null);

var obj = @stackArray(3);
// [
//   "foo",
//   2,
//   null,
// ]

Syntax

Syntax
AbstractStackArray :
   @stackArray Trivia? ( Trivia? AssignmentExpression Trivia? )

Abstract type

TODO

{
  type: "AbstractStackArray";
  size: Expression;
}