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>
27 lines
732 B
JavaScript
Executable File
27 lines
732 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 Expression = require("./expression");
|
|
const KIND = "matcharm";
|
|
|
|
/**
|
|
* An array entry - see [Array](#array)
|
|
* @memberOf module:php-parser
|
|
* @constructor MatchArm
|
|
* @extends {Expression}
|
|
* @property {Expression[]|null} conds The match condition expression list - null indicates default arm
|
|
* @property {Expression} body The return value expression
|
|
*/
|
|
module.exports = Expression.extends(
|
|
KIND,
|
|
function MatchArm(conds, body, docs, location) {
|
|
Expression.apply(this, [KIND, docs, location]);
|
|
this.conds = conds;
|
|
this.body = body;
|
|
},
|
|
);
|