1
1
mirror of https://github.com/github/semantic.git synced 2024-11-23 08:27:56 +03:00

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

This commit is contained in:
Ayman Nadeem 2020-01-28 11:34:11 -05:00
parent 2cd3dd10b1
commit 08483e8280
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ import qualified Language.Go.AST as Go
import qualified Language.Go.Tags as GoTags
import qualified Tags.Tagging.Precise as Tags
import qualified TreeSitter.Go (tree_sitter_go)
import qualified TreeSitter.Unmarshal as TS
import qualified AST.Unmarshal as TS
newtype Term a = Term { getTerm :: Go.SourceFile a }

View File

@ -15,7 +15,7 @@ module Language.Go.AST
) where
import Prelude hiding (False, Float, Integer, Rational, String, True)
import TreeSitter.GenerateSyntax
import AST.GenerateSyntax
import qualified TreeSitter.Go as Grammar
astDeclarationsForLanguage Grammar.tree_sitter_go "../../../vendor/tree-sitter-go/src/node-types.json"

View File

@ -18,7 +18,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