MCPcopy
hub / github.com/nektos/act / evaluate

Method evaluate

pkg/runner/expression.go:24–24  ·  view source on GitHub ↗
(context.Context, string, exprparser.DefaultStatusCheck)

Source from the content-addressed store, hash-verified

22// ExpressionEvaluator is the interface for evaluating expressions
23type ExpressionEvaluator interface {
24 evaluate(context.Context, string, exprparser.DefaultStatusCheck) (interface{}, error)
25 EvaluateYamlNode(context.Context, *yaml.Node) error
26 Interpolate(context.Context, string) string
27}

Callers 3

TestEvaluateRunContextFunction · 0.95
TestEvaluateStepFunction · 0.65
EvalBoolFunction · 0.65

Implementers 1

expressionEvaluatorpkg/runner/expression.go

Calls

no outgoing calls

Tested by 2

TestEvaluateRunContextFunction · 0.76
TestEvaluateStepFunction · 0.52