1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00

Assign parenthesizedExpression

This commit is contained in:
Rick Winfrey 2017-08-24 16:22:21 -07:00
parent 9a91b19d25
commit 8609e7dced

View File

@ -203,6 +203,9 @@ dictionarySplat = makeTerm <$> symbol DictionarySplat <*> (Syntax.Identifier <$>
keywordArgument :: Assignment
keywordArgument = makeTerm <$> symbol KeywordArgument <*> children (Statement.Assignment <$> expression <*> expression)
parenthesizedExpression :: Assignment
parenthesizedExpression = symbol ParenthesizedExpression *> children expressions
parameter :: Assignment
parameter = makeTerm <$> symbol DefaultParameter <*> children (Statement.Assignment <$> expression <*> expression)
<|> makeTerm <$> symbol ListSplatParameter <*> (Syntax.Identifier <$> source)