context.go splitted in two files: expr-context.go and expr-function-go.

Expr interface moved from ast.go to the new file expr.go
This commit is contained in:
2024-07-07 15:50:50 +02:00
parent 340b99bad7
commit 76ce0945f7
4 changed files with 102 additions and 36 deletions
+11
View File
@@ -0,0 +1,11 @@
// Copyright (c) 2024 Celestino Amoroso (celestino.amoroso@gmail.com).
// All rights reserved.
// expr.go
package expr
// ----Expression interface
type Expr interface {
Eval(ctx ExprContext) (result any, err error)
String() string
}