From 1fc881f1b8f0bf2e208712630746a782054752b2 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 19 May 2017 13:47:53 -0400 Subject: [PATCH] :memo: ASTParser. --- src/Parser.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Parser.hs b/src/Parser.hs index 57922b6bc..bd33cffa1 100644 --- a/src/Parser.hs +++ b/src/Parser.hs @@ -24,6 +24,7 @@ import TreeSitter -- | A parser from 'Source' onto some term type. data Parser term where + -- | A parser producing 'AST' using a 'TS.Language'. ASTParser :: (Bounded grammar, Enum grammar) => Ptr TS.Language -> Parser (AST grammar) AssignmentParser :: (Bounded grammar, Enum grammar, Eq grammar, Symbol grammar, Functor (Union fs)) => Parser (AST grammar)