1
1
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:
Ayman Nadeem 2020-01-28 12:00:18 -05:00
parent 5ff4b5d99d
commit 9e6eab11cb
3 changed files with 3 additions and 3 deletions

View File

@ -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 }

View File

@ -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"

View File

@ -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