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