mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Assign parenthesizedExpression
This commit is contained in:
parent
9a91b19d25
commit
8609e7dced
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user