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