merge merge merge

This commit is contained in:
Folkert 2021-02-23 20:05:58 +01:00
parent 9ce39cd633
commit f31c6d7a9f
2 changed files with 47 additions and 29 deletions

View file

@ -381,6 +381,7 @@ pub enum EExpr<'a> {
If(If<'a>, Row, Col),
Lambda(ELambda<'a>, Row, Col),
List(List<'a>, Row, Col),
// EInParens(PInParens<'a>, Row, Col),
IndentStart(Row, Col),
@ -403,6 +404,18 @@ pub enum ELambda<'a> {
IndentArg(Row, Col),
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum List<'a> {
Open(Row, Col),
End(Row, Col),
Space(BadInputError, Row, Col),
Syntax(&'a SyntaxError<'a>, Row, Col),
IndentStart(Row, Col),
IndentEnd(Row, Col),
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum When<'a> {
Space(BadInputError, Row, Col),