mirror of
https://github.com/github/semantic.git
synced 2024-11-28 01:47:01 +03:00
Term module declaration components
This commit is contained in:
parent
32b8224a3e
commit
7a4b2da299
@ -596,9 +596,9 @@ module' = makeTerm
|
||||
<$> symbol Module
|
||||
<*> children (Syntax.Module
|
||||
<$> manyTerm (comment <|> pragma)
|
||||
<*> (moduleIdentifier <|> qualifiedModuleIdentifier <|> emptyTerm)
|
||||
<*> term (moduleIdentifier <|> qualifiedModuleIdentifier <|> emptyTerm)
|
||||
<*> moduleExports
|
||||
<*> (where' <|> expressions <|> emptyTerm))
|
||||
<*> term (where' <|> expressions <|> emptyTerm))
|
||||
where
|
||||
moduleExports = (symbol ModuleExports *> children (manyTerm export))
|
||||
<|> (pure [])
|
||||
|
Loading…
Reference in New Issue
Block a user