fn eval_expr_pat(mut self) -> SlideResult {
        let ParseResult {
            program,
            diagnostics,
        } = parse_expression_pattern(self.tokens);
        self.result.err(&diagnostics);
        if !diagnostics.is_empty() {
            return self.result.failed();
        }

        if self.lint {
            self.result
                .err(&lint_expr_pat(&program, self.result.org_program));
        }

        if self.parse_only {
            self.result.emit(&program);
        } else {
            panic!("Expression patterns can only be parsed.");
        }

        self.result.ok()
    }
/// Handles evaluation of a slide expression pattern.
Handles evaluation of a slide expression pattern.
Handles evaluation of a slide expression pattern .
fn eval_expr_pat(mut self) -> SlideResult {
        let ParseResult {
            program,
            diagnostics,
        } = parse_expression_pattern(self.tokens);
        self.result.err(&diagnostics);
        if !diagnostics.is_empty() {
            return self.result.failed();
        }
        if self.lint {
            self.result
                .err(&lint_expr_pat(&program, self.result.org_program));
        }
        if self.parse_only {
            self.result.emit(&program);
        } else {
            panic!("Expression patterns can only be parsed.");
        }
        self.result.ok()
    }
fn eval_expr_pat ( mut self ) -> SlideResult { let ParseResult { program , diagnostics , } = parse_expression_pattern ( self . tokens ) ; self . result . err ( & diagnostics ) ; if ! diagnostics . is_empty ( ) { return self . result . failed ( ) ; } if self . lint { self . result . err ( & lint_expr_pat ( & program , self . result . org_program ) ) ; } if self . parse_only { self . result . emit ( & program ) ; } else { panic ! ( " " ) ; } self . result . ok ( ) }
Handles evaluation of a slide expression pattern.
Handles evaluation of a slide expression pattern .
mut self
mut self