mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
Reformat the AssignmentParser constructor.
This commit is contained in:
parent
55bcf68ba1
commit
933512afcf
@ -24,7 +24,10 @@ import TreeSitter
|
|||||||
|
|
||||||
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)) => Parser (AST grammar) -> Assignment (Node grammar) (Term (Union fs) Location) -> Parser (Term (Union (Syntax.Error [Error grammar] ': fs)) Location)
|
AssignmentParser :: (Bounded grammar, Enum grammar, Eq grammar, Symbol grammar, Functor (Union fs))
|
||||||
|
=> Parser (AST grammar)
|
||||||
|
-> Assignment (Node grammar) (Term (Union fs) Location)
|
||||||
|
-> Parser (Term (Union (Syntax.Error [Error grammar] ': fs)) Location)
|
||||||
CParser :: Parser (SyntaxTerm Text DefaultFields)
|
CParser :: Parser (SyntaxTerm Text DefaultFields)
|
||||||
GoParser :: Parser (SyntaxTerm Text DefaultFields)
|
GoParser :: Parser (SyntaxTerm Text DefaultFields)
|
||||||
MarkdownParser :: Parser (SyntaxTerm Text DefaultFields)
|
MarkdownParser :: Parser (SyntaxTerm Text DefaultFields)
|
||||||
|
Loading…
Reference in New Issue
Block a user