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:
parent
a457d8777f
commit
bacb523b7f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user