struct SexpParseCtxt<'a> {
local_var_env: &'a mut LocalVarEnv,
fun_decl_map: &'a HashMap<usize, FluxDefId>,
}Fields§
§local_var_env: &'a mut LocalVarEnv§fun_decl_map: &'a HashMap<usize, FluxDefId>Implementations§
Source§impl<'a> SexpParseCtxt<'a>
impl<'a> SexpParseCtxt<'a>
Trait Implementations§
Source§impl FromSexp<FixpointTypes> for SexpParseCtxt<'_>
impl FromSexp<FixpointTypes> for SexpParseCtxt<'_>
fn fresh_var(&mut self) -> Var
fn kvar(&self, name: &str) -> Result<KVid, ParseError>
fn string(&self, s: &str) -> Result<SymStr, ParseError>
fn var(&self, name: &str) -> Result<Var, ParseError>
fn sort(&self, name: &str) -> Result<DataSort, ParseError>
fn into_wrapper(self) -> FromSexpWrapper<T, Self>where
Self: Sized,
Auto Trait Implementations§
impl<'a> Freeze for SexpParseCtxt<'a>
impl<'a> RefUnwindSafe for SexpParseCtxt<'a>
impl<'a> Send for SexpParseCtxt<'a>
impl<'a> Sync for SexpParseCtxt<'a>
impl<'a> Unpin for SexpParseCtxt<'a>
impl<'a> !UnwindSafe for SexpParseCtxt<'a>
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
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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