mirror of
https://github.com/github/semantic.git
synced 2025-01-04 21:47:07 +03:00
Define a Parser GADT.
This commit is contained in:
parent
b9e947b605
commit
a5ab3637fb
@ -1,5 +1,14 @@
|
||||
{-# LANGUAGE GADTs, ScopedTypeVariables #-}
|
||||
module Parser where
|
||||
|
||||
import Info hiding (Go)
|
||||
import Language
|
||||
import Prologue
|
||||
import Source
|
||||
import Term
|
||||
|
||||
data Parser term where
|
||||
CParser :: Parser (SyntaxTerm Text DefaultFields)
|
||||
GoParser :: Parser (SyntaxTerm Text DefaultFields)
|
||||
RubyParser :: Parser (SyntaxTerm Text DefaultFields)
|
||||
TypeScriptParser :: Parser (SyntaxTerm Text DefaultFields)
|
||||
|
Loading…
Reference in New Issue
Block a user