[−][src]Struct libslide::parser::expression_pattern_parser::ExpressionPatternParser
Fields
_input: PeekIter<Token>
diagnostics: Vec<Diagnostic>
Implementations
impl ExpressionPatternParser
[src]
Trait Implementations
impl Parser<RcExprPat> for ExpressionPatternParser
[src]
type Expr = RcExprPat
fn input(&mut self) -> &mut PeekIter<Token>ⓘ
[src]
fn push_diag(&mut self, diagnostic: Diagnostic)
[src]
fn parse(&mut self) -> RcExprPat
[src]
fn parse_float(&mut self, f: f64, span: Span) -> Self::Expr
[src]
fn parse_variable(&mut self, name: String, span: Span) -> Self::Expr
[src]
fn parse_var_pattern(&mut self, name: String, span: Span) -> Self::Expr
[src]
fn parse_const_pattern(&mut self, name: String, span: Span) -> Self::Expr
[src]
fn parse_any_pattern(&mut self, name: String, span: Span) -> Self::Expr
[src]
fn has_stmt_break(&mut self) -> bool
[src]
fn parse_open_paren(&mut self, open: Token) -> Self::Expr
[src]
fn parse_open_bracket(&mut self, open: Token) -> Self::Expr
[src]
fn done(&mut self) -> bool
[src]
fn expr(&mut self) -> Self::Expr
[src]
fn peek(&mut self) -> &Token
[src]
fn next(&mut self) -> Token
[src]
fn add_sub_term(&mut self) -> Self::Expr
[src]
fn mul_divide_mod_term(&mut self) -> Self::Expr
[src]
fn exp_term(&mut self) -> Self::Expr
[src]
fn num_term(&mut self) -> Self::Expr
[src]
fn extra_tokens_diag(
&mut self,
additional_diags: impl Fn(Diagnostic, Span) -> Diagnostic
)
[src]
&mut self,
additional_diags: impl Fn(Diagnostic, Span) -> Diagnostic
)
Auto Trait Implementations
impl RefUnwindSafe for ExpressionPatternParser
impl Send for ExpressionPatternParser
impl Sync for ExpressionPatternParser
impl Unpin for ExpressionPatternParser
impl UnwindSafe for ExpressionPatternParser
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>,