made some interfaces exportable and fixed/enhaaced some selector operator versions
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ func newVarTerm(tk *Token) *term {
|
||||
}
|
||||
|
||||
// -------- eval func
|
||||
func evalVar(ctx exprContext, self *term) (v any, err error) {
|
||||
func evalVar(ctx ExprContext, self *term) (v any, err error) {
|
||||
var exists bool
|
||||
if v, exists = ctx.GetVar(self.tk.source); !exists {
|
||||
err = fmt.Errorf("undefined variable %q", self.tk.source)
|
||||
|
||||
Reference in New Issue
Block a user