Move ast and parser out of internal
This commit is contained in:
parent
7e307d8811
commit
e01755bbf5
2
expr.go
2
expr.go
@ -5,7 +5,7 @@ import (
|
|||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"go.elara.ws/salix/internal/ast"
|
"go.elara.ws/salix/ast"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|
||||||
"go.elara.ws/salix/internal/ast"
|
"go.elara.ws/salix/ast"
|
||||||
)
|
)
|
||||||
|
|
||||||
var ErrForTagInvalidArgs = errors.New("invalid arguments in for tag")
|
var ErrForTagInvalidArgs = errors.New("invalid arguments in for tag")
|
||||||
|
2
go.mod
2
go.mod
@ -1,5 +1,3 @@
|
|||||||
module go.elara.ws/salix
|
module go.elara.ws/salix
|
||||||
|
|
||||||
go 1.21.2
|
go 1.21.2
|
||||||
|
|
||||||
require github.com/davecgh/go-spew v1.1.1
|
|
||||||
|
2
go.sum
2
go.sum
@ -1,2 +0,0 @@
|
|||||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
|
||||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
|
@ -3,7 +3,7 @@ package salix
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"go.elara.ws/salix/internal/ast"
|
"go.elara.ws/salix/ast"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -3,7 +3,7 @@ package salix
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"go.elara.ws/salix/internal/ast"
|
"go.elara.ws/salix/ast"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
4
parse.go
4
parse.go
@ -9,8 +9,8 @@ import (
|
|||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"go.elara.ws/salix/internal/ast"
|
"go.elara.ws/salix/ast"
|
||||||
"go.elara.ws/salix/internal/parser"
|
"go.elara.ws/salix/parser"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NamedReader is a reader with a name
|
// NamedReader is a reader with a name
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@ package parser
|
|||||||
import (
|
import (
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"go.elara.ws/salix/internal/ast"
|
"go.elara.ws/salix/ast"
|
||||||
)
|
)
|
||||||
|
|
||||||
func toAnySlice(v any) []any {
|
func toAnySlice(v any) []any {
|
2
salix.go
2
salix.go
@ -7,7 +7,7 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|
||||||
"go.elara.ws/salix/internal/ast"
|
"go.elara.ws/salix/ast"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user