From 3d559796c04888f26dc25b561c25e086d2f42f3e Mon Sep 17 00:00:00 2001 From: Ayman Nadeem Date: Mon, 27 Jan 2020 16:11:40 -0500 Subject: [PATCH] change TreeSitter.TypeScript.AST to Language.TypeScript.AST --- semantic-typescript/src/Language/TypeScript.hs | 2 +- semantic-typescript/src/Language/TypeScript/Tags.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/semantic-typescript/src/Language/TypeScript.hs b/semantic-typescript/src/Language/TypeScript.hs index 13989839e..7da01f376 100644 --- a/semantic-typescript/src/Language/TypeScript.hs +++ b/semantic-typescript/src/Language/TypeScript.hs @@ -6,10 +6,10 @@ module Language.TypeScript ) where import Data.Proxy +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.TypeScript.AST as TypeScript import qualified TreeSitter.Unmarshal as TS newtype Term a = Term { getTerm :: TypeScript.Program a } diff --git a/semantic-typescript/src/Language/TypeScript/Tags.hs b/semantic-typescript/src/Language/TypeScript/Tags.hs index 0f5fea56c..e96e90167 100644 --- a/semantic-typescript/src/Language/TypeScript/Tags.hs +++ b/semantic-typescript/src/Language/TypeScript/Tags.hs @@ -15,12 +15,12 @@ import Control.Effect.Writer import Data.Foldable import Data.Text as Text import GHC.Generics +import qualified Language.TypeScript.AST as Ts import Source.Loc import Source.Source as Source import Tags.Tag import qualified Tags.Tagging.Precise as Tags import TreeSitter.Token -import qualified TreeSitter.TypeScript.AST as Ts class ToTags t where tags