1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +03:00

precisePythonParser produces a Py.Term.

This commit is contained in:
Rob Rix 2019-09-27 10:53:26 -04:00
parent cdb0488fde
commit cf940ff595
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -44,6 +44,7 @@ import qualified Language.Haskell.Assignment as Haskell
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 Py
import qualified Language.Python.Assignment as Python
import qualified Language.Ruby.Assignment as Ruby
import qualified Language.TSX.Assignment as TSX
@ -56,7 +57,6 @@ import TreeSitter.JSON
import qualified TreeSitter.Language as TS (Language, Symbol)
import TreeSitter.PHP
import TreeSitter.Python
import qualified TreeSitter.Python.AST as Py
import TreeSitter.Ruby (tree_sitter_ruby)
import TreeSitter.TSX
import TreeSitter.TypeScript
@ -164,7 +164,7 @@ markdownParser :: Parser Markdown.Term
markdownParser = AssignmentParser MarkdownParser Markdown.assignment
precisePythonParser :: Parser (Py.Module Loc)
precisePythonParser :: Parser (Py.Term Loc)
precisePythonParser = UnmarshalParser tree_sitter_python