1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 1 1 1 49 49 49 1 | /*! * Copyright (C) 2017 Glayzzle (BSD3 License) * @authors https://github.com/glayzzle/php-parser/graphs/contributors * @url http://glayzzle.com */ var Node = require('./node'); var KIND = 'entry'; /** * An array entry * @constructor Entry * @extends {Node} * @property {Node|null} key * @property {Node} value */ var Entry = Node.extends(function Entry(key, value, location) { Node.apply(this, [KIND, location]); this.key = key; this.value = value; }); module.exports = Entry; |