Files
rspade_system/node_modules/php-parser/src/ast/staticvariable.js
root f6fac6c4bc Fix bin/publish: copy docs.dist from project root
Fix bin/publish: use correct .env path for rspade_system
Fix bin/publish script: prevent grep exit code 1 from terminating script

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 02:08:33 +00:00

27 lines
665 B
JavaScript
Executable File

/**
* Copyright (C) 2018 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
"use strict";
const Node = require("./node");
const KIND = "staticvariable";
/**
* Defines a constant
* @constructor StaticVariable
* @memberOf module:php-parser
* @extends {Node}
* @property {Variable} variable
* @property {Node|string|number|boolean|null} defaultValue
*/
module.exports = Node.extends(
KIND,
function StaticVariable(variable, defaultValue, docs, location) {
Node.apply(this, [KIND, docs, location]);
this.variable = variable;
this.defaultValue = defaultValue;
},
);