all: renamed github.com/z7zmey/php-parser with github.com/VKCOM/php-parser

This commit is contained in:
Makhnev Petr
2021-07-30 21:01:34 +03:00
committed by GitHub
parent 049ce7ddc6
commit 72cd222aeb
63 changed files with 236 additions and 236 deletions

View File

@@ -3,10 +3,10 @@ package php8
import (
"bytes"
"github.com/z7zmey/php-parser/internal/position"
"github.com/z7zmey/php-parser/pkg/ast"
position2 "github.com/z7zmey/php-parser/pkg/position"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/VKCOM/php-parser/internal/position"
"github.com/VKCOM/php-parser/pkg/ast"
position2 "github.com/VKCOM/php-parser/pkg/position"
"github.com/VKCOM/php-parser/pkg/token"
)
// Builder is responsible for creating nodes inside grammar rules.

View File

@@ -4,11 +4,11 @@ import (
"bytes"
"strings"
"github.com/z7zmey/php-parser/pkg/conf"
"github.com/z7zmey/php-parser/pkg/errors"
"github.com/z7zmey/php-parser/pkg/position"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/z7zmey/php-parser/pkg/version"
"github.com/VKCOM/php-parser/pkg/conf"
"github.com/VKCOM/php-parser/pkg/errors"
"github.com/VKCOM/php-parser/pkg/position"
"github.com/VKCOM/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/version"
)
type Lexer struct {

View File

@@ -1,9 +1,9 @@
package php8
import (
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/position"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/position"
"github.com/VKCOM/php-parser/pkg/token"
)
type ParserBrackets struct {

View File

@@ -1,11 +1,11 @@
package php8
import (
"github.com/z7zmey/php-parser/internal/position"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/conf"
"github.com/z7zmey/php-parser/pkg/errors"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/VKCOM/php-parser/internal/position"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/conf"
"github.com/VKCOM/php-parser/pkg/errors"
"github.com/VKCOM/php-parser/pkg/token"
)
// Parser structure

View File

@@ -3,14 +3,14 @@ package php8_test
import (
"testing"
"github.com/z7zmey/php-parser/internal/tester"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/conf"
"github.com/z7zmey/php-parser/pkg/errors"
"github.com/z7zmey/php-parser/pkg/parser"
"github.com/z7zmey/php-parser/pkg/position"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/z7zmey/php-parser/pkg/version"
"github.com/VKCOM/php-parser/internal/tester"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/conf"
"github.com/VKCOM/php-parser/pkg/errors"
"github.com/VKCOM/php-parser/pkg/parser"
"github.com/VKCOM/php-parser/pkg/position"
"github.com/VKCOM/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/version"
"gotest.tools/assert"
)

View File

@@ -3,15 +3,15 @@ package php8_test
import (
"testing"
"github.com/z7zmey/php-parser/internal/php8"
"github.com/VKCOM/php-parser/internal/php8"
"gotest.tools/assert"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/conf"
"github.com/z7zmey/php-parser/pkg/errors"
"github.com/z7zmey/php-parser/pkg/position"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/z7zmey/php-parser/pkg/version"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/conf"
"github.com/VKCOM/php-parser/pkg/errors"
"github.com/VKCOM/php-parser/pkg/position"
"github.com/VKCOM/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/version"
)
func TestIdentifier(t *testing.T) {

View File

@@ -11,8 +11,8 @@ import __yyfmt__ "fmt"
import (
"strconv"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/token"
)
// line internal/php8/php8.y:13

View File

@@ -4,8 +4,8 @@ package php8
import (
"strconv"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/token"
)
%}

View File

@@ -4,9 +4,9 @@ import (
"io/ioutil"
"testing"
"github.com/z7zmey/php-parser/internal/php8"
"github.com/z7zmey/php-parser/pkg/conf"
"github.com/z7zmey/php-parser/pkg/version"
"github.com/VKCOM/php-parser/internal/php8"
"github.com/VKCOM/php-parser/pkg/conf"
"github.com/VKCOM/php-parser/pkg/version"
)
func BenchmarkPhp8(b *testing.B) {

View File

@@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/token"
)
// line internal/php8/scanner.go:15

View File

@@ -5,7 +5,7 @@ import (
"strconv"
"strings"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/token"
)
%%{

View File

@@ -3,10 +3,10 @@ package php8_test
import (
"testing"
"github.com/z7zmey/php-parser/internal/php8"
"github.com/z7zmey/php-parser/internal/tester"
"github.com/z7zmey/php-parser/pkg/conf"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/VKCOM/php-parser/internal/php8"
"github.com/VKCOM/php-parser/internal/tester"
"github.com/VKCOM/php-parser/pkg/conf"
"github.com/VKCOM/php-parser/pkg/token"
"gotest.tools/assert"
)

View File

@@ -5,11 +5,11 @@ import (
"gotest.tools/assert"
"github.com/z7zmey/php-parser/pkg/conf"
"github.com/z7zmey/php-parser/pkg/errors"
"github.com/z7zmey/php-parser/pkg/position"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/z7zmey/php-parser/pkg/version"
"github.com/VKCOM/php-parser/pkg/conf"
"github.com/VKCOM/php-parser/pkg/errors"
"github.com/VKCOM/php-parser/pkg/position"
"github.com/VKCOM/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/version"
)
func TestTokens(t *testing.T) {