pub struct Elaborator;
Expand description
An elaborator.
Elaboration is the process of transforming notation (as declared in notebook-types) into syntax and values. This can possibly fail. Eventually, this struct may have some role to play in accumulating errors, but for now it is a singleton.
Trait Implementations§
Source§impl CanElaborate<Mor, ModalMor> for Elaborator
Elaborates into a morphism in a model of a modal theory.
impl CanElaborate<Mor, ModalMor> for Elaborator
Elaborates into a morphism in a model of a modal theory.
Source§impl CanElaborate<Mor, Path<QualifiedName, QualifiedName>> for Elaborator
Elaborates into a morphism in a model of a discrete double theory.
impl CanElaborate<Mor, Path<QualifiedName, QualifiedName>> for Elaborator
Elaborates into a morphism in a model of a discrete double theory.
Source§impl CanElaborate<Mor, Path<TabOb, TabEdge>> for Elaborator
Elaborates into a morphism in a model of a discrete tabulator theory.
impl CanElaborate<Mor, Path<TabOb, TabEdge>> for Elaborator
Elaborates into a morphism in a model of a discrete tabulator theory.
Source§impl CanElaborate<Mor, TabEdge> for Elaborator
impl CanElaborate<Mor, TabEdge> for Elaborator
Source§impl CanElaborate<MorType, Path<QualifiedName, QualifiedName>> for Elaborator
Elaborates into morphism type in a discrete double theory.
impl CanElaborate<MorType, Path<QualifiedName, QualifiedName>> for Elaborator
Elaborates into morphism type in a discrete double theory.
Source§impl CanElaborate<MorType, ShortPath<ModeApp<QualifiedName>, ModeApp<QualifiedName>>> for Elaborator
Elaborates into morphism type in a modal double theory.
impl CanElaborate<MorType, ShortPath<ModeApp<QualifiedName>, ModeApp<QualifiedName>>> for Elaborator
Elaborates into morphism type in a modal double theory.
Source§impl CanElaborate<MorType, TabMorType> for Elaborator
Elaborates into morphism type in a discrete tabulator theory.
impl CanElaborate<MorType, TabMorType> for Elaborator
Elaborates into morphism type in a discrete tabulator theory.
Source§impl CanElaborate<Ob, ModalOb> for Elaborator
Elaborates into an object in a model of a modal theory.
impl CanElaborate<Ob, ModalOb> for Elaborator
Elaborates into an object in a model of a modal theory.
Source§impl CanElaborate<Ob, QualifiedName> for Elaborator
Elaborates into an object in a model of a discrete double theory.
impl CanElaborate<Ob, QualifiedName> for Elaborator
Elaborates into an object in a model of a discrete double theory.
Source§impl CanElaborate<Ob, TabOb> for Elaborator
Elaborates into an object in a model of a discrete tabulator theory.
impl CanElaborate<Ob, TabOb> for Elaborator
Elaborates into an object in a model of a discrete tabulator theory.
Source§impl CanElaborate<ObOp, Path<ModeApp<QualifiedName>, ModeApp<ModalOp>>> for Elaborator
Elaborates into an object operation in a modal double theory.
impl CanElaborate<ObOp, Path<ModeApp<QualifiedName>, ModeApp<ModalOp>>> for Elaborator
Elaborates into an object operation in a modal double theory.
Source§impl CanElaborate<ObOp, Path<TabObType, TabObProj>> for Elaborator
Elaborates into object operation in a discrete tabulator theory.
impl CanElaborate<ObOp, Path<TabObType, TabObProj>> for Elaborator
Elaborates into object operation in a discrete tabulator theory.
Source§impl CanElaborate<ObOp, QualifiedName> for Elaborator
Elaborates into object operation in a discrete double theory.
impl CanElaborate<ObOp, QualifiedName> for Elaborator
Elaborates into object operation in a discrete double theory.
Source§impl CanElaborate<ObType, ModeApp<QualifiedName>> for Elaborator
Elaborates into object type in a modal double theory.
impl CanElaborate<ObType, ModeApp<QualifiedName>> for Elaborator
Elaborates into object type in a modal double theory.
Source§impl CanElaborate<ObType, QualifiedName> for Elaborator
Elaborates into object type in a discrete double theory.
impl CanElaborate<ObType, QualifiedName> for Elaborator
Elaborates into object type in a discrete double theory.
Auto Trait Implementations§
impl Freeze for Elaborator
impl RefUnwindSafe for Elaborator
impl Send for Elaborator
impl Sync for Elaborator
impl Unpin for Elaborator
impl UnwindSafe for Elaborator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.