class ParsedExpr extends Message

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

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

Methods

__construct(array $data = NULL)

Constructor.

getExpr()

The parsed expression.

$this
setExpr(Expr $var)

The parsed expression.

getSourceInfo()

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

$this
setSourceInfo(SourceInfo $var)

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

string
getSyntaxVersion()

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

$this
setSyntaxVersion(string $var)

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

Details

at line 51
__construct(array $data = NULL)

Constructor.

Parameters

array $data { 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`.

}

at line 62
Expr getExpr()

The parsed expression.

Generated from protobuf field .google.api.expr.v1beta1.Expr expr = 2;

Return Value

Expr

at line 74
$this setExpr(Expr $var)

The parsed expression.

Generated from protobuf field .google.api.expr.v1beta1.Expr expr = 2;

Parameters

Expr $var

Return Value

$this

at line 88
SourceInfo getSourceInfo()

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

Generated from protobuf field .google.api.expr.v1beta1.SourceInfo source_info = 3;

Return Value

SourceInfo

at line 100
$this setSourceInfo(SourceInfo $var)

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

Generated from protobuf field .google.api.expr.v1beta1.SourceInfo source_info = 3;

Parameters

SourceInfo $var

Return Value

$this

at line 114
string getSyntaxVersion()

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

Generated from protobuf field string syntax_version = 4;

Return Value

string

at line 126
$this setSyntaxVersion(string $var)

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

Generated from protobuf field string syntax_version = 4;

Parameters

string $var

Return Value

$this