mirror of
https://github.com/github/semantic.git
synced 2024-12-23 06:41:45 +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 :: Assignment
|
||||||
keywordArgument = makeTerm <$> symbol KeywordArgument <*> children (Statement.Assignment <$> expression <*> expression)
|
keywordArgument = makeTerm <$> symbol KeywordArgument <*> children (Statement.Assignment <$> expression <*> expression)
|
||||||
|
|
||||||
|
parenthesizedExpression :: Assignment
|
||||||
|
parenthesizedExpression = symbol ParenthesizedExpression *> children expressions
|
||||||
|
|
||||||
parameter :: Assignment
|
parameter :: Assignment
|
||||||
parameter = makeTerm <$> symbol DefaultParameter <*> children (Statement.Assignment <$> expression <*> expression)
|
parameter = makeTerm <$> symbol DefaultParameter <*> children (Statement.Assignment <$> expression <*> expression)
|
||||||
<|> makeTerm <$> symbol ListSplatParameter <*> (Syntax.Identifier <$> source)
|
<|> makeTerm <$> symbol ListSplatParameter <*> (Syntax.Identifier <$> source)
|
||||||
|
Loading…
Reference in New Issue
Block a user