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>
25 lines
562 B
JavaScript
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;
|
|
},
|
|
);
|