1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00

🔥 jsonParser.

This commit is contained in:
Rob Rix 2019-10-07 11:13:42 -04:00
parent 058aab0417
commit 6f9d49fef8
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -8,7 +8,6 @@ module Parsing.Parser
-- * À la carte parsers
, goParser
, goASTParser
, jsonParser
, markdownParser
, pythonParser
, pythonASTParser
@ -57,7 +56,6 @@ import Foreign.Ptr
import qualified Language.Go.Assignment as Go
import qualified Language.Java as PreciseJava
import qualified Language.JSON as PreciseJSON
import qualified Language.JSON.Assignment as JSON
import qualified Language.Markdown.Assignment as Markdown
import qualified Language.PHP.Assignment as PHP
import qualified Language.Python as PrecisePython
@ -149,9 +147,6 @@ pythonParser = AssignmentParser (ASTParser tree_sitter_python) Python.assignment
pythonASTParser :: Parser (AST [] Python.Grammar)
pythonASTParser = ASTParser tree_sitter_python
jsonParser :: Parser JSON.Term
jsonParser = DeterministicParser jsonASTParser JSON.assignment
typescriptParser :: Parser TypeScript.Term
typescriptParser = AssignmentParser (ASTParser tree_sitter_typescript) TypeScript.assignment