1
1
mirror of https://github.com/github/semantic.git synced 2024-12-28 09:21:35 +03:00
This commit is contained in:
Rob Rix 2017-06-07 19:23:47 -04:00
parent 1bdead623c
commit 83aa91006f

View File

@ -38,9 +38,11 @@ type Error = Assignment.Error Grammar.Grammar
type Term = Term.Term (Union Syntax) (Record Location)
type Assignment = HasCallStack => Assignment.Assignment (Cofree [] (Record (CMark.NodeType ': Location))) Grammar.Grammar Term
assignment :: Assignment
assignment = makeTerm <$> symbol Grammar.Document <*> children (Markup.Document <$> many blockElement)
-- Block elements
blockElement :: Assignment