Documentation

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
int

getOperands()

Operands is the list of operands.

public getOperands() : RepeatedField

Generated from protobuf field repeated .exprml.v1.Expr operands = 2 [json_name = "operands"];

Return values
RepeatedField

setOp()

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
$this

setOperands()

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
Return values
$this

        
On this page

Search results