refactored data-types to reduce plugin sizes

This commit is contained in:
2026-06-08 07:02:56 +02:00
parent fec7cc546c
commit b6da9bcad4
90 changed files with 1039 additions and 803 deletions
+4 -3
View File
@@ -8,6 +8,7 @@ import (
"fmt"
"git.portale-stac.it/go-pkg/expr/kern"
"git.portale-stac.it/go-pkg/expr/types"
"git.portale-stac.it/go-pkg/expr/util"
// "strings"
)
@@ -76,12 +77,12 @@ func (ctx *SimpleStore) Clone() kern.ExprContext {
// }
// }
func (ctx *SimpleStore) ToDict() (dict *kern.DictType) {
return kern.ContextToDict(ctx)
func (ctx *SimpleStore) ToDict() any {
return types.ContextToDict(ctx)
}
func (ctx *SimpleStore) ToString(opt kern.FmtOpt) string {
return kern.ContextToString(ctx, opt)
return types.ContextToString(ctx, opt)
}
// func (ctx *SimpleStore) ToString(opt kern.FmtOpt) string {