/*!
* Copyright (C) 2017 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
var Expr = require('./expression');
var KIND = 'array';
/**
* Defines an array structure
* @constructor Array
* @extends {Expression}
* @property {Entry[]} items
* @property {boolean} shortForm
*/
var Array = Expr.extends(function Array(shortForm, items, location) {
Expr.apply(this, [KIND, location]);
this.items = items;
this.shortForm = shortForm;
});
module.exports = Array;
|