php-parser
Version:
Parse PHP code from JS and returns its AST
24 lines (21 loc) • 544 B
JavaScript
/**
* Copyright (C) 2018 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
;
const Statement = require("./statement");
const KIND = "unset";
/**
* Deletes references to a list of variables
* @constructor Unset
* @memberOf module:php-parser
* @extends {Statement}
*/
module.exports = Statement.extends(
KIND,
function Unset(variables, docs, location) {
Statement.apply(this, [KIND, docs, location]);
this.variables = variables;
},
);