mirror of
https://github.com/github/semantic.git
synced 2024-12-20 05:11:44 +03:00
Assign listSplat
This commit is contained in:
parent
8d91e7344c
commit
840bef4fbf
@ -194,6 +194,8 @@ argument :: Assignment
|
|||||||
argument = makeTerm <$> symbol ListSplatArgument <*> (Syntax.Identifier <$> source)
|
argument = makeTerm <$> symbol ListSplatArgument <*> (Syntax.Identifier <$> source)
|
||||||
<|> makeTerm <$> symbol DictionarySplatArgument <*> (Syntax.Identifier <$> source)
|
<|> makeTerm <$> symbol DictionarySplatArgument <*> (Syntax.Identifier <$> source)
|
||||||
<|> makeTerm <$> symbol KeywordArgument <*> children (Statement.Assignment <$> expression <*> expression)
|
<|> makeTerm <$> symbol KeywordArgument <*> children (Statement.Assignment <$> expression <*> expression)
|
||||||
|
listSplat :: Assignment
|
||||||
|
listSplat = makeTerm <$> symbol ListSplat <*> (Syntax.Identifier <$> source)
|
||||||
|
|
||||||
parameter :: Assignment
|
parameter :: Assignment
|
||||||
parameter = makeTerm <$> symbol DefaultParameter <*> children (Statement.Assignment <$> expression <*> expression)
|
parameter = makeTerm <$> symbol DefaultParameter <*> children (Statement.Assignment <$> expression <*> expression)
|
||||||
|
Loading…
Reference in New Issue
Block a user