[−][src]Struct gluon_parser::infix::Reparser
Implementations
impl<'s, 'ast, Id> Reparser<'s, 'ast, Id>
[src]
pub fn new(
arena: ArenaRef<'s, 'ast, Id>,
operators: OpTable<Id>,
symbols: &'s dyn IdentEnv<Ident = Id>
) -> Self
[src]
arena: ArenaRef<'s, 'ast, Id>,
operators: OpTable<Id>,
symbols: &'s dyn IdentEnv<Ident = Id>
) -> Self
pub fn reparse(
&mut self,
expr: &mut SpannedExpr<'ast, Id>
) -> Result<(), Errors<Spanned<Error, BytePos>>> where
Id: Eq + Hash + AsRef<str> + Clone + Debug,
[src]
&mut self,
expr: &mut SpannedExpr<'ast, Id>
) -> Result<(), Errors<Spanned<Error, BytePos>>> where
Id: Eq + Hash + AsRef<str> + Clone + Debug,
Trait Implementations
impl<'a, 's, 'ast, Id> MutVisitor<'a, 'ast> for Reparser<'s, 'ast, Id> where
Id: Eq + Hash + AsRef<str> + Clone + Debug + 'a + 'ast,
[src]
Id: Eq + Hash + AsRef<str> + Clone + Debug + 'a + 'ast,
type Ident = Id
fn visit_expr(&mut self, e: &'a mut SpannedExpr<'ast, Self::Ident>)
[src]
fn visit_pattern(
&mut self,
e: &'a mut Spanned<Pattern<'ast, Self::Ident>, ByteIndex>
)
[src]
&mut self,
e: &'a mut Spanned<Pattern<'ast, Self::Ident>, ByteIndex>
)
fn visit_spanned_typed_ident(
&mut self,
id: &'a mut Spanned<TypedIdent<Self::Ident, ArcType<Self::Ident>>, ByteIndex>
)
[src]
&mut self,
id: &'a mut Spanned<TypedIdent<Self::Ident, ArcType<Self::Ident>>, ByteIndex>
)
fn visit_ident(
&mut self,
id: &'a mut TypedIdent<Self::Ident, ArcType<Self::Ident>>
)
[src]
&mut self,
id: &'a mut TypedIdent<Self::Ident, ArcType<Self::Ident>>
)
fn visit_alias(
&mut self,
alias: &'a mut Spanned<AliasData<Self::Ident, AstType<'ast, Self::Ident>>, ByteIndex>
)
[src]
&mut self,
alias: &'a mut Spanned<AliasData<Self::Ident, AstType<'ast, Self::Ident>>, ByteIndex>
)
fn visit_spanned_ident(&mut self, &'a mut Spanned<Self::Ident, ByteIndex>)
[src]
fn visit_typ(&mut self, &'a mut ArcType<Self::Ident>)
[src]
fn visit_ast_type(
&mut self,
s: &'a mut Spanned<Type<Self::Ident, AstType<'ast, Self::Ident>>, ByteIndex>
)
[src]
&mut self,
s: &'a mut Spanned<Type<Self::Ident, AstType<'ast, Self::Ident>>, ByteIndex>
)
Auto Trait Implementations
impl<'s, 'ast, Id> !RefUnwindSafe for Reparser<'s, 'ast, Id>
impl<'s, 'ast, Id> !Send for Reparser<'s, 'ast, Id>
impl<'s, 'ast, Id> !Sync for Reparser<'s, 'ast, Id>
impl<'s, 'ast, Id> Unpin for Reparser<'s, 'ast, Id> where
Id: Unpin,
'ast: 's,
Id: Unpin,
'ast: 's,
impl<'s, 'ast, Id> !UnwindSafe for Reparser<'s, 'ast, Id>
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,