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>
27 lines
642 B
JavaScript
27 lines
642 B
JavaScript
/**
|
|
* 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 = "case";
|
|
|
|
/**
|
|
* A switch case statement
|
|
* @constructor Case
|
|
* @memberOf module:php-parser
|
|
* @extends {Statement}
|
|
* @property {Expression|null} test - if null, means that the default case
|
|
* @property {Block|null} body
|
|
*/
|
|
module.exports = Statement.extends(
|
|
KIND,
|
|
function Case(test, body, docs, location) {
|
|
Statement.apply(this, [KIND, docs, location]);
|
|
this.test = test;
|
|
this.body = body;
|
|
},
|
|
);
|