go mod tidy

This commit is contained in:
2023-12-09 22:36:19 +01:00
parent 65868e812d
commit 966682546c
63 changed files with 244 additions and 255 deletions

View File

@@ -1,7 +1,7 @@
package traverser
import (
"github.com/laytan/php-parser/pkg/ast"
"git.maride.cc/maride/php-parser/pkg/ast"
)
//go:generate go run traverser_gen.go

View File

@@ -10,7 +10,7 @@ import (
"path/filepath"
"text/template"
phpast "github.com/laytan/php-parser/pkg/ast"
phpast "git.maride.cc/maride/php-parser/pkg/ast"
"golang.org/x/tools/go/packages"
)
@@ -32,7 +32,7 @@ var fileTempl = template.Must(
package traverser
import "github.com/laytan/php-parser/pkg/ast"
import "git.maride.cc/maride/php-parser/pkg/ast"
{{range $typ := .Types}}
func (t *Traverser) {{$typ.FuncName}}(n *ast.{{$typ.Name}}) {
if !t.checkEntrance(n) {

View File

@@ -2,7 +2,7 @@
package traverser
import "github.com/laytan/php-parser/pkg/ast"
import "git.maride.cc/maride/php-parser/pkg/ast"
func (t *Traverser) Root(n *ast.Root) {
if !t.checkEntrance(n) {

View File

@@ -3,9 +3,9 @@ package traverser_test
import (
"testing"
"github.com/laytan/php-parser/pkg/ast"
"github.com/laytan/php-parser/pkg/visitor"
"github.com/laytan/php-parser/pkg/visitor/traverser"
"git.maride.cc/maride/php-parser/pkg/ast"
"git.maride.cc/maride/php-parser/pkg/visitor"
"git.maride.cc/maride/php-parser/pkg/visitor/traverser"
)
// testCase is a traverser that does not go into any class statement or its children.