mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-14 16:45:07 +01:00
so yeah that was a bunch of code
This commit is contained in:
parent
3a282ffb89
commit
ebe01c7521
17 changed files with 590 additions and 106 deletions
|
|
@ -32,6 +32,10 @@ impl Span {
|
|||
Self { start, end }
|
||||
}
|
||||
|
||||
pub fn dummy() -> Self {
|
||||
Self::start_end(0, 0)
|
||||
}
|
||||
|
||||
pub fn extend(&self, rhs: Self) -> Self {
|
||||
Self::start_end(self.start, rhs.end)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//! The expression parser is implemented as a pratt parser.
|
||||
//!
|
||||
//! For more information, see https://matklad.github.io/2020/04/13/simple-but-powerful-pratt-parsing.html
|
||||
//! For more information, see <https://matklad.github.io/2020/04/13/simple-but-powerful-pratt-parsing.html>
|
||||
|
||||
use crate::{
|
||||
ast::{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue