mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Simply import parsing and formatting by using header::KeywordItem
This commit is contained in:
parent
65ce811587
commit
42e755677c
17 changed files with 614 additions and 406 deletions
|
@ -522,15 +522,19 @@ pub enum EExpect<'a> {
|
|||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum EImport {
|
||||
Import(Position),
|
||||
IndentStart(Position),
|
||||
PackageShorthand(Position),
|
||||
PackageShorthandDot(Position),
|
||||
ModuleName(Position),
|
||||
IndentAs(Position),
|
||||
As(Position),
|
||||
IndentAlias(Position),
|
||||
Alias(Position),
|
||||
IndentExposing(Position),
|
||||
Exposing(Position),
|
||||
ExposedListStart(Position),
|
||||
ExposingListStart(Position),
|
||||
ExposedName(Position),
|
||||
ExposedListEnd(Position),
|
||||
ExposingListEnd(Position),
|
||||
Space(BadInputError, Position),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue