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:
parent
2cd3dd10b1
commit
08483e8280
@ -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 }
|
||||
|
||||
|
@ -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"
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user