OpBinary
extends Message
in package
OpBinary is an OpBinary expression.
Generated from protobuf message exprml.v1.OpBinary
Table of Contents
Methods
- __construct() : mixed
- Constructor.
- clearLeft() : mixed
- clearRight() : mixed
- getLeft() : Expr|null
- Left is the left operand.
- getOp() : int
- Op is the operator.
- getRight() : Expr|null
- Right is the right operand.
- hasLeft() : mixed
- hasRight() : mixed
- setLeft() : $this
- Left is the left operand.
- setOp() : $this
- Op is the operator.
- setRight() : $this
- Right is the right operand.
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 \Exprml\PB\Exprml\V1\Expr $left Left is the left operand. @type \Exprml\PB\Exprml\V1\Expr $right Right is the right operand.
}
clearLeft()
public
clearLeft() : mixed
clearRight()
public
clearRight() : mixed
getLeft()
Left is the left operand.
public
getLeft() : Expr|null
Generated from protobuf field .exprml.v1.Expr left = 2 [json_name = "left"];
Return values
Expr|nullgetOp()
Op is the operator.
public
getOp() : int
Generated from protobuf field .exprml.v1.OpBinary.Op op = 1 [json_name = "op"];
Return values
intgetRight()
Right is the right operand.
public
getRight() : Expr|null
Generated from protobuf field .exprml.v1.Expr right = 3 [json_name = "right"];
Return values
Expr|nullhasLeft()
public
hasLeft() : mixed
hasRight()
public
hasRight() : mixed
setLeft()
Left is the left operand.
public
setLeft(Expr $var) : $this
Generated from protobuf field .exprml.v1.Expr left = 2 [json_name = "left"];
Parameters
- $var : Expr
Return values
$thissetOp()
Op is the operator.
public
setOp(int $var) : $this
Generated from protobuf field .exprml.v1.OpBinary.Op op = 1 [json_name = "op"];
Parameters
- $var : int
Return values
$thissetRight()
Right is the right operand.
public
setRight(Expr $var) : $this
Generated from protobuf field .exprml.v1.Expr right = 3 [json_name = "right"];
Parameters
- $var : Expr