mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
Add children combinator to accessibilityModifier
This commit is contained in:
parent
2b1d782c99
commit
c78fe9d713
@ -170,7 +170,7 @@ parameter =
|
||||
<|> optionalParameter
|
||||
|
||||
accessibilityModifier' :: Assignment
|
||||
accessibilityModifier' = makeTerm <$> symbol AccessibilityModifier <*> (Syntax.Identifier <$> source)
|
||||
accessibilityModifier' = makeTerm <$> symbol AccessibilityModifier <*> children (Syntax.Identifier <$> source)
|
||||
|
||||
destructuringPattern :: Assignment
|
||||
destructuringPattern = makeTerm <$> symbol ObjectPattern <*> (Literal.Hash <$> many (pair <|> spreadElement <|> methodDefinition <|> assignmentPattern <|> shorthandPropertyIdentifier))
|
||||
|
Loading…
Reference in New Issue
Block a user