mz_compute_types::plan::interpret

Type Alias Context

Source
pub type Context<Domain> = InterpreterContext<Domain>;
Expand description

TODO(database-issues#7533): Add documentation.

Aliased Type§

struct Context<Domain> {
    pub bindings: BTreeMap<LocalId, ContextEntry<Domain>>,
    pub is_rec: bool,
}

Fields§

§bindings: BTreeMap<LocalId, ContextEntry<Domain>>

The bindings currently in the context.

§is_rec: bool

Is the context recursive (i.e., is one of our ancestors a LetRec binding) or not.

Trait Implementations

Source§

impl<Domain: Debug> Debug for InterpreterContext<Domain>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<Domain> Default for InterpreterContext<Domain>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more