File: /home/dmstechonline/whatsapp.dmstech.online/node_modules/php-parser/src/ast/usegroup.js
/**
* Copyright (C) 2018 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
"use strict";
const Statement = require("./statement");
const KIND = "usegroup";
/**
* Defines a use statement (with a list of use items)
* @constructor UseGroup
* @memberOf module:php-parser
* @extends {Statement}
* @property {string|null} name
* @property {string|null} type - Possible value : function, const
* @property {UseItem[]} item
* @see {Namespace}
* @see http://php.net/manual/en/language.namespaces.importing.php
*/
module.exports = Statement.extends(
KIND,
function UseGroup(name, type, items, docs, location) {
Statement.apply(this, [KIND, docs, location]);
this.name = name;
this.type = type;
this.items = items;
}
);