mirror of
https://github.com/github/semantic.git
synced 2024-12-30 18:36:27 +03:00
📝 Parser.
This commit is contained in:
parent
933512afcf
commit
e9c27f1337
@ -22,6 +22,7 @@ import Text.Parser.TreeSitter.Ruby
|
|||||||
import Text.Parser.TreeSitter.TypeScript
|
import Text.Parser.TreeSitter.TypeScript
|
||||||
import TreeSitter
|
import TreeSitter
|
||||||
|
|
||||||
|
-- | A parser from 'Source' onto some term type.
|
||||||
data Parser term where
|
data Parser term where
|
||||||
ASTParser :: (Bounded grammar, Enum grammar) => Ptr TS.Language -> Parser (AST grammar)
|
ASTParser :: (Bounded grammar, Enum grammar) => Ptr TS.Language -> Parser (AST grammar)
|
||||||
AssignmentParser :: (Bounded grammar, Enum grammar, Eq grammar, Symbol grammar, Functor (Union fs))
|
AssignmentParser :: (Bounded grammar, Enum grammar, Eq grammar, Symbol grammar, Functor (Union fs))
|
||||||
|
Loading…
Reference in New Issue
Block a user