ast.go: String() function addedd to the Expr interface

This commit is contained in:
Celestino Amoroso 2024-04-13 04:31:53 +02:00
parent e493c40c7b
commit 55e136e9bc

1
ast.go
View File

@ -12,6 +12,7 @@ import (
type Expr interface {
Eval(ctx ExprContext) (result any, err error)
eval(ctx ExprContext, preset bool) (result any, err error)
String() string
}
//-------- ast