1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00

Use the AST synonym in the type of MarkdownParser.

This commit is contained in:
Rob Rix 2019-10-07 14:40:09 -04:00
parent a457d8777f
commit bacb523b7f
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -110,7 +110,7 @@ data Parser term where
-> Assignment ast grammar (Term (Sum fs) Loc) -- ^ An assignment from AST onto 'Term's. -> Assignment ast grammar (Term (Sum fs) Loc) -- ^ An assignment from AST onto 'Term's.
-> Parser (Term (Sum fs) Loc) -- ^ A parser producing 'Term's. -> Parser (Term (Sum fs) Loc) -- ^ A parser producing 'Term's.
-- | A parser for 'Markdown' using cmark. -- | A parser for 'Markdown' using cmark.
MarkdownParser :: Parser (Term (TermF [] CMarkGFM.NodeType) (Node Markdown.Grammar)) MarkdownParser :: Parser (AST (TermF [] CMarkGFM.NodeType) Markdown.Grammar)
goParser :: Parser Go.Term goParser :: Parser Go.Term