1
1
mirror of https://github.com/github/semantic.git synced 2024-11-23 16:37:50 +03:00

Update TSX dependencies to reference AST.* instead of TreeSitter.*

This commit is contained in:
Ayman Nadeem 2020-01-28 12:11:40 -05:00
parent 9c39c4e0a4
commit 81bab4a9a3
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ import qualified Language.TSX.AST as TSX
import qualified Language.TSX.Tags as TsxTags
import qualified Tags.Tagging.Precise as Tags
import qualified TreeSitter.TSX (tree_sitter_tsx)
import qualified TreeSitter.Unmarshal as TS
import qualified AST.Unmarshal as TS
newtype Term a = Term { getTerm :: TSX.Program a }

View File

@ -15,7 +15,7 @@ module Language.TSX.AST
) where
import Prelude hiding (False, Float, Integer, String, True)
import TreeSitter.GenerateSyntax
import AST.GenerateSyntax
import qualified TreeSitter.TSX as Grammar
astDeclarationsForLanguage Grammar.tree_sitter_tsx "../../../vendor/tree-sitter-typescript/tsx/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