Rename ast to parser
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
f87f4a0262
commit
705c6a8818
18 changed files with 32 additions and 32 deletions
|
|
@ -20,7 +20,7 @@ fn asting_benchmark(c: &mut Criterion) {
|
|||
parsing.bench_with_input(BenchmarkId::from_parameter(size), &input, |b, input| {
|
||||
b.iter(|| {
|
||||
let tokens = nomo::lexer::parse(input.clone()).unwrap();
|
||||
let _ast = nomo::ast::parse(tokens.tokens()).unwrap();
|
||||
let _ast = nomo::parser::parse(tokens.tokens()).unwrap();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
@ -44,7 +44,7 @@ fn asting_nested(c: &mut Criterion) {
|
|||
parsing.bench_with_input(BenchmarkId::from_parameter(size), &input, |b, input| {
|
||||
b.iter(|| {
|
||||
let tokens = nomo::lexer::parse(input.clone()).unwrap();
|
||||
let _ast = nomo::ast::parse(tokens.tokens()).unwrap();
|
||||
let _ast = nomo::parser::parse(tokens.tokens()).unwrap();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue