Documentation

ParsedExpr extends Message
in package

An expression together with source information as returned by the parser.

Generated from protobuf message google.api.expr.v1beta1.ParsedExpr

Table of Contents

Properties

$expr  : mixed
The parsed expression.
$source_info  : mixed
The source info derived from input that generated the parsed `expr`.
$syntax_version  : mixed
The syntax version of the source, e.g. `cel1`.

Methods

__construct()  : mixed
Constructor.
clearExpr()  : mixed
clearSourceInfo()  : mixed
getExpr()  : Expr|null
The parsed expression.
getSourceInfo()  : SourceInfo|null
The source info derived from input that generated the parsed `expr`.
getSyntaxVersion()  : string
The syntax version of the source, e.g. `cel1`.
hasExpr()  : mixed
hasSourceInfo()  : mixed
setExpr()  : $this
The parsed expression.
setSourceInfo()  : $this
The source info derived from input that generated the parsed `expr`.
setSyntaxVersion()  : $this
The syntax version of the source, e.g. `cel1`.

Properties

$expr

The parsed expression.

protected mixed $expr = null

Generated from protobuf field .google.api.expr.v1beta1.Expr expr = 2 [json_name = "expr"];

$source_info

The source info derived from input that generated the parsed `expr`.

protected mixed $source_info = null

Generated from protobuf field .google.api.expr.v1beta1.SourceInfo source_info = 3 [json_name = "sourceInfo"];

$syntax_version

The syntax version of the source, e.g. `cel1`.

protected mixed $syntax_version = ''

Generated from protobuf field string syntax_version = 4 [json_name = "syntaxVersion"];

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 \Google\Api\Expr\V1beta1\Expr $expr
      The parsed expression.
@type \Google\Api\Expr\V1beta1\SourceInfo $source_info
      The source info derived from input that generated the parsed `expr`.
@type string $syntax_version
      The syntax version of the source, e.g. `cel1`.

}

clearSourceInfo()

public clearSourceInfo() : mixed

getExpr()

The parsed expression.

public getExpr() : Expr|null

Generated from protobuf field .google.api.expr.v1beta1.Expr expr = 2 [json_name = "expr"];

Return values
Expr|null

getSourceInfo()

The source info derived from input that generated the parsed `expr`.

public getSourceInfo() : SourceInfo|null

Generated from protobuf field .google.api.expr.v1beta1.SourceInfo source_info = 3 [json_name = "sourceInfo"];

Return values
SourceInfo|null

getSyntaxVersion()

The syntax version of the source, e.g. `cel1`.

public getSyntaxVersion() : string

Generated from protobuf field string syntax_version = 4 [json_name = "syntaxVersion"];

Return values
string

setExpr()

The parsed expression.

public setExpr(Expr $var) : $this

Generated from protobuf field .google.api.expr.v1beta1.Expr expr = 2 [json_name = "expr"];

Parameters
$var : Expr
Return values
$this

setSourceInfo()

The source info derived from input that generated the parsed `expr`.

public setSourceInfo(SourceInfo $var) : $this

Generated from protobuf field .google.api.expr.v1beta1.SourceInfo source_info = 3 [json_name = "sourceInfo"];

Parameters
$var : SourceInfo
Return values
$this

setSyntaxVersion()

The syntax version of the source, e.g. `cel1`.

public setSyntaxVersion(string $var) : $this

Generated from protobuf field string syntax_version = 4 [json_name = "syntaxVersion"];

Parameters
$var : string
Return values
$this

        
On this page

Search results