linked-list-iterator and context operator $$ enhancement

This commit is contained in:
2026-05-18 09:49:44 +02:00
parent 35a599b284
commit 081395be5f
7 changed files with 47 additions and 76 deletions
+2
View File
@@ -19,6 +19,8 @@ func NewIterator(ctx kern.ExprContext, value any, ops []*scan.Term) (it kern.Ite
switch v := value.(type) {
case *kern.ListType:
it = NewListIterator(v, nil)
case *kern.LinkedList:
it = NewLinkedListIterator(v, nil)
case *kern.DictType:
it, err = NewDictIterator(v, nil)
case []any: