Add desugar command and desugar programs
This commit is contained in:
parent
6eee1ba930
commit
8b21acac9e
6 changed files with 106 additions and 12 deletions
|
|
@ -30,6 +30,15 @@ impl HasSpan for Space {
|
|||
}
|
||||
}
|
||||
|
||||
impl Space {
|
||||
pub fn empty(span: Span) -> Self {
|
||||
Self {
|
||||
lines: vec![],
|
||||
span,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Ident {
|
||||
pub name: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue