16 |
/// Parses a `&str` starting from `rule`.
|
17 |
#[allow(clippy::perf)]
|
18 |
fn parse(rule: R, input: &str) -> Result<Pairs<'_, R>, Error<R>>;
|
149 |
/// ```
|
150 |
#[allow(clippy::perf)]
|
151 |
pub fn state<'i, R: RuleType, F>(input: &'i str, f: F) -> Result<pairs::Pairs<'i, R>, Error<R>>
|
36 |
/// A helper that will parse using the pest grammar
|
37 |
#[allow(clippy::perf)]
|
38 |
pub fn parse(rule: Rule, data: &str) -> Result<Pairs<'_, Rule>, Error<Rule>> {
|
65 |
/// Runs a parser rule on an input
|
66 |
#[allow(clippy::perf)]
|
67 |
pub fn parse<'a, 'i>(
|
27 |
clippy::restriction,
|
28 |
clippy::perf,
|
29 |
clippy::deprecated,
|
51 |
clippy::restriction,
|
52 |
clippy::perf,
|
53 |
clippy::deprecated,
|
193 |
clippy::restriction,
|
194 |
clippy::perf,
|
195 |
clippy::deprecated,
|
10 |
// Disable non-critical lints for generated code
|
11 |
#![allow(clippy::style, clippy::complexity, clippy::perf)]
|
5 |
// Disable non-critical lints for generated code.
|
6 |
#![allow(clippy::style, clippy::complexity, clippy::perf)]
|
1 |
#![allow(clippy::all, clippy::restriction, clippy::style, clippy::perf)]
|
2 |
use std::{convert::AsRef, env, ffi::OsStr, path::Path, process::Command};
|