mirror of
https://github.com/github/semantic.git
synced 2024-12-27 17:05:33 +03:00
Update TypeScript dependencies to reference AST.* instead of TreeSitter.*
This commit is contained in:
parent
5ff4b5d99d
commit
9e6eab11cb
@ -10,7 +10,7 @@ import qualified Language.TypeScript.AST as TypeScript
|
||||
import qualified Language.TypeScript.Tags as TsTags
|
||||
import qualified Tags.Tagging.Precise as Tags
|
||||
import qualified TreeSitter.TypeScript (tree_sitter_typescript)
|
||||
import qualified TreeSitter.Unmarshal as TS
|
||||
import qualified AST.Unmarshal as TS
|
||||
|
||||
newtype Term a = Term { getTerm :: TypeScript.Program a }
|
||||
|
||||
|
@ -15,7 +15,7 @@ module Language.TypeScript.AST
|
||||
) where
|
||||
|
||||
import Prelude hiding (False, Float, Integer, String, True)
|
||||
import TreeSitter.GenerateSyntax
|
||||
import AST.GenerateSyntax
|
||||
import qualified TreeSitter.TypeScript as Grammar
|
||||
|
||||
astDeclarationsForLanguage Grammar.tree_sitter_typescript "../../../vendor/tree-sitter-typescript/typescript/src/node-types.json"
|
||||
|
@ -20,7 +20,7 @@ import Source.Loc
|
||||
import Source.Source as Source
|
||||
import Tags.Tag
|
||||
import qualified Tags.Tagging.Precise as Tags
|
||||
import TreeSitter.Token
|
||||
import AST.Token
|
||||
|
||||
class ToTags t where
|
||||
tags
|
||||
|
Loading…
Reference in New Issue
Block a user