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>
29 lines
639 B
JavaScript
Executable File
29 lines
639 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 = "cast";
|
|
|
|
/**
|
|
* Binary operations
|
|
* @constructor Cast
|
|
* @memberOf module:php-parser
|
|
* @extends {Operation}
|
|
* @property {String} type
|
|
* @property {String} raw
|
|
* @property {Expression} expr
|
|
*/
|
|
module.exports = Operation.extends(
|
|
KIND,
|
|
function Cast(type, raw, expr, docs, location) {
|
|
Operation.apply(this, [KIND, docs, location]);
|
|
this.type = type;
|
|
this.raw = raw;
|
|
this.expr = expr;
|
|
},
|
|
);
|