mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
Python assignment fixes
This commit is contained in:
parent
03e1498146
commit
ec17dfb47a
@ -128,10 +128,10 @@ expressionList :: Assignment (Term Loc)
|
||||
expressionList = makeTerm'' <$> symbol ExpressionList <*> children (someTerm expression)
|
||||
|
||||
listSplat :: Assignment (Term Loc)
|
||||
listSplat = makeTerm <$> symbol ListSplat <*> (Syntax.Identifier . name <$> source)
|
||||
listSplat = makeTerm <$> symbol ListSplat <*> children (someTerm expression)
|
||||
|
||||
dictionarySplat :: Assignment (Term Loc)
|
||||
dictionarySplat = makeTerm <$> symbol DictionarySplat <*> (Syntax.Identifier . name <$> source)
|
||||
dictionarySplat = makeTerm <$> symbol DictionarySplat <*> children (someTerm expression)
|
||||
|
||||
keywordArgument :: Assignment (Term Loc)
|
||||
keywordArgument = makeTerm <$> symbol KeywordArgument <*> children (Statement.Assignment [] <$> term expression <*> term expression)
|
||||
|
Loading…
Reference in New Issue
Block a user