at operator return -1 when fails in lists and arrays; insert operators (<< and >>) changes che container if it is a variable
This commit is contained in:
+6
-1
@@ -15,7 +15,12 @@ type Term interface {
|
||||
GetChildCount() (count int)
|
||||
GetChild(index int) Term
|
||||
GetChildSource(index int) string
|
||||
Compute(ctx ExprContext) (result any, err error)
|
||||
GetLeftChild() (c Term)
|
||||
GetRightChild() (c Term)
|
||||
IsAssign() bool
|
||||
IsVar() bool
|
||||
Compute(ctx ExprContext) (result any, err error)
|
||||
EvalInfix(ctx ExprContext) (leftValue, rightValue any, err error)
|
||||
Errorf(template string, args ...any) (err error)
|
||||
ErrIncompatibleTypes(leftValue, rightValue any) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user