(env *Env, call, arg ast.Expr)
| 317 | } |
| 318 | |
| 319 | func evalCall(env *Env, call, arg ast.Expr) error { |
| 320 | ast := &Ast{impl: ast.NewAST(call, ast.NewSourceInfo(nil))} |
| 321 | prg, err := env.Program(ast, BypassAsyncProtection()) |
| 322 | if err != nil { |
| 323 | return err |
| 324 | } |
| 325 | _, _, err = prg.Eval(NoVars()) |
| 326 | return err |
| 327 | } |
| 328 | |
| 329 | func compileRegex(_ *Env, _, arg ast.Expr) error { |
| 330 | pattern := arg.AsLiteral().Value().(string) |
nothing calls this directly
no test coverage detected