aiken/crates/aiken-lang/src/parser/chain
KtorZ 346df47232 Refactor chain parser
The main goal is to make the parser more reusable to be used for when-clauses, instead of the expression parser. A side goal has been to make it more readable by moving the construction of some untyped expression as method on UntypedExpr. Doing so, I got rid of the extra temporary 'ParseArg' type and re-used the generic 'CallArg' instead by simply using an Option<UntypedExpr> as value to get the same semantic as 'ParseArg' (which would distinguish between plain call args and holes). Now the chained parser is in a bit more reusable state.
2023-07-06 16:10:46 -04:00
..
call.rs Refactor chain parser 2023-07-06 16:10:46 -04:00
field_access.rs Move chain and chained parsing into their own submodule 2023-07-05 15:18:07 +02:00
mod.rs Refactor chain parser 2023-07-06 16:10:46 -04:00
tuple_index.rs Move chain and chained parsing into their own submodule 2023-07-05 15:18:07 +02:00