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