Files
rspade_system/node_modules/php-parser/src/ast/trait.js
root bd5809fdbd Reorganize RSpade directory structure for clarity
Improve Jqhtml_Integration.js documentation with hydration system explanation
Add jqhtml-laravel integration packages for traditional Laravel projects

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 09:41:48 +00:00

25 lines
562 B
JavaScript

/**
* Copyright (C) 2018 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
"use strict";
const Declaration = require("./declaration");
const KIND = "trait";
/**
* A trait definition
* @constructor Trait
* @memberOf module:php-parser
* @extends {Declaration}
* @property {Declaration[]} body
*/
module.exports = Declaration.extends(
KIND,
function Trait(name, body, docs, location) {
Declaration.apply(this, [KIND, name, docs, location]);
this.body = body;
},
);