/*!
* Copyright (C) 2017 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
var fn = require('./function');
var KIND = 'method';
/**
* Defines a class/interface/trait method
* @constructor Method
* @extends {Function}
* @property {boolean} isAbstract
* @property {boolean} isFinal
* @property {boolean} isStatic
* @property {string} visibility
*/
var Method = fn.extends(function Method() {
fn.apply(this, arguments);
this.kind = KIND;
});
module.exports = Method;
|