1
1
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:
Rick Winfrey 2017-11-20 16:31:16 -08:00
parent 4a44ec572f
commit 81422a603d

View File

@ -246,6 +246,9 @@ types = arrayType
<|> typeSwitchGuard
<|> typeSwitchStatement
program :: Assignment
program = makeTerm <$> symbol SourceFile <*> children (Syntax.Program <$> many expression)
-- Literals
element :: Assignment