mirror of
https://github.com/github/semantic.git
synced 2025-01-05 05:58:34 +03:00
Add program assignment
This commit is contained in:
parent
4a44ec572f
commit
81422a603d
@ -246,6 +246,9 @@ types = arrayType
|
|||||||
<|> typeSwitchGuard
|
<|> typeSwitchGuard
|
||||||
<|> typeSwitchStatement
|
<|> typeSwitchStatement
|
||||||
|
|
||||||
|
program :: Assignment
|
||||||
|
program = makeTerm <$> symbol SourceFile <*> children (Syntax.Program <$> many expression)
|
||||||
|
|
||||||
-- Literals
|
-- Literals
|
||||||
|
|
||||||
element :: Assignment
|
element :: Assignment
|
||||||
|
Loading…
Reference in New Issue
Block a user