feat: rename repr to expr

This commit is contained in:
2026-02-07 10:25:20 -05:00
parent bbe027e9f4
commit a790a293cf
9 changed files with 54 additions and 50 deletions

View File

@@ -5,7 +5,7 @@ import (
)
type Process interface {
engine.Process[Repr]
engine.Process[Expr]
InType() string
}
@@ -17,13 +17,13 @@ type convertedProcess[T any] struct {
func (e convertedProcess[T]) InType() string { return e.inType }
func (b convertedProcess[T]) Get() (Repr, error) {
func (b convertedProcess[T]) Get() (Expr, error) {
s, err := b.process.Get()
if err != nil {
return nil, err
}
return NewRepr(b.inType, s), nil
return NewExpr(b.inType, s), nil
}
func (b convertedProcess[T]) Step(i int) bool {