Abstract Stack Object

Creates an object by reading entries from the stack.

Examples

@push("foo");
@push(1);
@push("bar");
@push(3);

var obj = @stackObject(2);
// {
//   "foo": 1,
//   "bar": 3
// }

Syntax

Syntax
AbstractStackObject :
   @stackObject Trivia? ( Trivia? AssignmentExpression Trivia? )

Abstract type

TODO

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