CheckedExpr
class CheckedExpr extends Message
A CEL expression which has been successfully type checked.
Generated from protobuf message google.api.expr.v1alpha1.CheckedExpr
Methods
Constructor.
A map from expression ids to resolved references.
A map from expression ids to resolved references.
A map from expression ids to types.
A map from expression ids to types.
The source info derived from input that generated the parsed expr
and
any optimizations made during the type-checking pass.
The source info derived from input that generated the parsed expr
and
any optimizations made during the type-checking pass.
The checked expression. Semantically equivalent to the parsed expr
, but
may have structural differences.
Details
at line 93
__construct(array $data = NULL)
Constructor.
at line 116
MapField
getReferenceMap()
A map from expression ids to resolved references.
The following entries are in this table:
- An Ident or Select expression is represented here if it resolves to a
declaration. For instance, if a.b.c
is represented by
select(select(id(a), b), c)
, and a.b
resolves to a declaration,
while c
is a field selection, then the reference is attached to the
nested select expression (but not to the id or or the outer select).
In turn, if a
resolves to a declaration and b.c
are field selections,
the reference is attached to the ident expression.
- Every Call expression has an entry here, identifying the function being
called.
- Every CreateStruct expression for a message has an entry, identifying
the message.
Generated from protobuf field map<int64, .google.api.expr.v1alpha1.Reference> reference_map = 2;
at line 140
$this
setReferenceMap(array|MapField $var)
A map from expression ids to resolved references.
The following entries are in this table:
- An Ident or Select expression is represented here if it resolves to a
declaration. For instance, if a.b.c
is represented by
select(select(id(a), b), c)
, and a.b
resolves to a declaration,
while c
is a field selection, then the reference is attached to the
nested select expression (but not to the id or or the outer select).
In turn, if a
resolves to a declaration and b.c
are field selections,
the reference is attached to the ident expression.
- Every Call expression has an entry here, identifying the function being
called.
- Every CreateStruct expression for a message has an entry, identifying
the message.
Generated from protobuf field map<int64, .google.api.expr.v1alpha1.Reference> reference_map = 2;
at line 157
MapField
getTypeMap()
A map from expression ids to types.
Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
Generated from protobuf field map<int64, .google.api.expr.v1alpha1.Type> type_map = 3;
at line 172
$this
setTypeMap(array|MapField $var)
A map from expression ids to types.
Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
Generated from protobuf field map<int64, .google.api.expr.v1alpha1.Type> type_map = 3;
at line 187
SourceInfo
getSourceInfo()
The source info derived from input that generated the parsed expr
and
any optimizations made during the type-checking pass.
Generated from protobuf field .google.api.expr.v1alpha1.SourceInfo source_info = 5;
at line 200
$this
setSourceInfo(SourceInfo $var)
The source info derived from input that generated the parsed expr
and
any optimizations made during the type-checking pass.
Generated from protobuf field .google.api.expr.v1alpha1.SourceInfo source_info = 5;
at line 215
Expr
getExpr()
The checked expression. Semantically equivalent to the parsed expr
, but
may have structural differences.
Generated from protobuf field .google.api.expr.v1alpha1.Expr expr = 4;
at line 228
$this
setExpr(Expr $var)
The checked expression. Semantically equivalent to the parsed expr
, but
may have structural differences.
Generated from protobuf field .google.api.expr.v1alpha1.Expr expr = 4;