mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
progress on apply
This commit is contained in:
parent
f6fac092a4
commit
e27be136cb
3 changed files with 181 additions and 10 deletions
|
@ -372,6 +372,7 @@ pub type Col = u16;
|
|||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum EPattern<'a> {
|
||||
Record(PRecord<'a>, Row, Col),
|
||||
Apply(PApply<'a>, Row, Col),
|
||||
Underscore(Row, Col),
|
||||
|
||||
Start(Row, Col),
|
||||
|
@ -420,6 +421,21 @@ pub enum PInParens<'a> {
|
|||
IndentEnd(Row, Col),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum PApply<'a> {
|
||||
///
|
||||
StartNotUppercase(Row, Col),
|
||||
End(Row, Col),
|
||||
Space(BadInputError, Row, Col),
|
||||
IndentStart(Row, Col),
|
||||
///
|
||||
Pattern(&'a EPattern<'a>, Row, Col),
|
||||
///
|
||||
DoubleDot(Row, Col),
|
||||
TrailingDot(Row, Col),
|
||||
StartIsNumber(Row, Col),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum Type<'a> {
|
||||
TRecord(TRecord<'a>, Row, Col),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue