mirror of
https://github.com/github/semantic.git
synced 2025-01-02 04:10:29 +03:00
Assign dictionarySplat
This commit is contained in:
parent
7b03af69a2
commit
6e579b09e8
@ -200,6 +200,9 @@ argument = makeTerm <$> symbol ListSplatArgument <*> (Syntax.Identifier <$> sour
|
||||
listSplat :: Assignment
|
||||
listSplat = makeTerm <$> symbol ListSplat <*> (Syntax.Identifier <$> source)
|
||||
|
||||
dictionarySplat :: Assignment
|
||||
dictionarySplat = makeTerm <$> symbol DictionarySplat <*> (Syntax.Identifier <$> source)
|
||||
|
||||
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