OpVariadic
extends Message
in package
OpVariadic is an OpVariadic expression.
Generated from protobuf message exprml.v1.OpVariadic
Table of Contents
Methods
- __construct() : mixed
- Constructor.
- getOp() : int
- Op is the operator.
- getOperands() : RepeatedField
- Operands is the list of operands.
- setOp() : $this
- Op is the operator.
- setOperands() : $this
- Operands is the list of operands.
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type int $op Op is the operator. @type array<\Exprml\PB\Exprml\V1\Expr>|\Google\Protobuf\Internal\RepeatedField $operands Operands is the list of operands.
}
getOp()
Op is the operator.
public
getOp() : int
Generated from protobuf field .exprml.v1.OpVariadic.Op op = 1 [json_name = "op"];
Return values
intgetOperands()
Operands is the list of operands.
public
getOperands() : RepeatedField
Generated from protobuf field repeated .exprml.v1.Expr operands = 2 [json_name = "operands"];
Return values
RepeatedFieldsetOp()
Op is the operator.
public
setOp(int $var) : $this
Generated from protobuf field .exprml.v1.OpVariadic.Op op = 1 [json_name = "op"];
Parameters
- $var : int
Return values
$thissetOperands()
Operands is the list of operands.
public
setOperands(array<string|int, Expr>|RepeatedField $var) : $this
Generated from protobuf field repeated .exprml.v1.Expr operands = 2 [json_name = "operands"];
Parameters
- $var : array<string|int, Expr>|RepeatedField