[−][src]Struct libslide::grammar::statement::StmtList
A list of statements in a slide program.
Fields
list: Vec<Stmt>
The list of statements.
Implementations
impl StmtList
[src]
Trait Implementations
impl Clone for StmtList
[src]
impl Debug for StmtList
[src]
impl Display for StmtList
[src]
impl Emit for StmtList
[src]
fn emit_pretty(&self, config: EmitConfig) -> String
[src]
fn emit_s_expression(&self, config: EmitConfig) -> String
[src]
fn emit_latex(&self, config: EmitConfig) -> String
[src]
fn emit_wrapped_latex(&self, config: EmitConfig) -> String
[src]
fn emit(&self, form: EmitFormat, config: EmitConfig) -> String
[src]
fn emit_debug(&self, _config: EmitConfig) -> String
[src]
impl Grammar for StmtList
[src]
impl IntoIterator for StmtList
[src]
type Item = Stmt
The type of the elements being iterated over.
type IntoIter = StmtListIterator
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> LintRule<'a, StmtList> for HomogenousAssignmentLinter<'a>
[src]
impl<'a> LintRule<'a, StmtList> for RedundantNestingLinter<'a>
[src]
impl<'a> LintRule<'a, StmtList> for UnarySeriesLinter<'a>
[src]
impl<'a> Parser<StmtList> for ExpressionParser<'a>
[src]
type Expr = RcExpr
fn input(&mut self) -> &mut PeekIter<Token>ⓘ
[src]
fn push_diag(&mut self, diagnostic: Diagnostic)
[src]
fn parse(&mut self) -> StmtList
[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]
Do we have another statement (on a newline)?
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 StmtList
impl Send for StmtList
impl Sync for StmtList
impl Unpin for StmtList
impl UnwindSafe for StmtList
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<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,