Struct gapi_grpc::google::api::expr::v1alpha1::CheckedExpr [−][src]
A CEL expression which has been successfully type checked.
Fields
reference_map: HashMap<i64, Reference>
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 byselect(select(id(a), b), c)
, anda.b
resolves to a declaration, whilec
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, ifa
resolves to a declaration andb.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.
type_map: HashMap<i64, Type>
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.
source_info: Option<SourceInfo>
The source info derived from input that generated the parsed expr
and
any optimizations made during the type-checking pass.
expr: Option<Expr>
The checked expression. Semantically equivalent to the parsed expr
, but
may have structural differences.
Trait Implementations
impl Clone for CheckedExpr
[src][+]
impl Debug for CheckedExpr
[src][+]
impl Default for CheckedExpr
[src][+]
impl Message for CheckedExpr
[src][+]
impl PartialEq<CheckedExpr> for CheckedExpr
[src][+]
impl StructuralPartialEq for CheckedExpr
[src]
Auto Trait Implementations
impl RefUnwindSafe for CheckedExpr
impl Send for CheckedExpr
impl Sync for CheckedExpr
impl Unpin for CheckedExpr
impl UnwindSafe for CheckedExpr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,