mirror of
https://github.com/github/semantic.git
synced 2024-12-21 05:41:54 +03:00
Add <*> to class assignment
This commit is contained in:
parent
173660daec
commit
c75caedf65
@ -555,7 +555,7 @@ literal =
|
||||
<|> makeTerm <$> symbol Regex <*> (Literal.TextElement <$> source)
|
||||
|
||||
class' :: Assignment
|
||||
class' = makeTerm <$> symbol Class <*> children (Declaration.Class <$> expression <*> (many typeParameter' <|> pure []) (superclass <|> pure []) <*> classBodyStatements)
|
||||
class' = makeTerm <$> symbol Class <*> children (Declaration.Class <$> expression <*> (many typeParameter' <|> pure []) <*> (superclass <|> pure []) <*> classBodyStatements)
|
||||
where superclass = pure <$ symbol Grammar.ClassHeritage <*> children expression
|
||||
|
||||
object :: Assignment
|
||||
|
Loading…
Reference in New Issue
Block a user