ast.go: String() function addedd to the Expr interface
This commit is contained in:
parent
e493c40c7b
commit
55e136e9bc
1
ast.go
1
ast.go
@ -12,6 +12,7 @@ import (
|
|||||||
type Expr interface {
|
type Expr interface {
|
||||||
Eval(ctx ExprContext) (result any, err error)
|
Eval(ctx ExprContext) (result any, err error)
|
||||||
eval(ctx ExprContext, preset bool) (result any, err error)
|
eval(ctx ExprContext, preset bool) (result any, err error)
|
||||||
|
String() string
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------- ast
|
//-------- ast
|
||||||
|
Loading…
Reference in New Issue
Block a user