Replaced all occurences of github.com with git.tebibyte.media

This commit is contained in:
2022-08-12 10:21:36 -05:00
parent 09170e390d
commit 81b47f7734
9 changed files with 12 additions and 12 deletions

View File

@@ -1,8 +1,8 @@
package lexer
import "io"
import "github.com/sashakoshka/arf/file"
import "github.com/sashakoshka/arf/types"
import "git.tebibyte.media/sashakoshka/arf/file"
import "git.tebibyte.media/sashakoshka/arf/types"
// LexingOperation holds information about an ongoing lexing operataion.
type LexingOperation struct {

View File

@@ -1,8 +1,8 @@
package lexer
import "testing"
import "github.com/sashakoshka/arf/file"
import "github.com/sashakoshka/arf/types"
import "git.tebibyte.media/sashakoshka/arf/file"
import "git.tebibyte.media/sashakoshka/arf/types"
func checkTokenSlice (filePath string, correct []Token, test *testing.T) {
file, err := file.Open(filePath)

View File

@@ -1,6 +1,6 @@
package lexer
import "github.com/sashakoshka/arf/file"
import "git.tebibyte.media/sashakoshka/arf/file"
// tokenizeSymbolBeginning lexes a token that starts with a number.
func (lexer *LexingOperation) tokenizeNumberBeginning (negative bool) (err error) {

View File

@@ -1,7 +1,7 @@
package lexer
import "strconv"
import "github.com/sashakoshka/arf/file"
import "git.tebibyte.media/sashakoshka/arf/file"
// tokenizeString tokenizes a string or rune literal.
func (lexer *LexingOperation) tokenizeString (isRuneLiteral bool) (err error) {

View File

@@ -1,7 +1,7 @@
package lexer
import "fmt"
import "github.com/sashakoshka/arf/file"
import "git.tebibyte.media/sashakoshka/arf/file"
// TokenKind is an enum represzenting what role a token has.
type TokenKind int