Expr
extends Message
in package
Generated from protobuf message <code>exprml.v1.Expr</code>
Table of Contents
Methods
- __construct() : mixed
- Constructor.
- clearArr() : mixed
- clearCall() : mixed
- clearCases() : mixed
- clearElem() : mixed
- clearEval() : mixed
- clearIter() : mixed
- clearJson() : mixed
- clearObj() : mixed
- clearOpBinary() : mixed
- clearOpUnary() : mixed
- clearOpVariadic() : mixed
- clearPath() : mixed
- clearRef() : mixed
- clearScalar() : mixed
- clearValue() : mixed
- getArr() : Arr|null
- Arr is an Arr Expr.
- getCall() : Call|null
- Call is a Call Expr.
- getCases() : Cases|null
- Cases is a Cases Expr.
- getElem() : Elem|null
- Elem is an Elem Expr.
- getEval() : PBEval|null
- Eval is an Eval Expr.
- getIter() : Iter|null
- Iter is an Iter Expr.
- getJson() : Json|null
- Json is a Json Expr.
- getKind() : int
- Kind is the kind of the Expr.
- getObj() : Obj|null
- Obj is an Obj Expr.
- getOpBinary() : OpBinary|null
- OpBinary is an OpBinary Expr.
- getOpUnary() : OpUnary|null
- OpUnary is an OpUnary Expr.
- getOpVariadic() : OpVariadic|null
- OpVariadic is an OpVariadic Expr.
- getPath() : Path|null
- Path is the path to the Node.
- getRef() : Ref|null
- Ref is a Ref Expr.
- getScalar() : Scalar|null
- Scalar is a Scalar Expr.
- getValue() : Value|null
- Value is the JSON value of the Node.
- hasArr() : mixed
- hasCall() : mixed
- hasCases() : mixed
- hasElem() : mixed
- hasEval() : mixed
- hasIter() : mixed
- hasJson() : mixed
- hasObj() : mixed
- hasOpBinary() : mixed
- hasOpUnary() : mixed
- hasOpVariadic() : mixed
- hasPath() : mixed
- hasRef() : mixed
- hasScalar() : mixed
- hasValue() : mixed
- setArr() : $this
- Arr is an Arr Expr.
- setCall() : $this
- Call is a Call Expr.
- setCases() : $this
- Cases is a Cases Expr.
- setElem() : $this
- Elem is an Elem Expr.
- setEval() : $this
- Eval is an Eval Expr.
- setIter() : $this
- Iter is an Iter Expr.
- setJson() : $this
- Json is a Json Expr.
- setKind() : $this
- Kind is the kind of the Expr.
- setObj() : $this
- Obj is an Obj Expr.
- setOpBinary() : $this
- OpBinary is an OpBinary Expr.
- setOpUnary() : $this
- OpUnary is an OpUnary Expr.
- setOpVariadic() : $this
- OpVariadic is an OpVariadic Expr.
- setPath() : $this
- Path is the path to the Node.
- setRef() : $this
- Ref is a Ref Expr.
- setScalar() : $this
- Scalar is a Scalar Expr.
- setValue() : $this
- Value is the JSON value of the Node.
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 \Exprml\PB\Exprml\V1\Expr\Path $path Path is the path to the Node. @type \Exprml\PB\Exprml\V1\Value $value Value is the JSON value of the Node. @type int $kind Kind is the kind of the Expr. @type \Exprml\PB\Exprml\V1\PBEval $eval Eval is an Eval Expr. @type \Exprml\PB\Exprml\V1\Scalar $scalar Scalar is a Scalar Expr. @type \Exprml\PB\Exprml\V1\Ref $ref Ref is a Ref Expr. @type \Exprml\PB\Exprml\V1\Obj $obj Obj is an Obj Expr. @type \Exprml\PB\Exprml\V1\Arr $arr Arr is an Arr Expr. @type \Exprml\PB\Exprml\V1\Json $json Json is a Json Expr. @type \Exprml\PB\Exprml\V1\Iter $iter Iter is an Iter Expr. @type \Exprml\PB\Exprml\V1\Elem $elem Elem is an Elem Expr. @type \Exprml\PB\Exprml\V1\Call $call Call is a Call Expr. @type \Exprml\PB\Exprml\V1\Cases $cases Cases is a Cases Expr. @type \Exprml\PB\Exprml\V1\OpUnary $op_unary OpUnary is an OpUnary Expr. @type \Exprml\PB\Exprml\V1\OpBinary $op_binary OpBinary is an OpBinary Expr. @type \Exprml\PB\Exprml\V1\OpVariadic $op_variadic OpVariadic is an OpVariadic Expr.
}
clearArr()
public
clearArr() : mixed
clearCall()
public
clearCall() : mixed
clearCases()
public
clearCases() : mixed
clearElem()
public
clearElem() : mixed
clearEval()
public
clearEval() : mixed
clearIter()
public
clearIter() : mixed
clearJson()
public
clearJson() : mixed
clearObj()
public
clearObj() : mixed
clearOpBinary()
public
clearOpBinary() : mixed
clearOpUnary()
public
clearOpUnary() : mixed
clearOpVariadic()
public
clearOpVariadic() : mixed
clearPath()
public
clearPath() : mixed
clearRef()
public
clearRef() : mixed
clearScalar()
public
clearScalar() : mixed
clearValue()
public
clearValue() : mixed
getArr()
Arr is an Arr Expr.
public
getArr() : Arr|null
Generated from protobuf field .exprml.v1.Arr arr = 14 [json_name = "arr"];
Return values
Arr|nullgetCall()
Call is a Call Expr.
public
getCall() : Call|null
Generated from protobuf field .exprml.v1.Call call = 18 [json_name = "call"];
Return values
Call|nullgetCases()
Cases is a Cases Expr.
public
getCases() : Cases|null
Generated from protobuf field .exprml.v1.Cases cases = 19 [json_name = "cases"];
Return values
Cases|nullgetElem()
Elem is an Elem Expr.
public
getElem() : Elem|null
Generated from protobuf field .exprml.v1.Elem elem = 17 [json_name = "elem"];
Return values
Elem|nullgetEval()
Eval is an Eval Expr.
public
getEval() : PBEval|null
Generated from protobuf field .exprml.v1.Eval eval = 10 [json_name = "eval"];
Return values
PBEval|nullgetIter()
Iter is an Iter Expr.
public
getIter() : Iter|null
Generated from protobuf field .exprml.v1.Iter iter = 16 [json_name = "iter"];
Return values
Iter|nullgetJson()
Json is a Json Expr.
public
getJson() : Json|null
Generated from protobuf field .exprml.v1.Json json = 15 [json_name = "json"];
Return values
Json|nullgetKind()
Kind is the kind of the Expr.
public
getKind() : int
Generated from protobuf field .exprml.v1.Expr.Kind kind = 3 [json_name = "kind"];
Return values
intgetObj()
Obj is an Obj Expr.
public
getObj() : Obj|null
Generated from protobuf field .exprml.v1.Obj obj = 13 [json_name = "obj"];
Return values
Obj|nullgetOpBinary()
OpBinary is an OpBinary Expr.
public
getOpBinary() : OpBinary|null
Generated from protobuf field .exprml.v1.OpBinary op_binary = 21 [json_name = "opBinary"];
Return values
OpBinary|nullgetOpUnary()
OpUnary is an OpUnary Expr.
public
getOpUnary() : OpUnary|null
Generated from protobuf field .exprml.v1.OpUnary op_unary = 20 [json_name = "opUnary"];
Return values
OpUnary|nullgetOpVariadic()
OpVariadic is an OpVariadic Expr.
public
getOpVariadic() : OpVariadic|null
Generated from protobuf field .exprml.v1.OpVariadic op_variadic = 22 [json_name = "opVariadic"];
Return values
OpVariadic|nullgetPath()
Path is the path to the Node.
public
getPath() : Path|null
Generated from protobuf field .exprml.v1.Expr.Path path = 1 [json_name = "path"];
Return values
Path|nullgetRef()
Ref is a Ref Expr.
public
getRef() : Ref|null
Generated from protobuf field .exprml.v1.Ref ref = 12 [json_name = "ref"];
Return values
Ref|nullgetScalar()
Scalar is a Scalar Expr.
public
getScalar() : Scalar|null
Generated from protobuf field .exprml.v1.Scalar scalar = 11 [json_name = "scalar"];
Return values
Scalar|nullgetValue()
Value is the JSON value of the Node.
public
getValue() : Value|null
Generated from protobuf field .exprml.v1.Value value = 2 [json_name = "value"];
Return values
Value|nullhasArr()
public
hasArr() : mixed
hasCall()
public
hasCall() : mixed
hasCases()
public
hasCases() : mixed
hasElem()
public
hasElem() : mixed
hasEval()
public
hasEval() : mixed
hasIter()
public
hasIter() : mixed
hasJson()
public
hasJson() : mixed
hasObj()
public
hasObj() : mixed
hasOpBinary()
public
hasOpBinary() : mixed
hasOpUnary()
public
hasOpUnary() : mixed
hasOpVariadic()
public
hasOpVariadic() : mixed
hasPath()
public
hasPath() : mixed
hasRef()
public
hasRef() : mixed
hasScalar()
public
hasScalar() : mixed
hasValue()
public
hasValue() : mixed
setArr()
Arr is an Arr Expr.
public
setArr(Arr $var) : $this
Generated from protobuf field .exprml.v1.Arr arr = 14 [json_name = "arr"];
Parameters
- $var : Arr
Return values
$thissetCall()
Call is a Call Expr.
public
setCall(Call $var) : $this
Generated from protobuf field .exprml.v1.Call call = 18 [json_name = "call"];
Parameters
- $var : Call
Return values
$thissetCases()
Cases is a Cases Expr.
public
setCases(Cases $var) : $this
Generated from protobuf field .exprml.v1.Cases cases = 19 [json_name = "cases"];
Parameters
- $var : Cases
Return values
$thissetElem()
Elem is an Elem Expr.
public
setElem(Elem $var) : $this
Generated from protobuf field .exprml.v1.Elem elem = 17 [json_name = "elem"];
Parameters
- $var : Elem
Return values
$thissetEval()
Eval is an Eval Expr.
public
setEval(PBEval $var) : $this
Generated from protobuf field .exprml.v1.Eval eval = 10 [json_name = "eval"];
Parameters
- $var : PBEval
Return values
$thissetIter()
Iter is an Iter Expr.
public
setIter(Iter $var) : $this
Generated from protobuf field .exprml.v1.Iter iter = 16 [json_name = "iter"];
Parameters
- $var : Iter
Return values
$thissetJson()
Json is a Json Expr.
public
setJson(Json $var) : $this
Generated from protobuf field .exprml.v1.Json json = 15 [json_name = "json"];
Parameters
- $var : Json
Return values
$thissetKind()
Kind is the kind of the Expr.
public
setKind(int $var) : $this
Generated from protobuf field .exprml.v1.Expr.Kind kind = 3 [json_name = "kind"];
Parameters
- $var : int
Return values
$thissetObj()
Obj is an Obj Expr.
public
setObj(Obj $var) : $this
Generated from protobuf field .exprml.v1.Obj obj = 13 [json_name = "obj"];
Parameters
- $var : Obj
Return values
$thissetOpBinary()
OpBinary is an OpBinary Expr.
public
setOpBinary(OpBinary $var) : $this
Generated from protobuf field .exprml.v1.OpBinary op_binary = 21 [json_name = "opBinary"];
Parameters
- $var : OpBinary
Return values
$thissetOpUnary()
OpUnary is an OpUnary Expr.
public
setOpUnary(OpUnary $var) : $this
Generated from protobuf field .exprml.v1.OpUnary op_unary = 20 [json_name = "opUnary"];
Parameters
- $var : OpUnary
Return values
$thissetOpVariadic()
OpVariadic is an OpVariadic Expr.
public
setOpVariadic(OpVariadic $var) : $this
Generated from protobuf field .exprml.v1.OpVariadic op_variadic = 22 [json_name = "opVariadic"];
Parameters
- $var : OpVariadic
Return values
$thissetPath()
Path is the path to the Node.
public
setPath(Path $var) : $this
Generated from protobuf field .exprml.v1.Expr.Path path = 1 [json_name = "path"];
Parameters
- $var : Path
Return values
$thissetRef()
Ref is a Ref Expr.
public
setRef(Ref $var) : $this
Generated from protobuf field .exprml.v1.Ref ref = 12 [json_name = "ref"];
Parameters
- $var : Ref
Return values
$thissetScalar()
Scalar is a Scalar Expr.
public
setScalar(Scalar $var) : $this
Generated from protobuf field .exprml.v1.Scalar scalar = 11 [json_name = "scalar"];
Parameters
- $var : Scalar
Return values
$thissetValue()
Value is the JSON value of the Node.
public
setValue(Value $var) : $this
Generated from protobuf field .exprml.v1.Value value = 2 [json_name = "value"];
Parameters
- $var : Value