mirror of
https://github.com/github/semantic.git
synced 2024-12-23 06:41:45 +03:00
Wrap function call name in term
This commit is contained in:
parent
90a24bab28
commit
9bde03ad06
@ -287,7 +287,7 @@ scopedCallExpression = makeTerm <$> symbol ScopedCallExpression <*> children (Ex
|
||||
where makeMemberAccess loc expr memberName = makeTerm loc (Expression.MemberAccess expr memberName)
|
||||
|
||||
functionCallExpression :: Assignment
|
||||
functionCallExpression = makeTerm <$> symbol FunctionCallExpression <*> children (Expression.Call [] <$> (qualifiedName <|> callableExpression) <*> arguments <*> emptyTerm)
|
||||
functionCallExpression = makeTerm <$> symbol FunctionCallExpression <*> children (Expression.Call [] <$> (term (qualifiedName <|> callableExpression)) <*> arguments <*> emptyTerm)
|
||||
|
||||
callableExpression :: Assignment
|
||||
callableExpression = choice [
|
||||
|
Loading…
Reference in New Issue
Block a user