Files
rspade_system/node_modules/php-parser/src/ast/pre.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
606 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 Operation = require("./operation");
const KIND = "pre";
/**
* Defines a pre operation `++$i` or `--$i`
* @constructor Pre
* @memberOf module:php-parser
* @extends {Operation}
* @property {String} type
* @property {Variable} what
*/
module.exports = Operation.extends(
KIND,
function Pre(type, what, docs, location) {
Operation.apply(this, [KIND, docs, location]);
this.type = type;
this.what = what;
},
);