MCPcopy Create free account
hub / github.com/brimdata/super / NewDottedExpr

Function NewDottedExpr

runtime/sam/expr/dot.go:33–39  ·  view source on GitHub ↗
(sctx *super.Context, f field.Path)

Source from the content-addressed store, hash-verified

31}
32
33func NewDottedExpr(sctx *super.Context, f field.Path) Evaluator {
34 ret := Evaluator(&This{})
35 for _, name := range f {
36 ret = NewDotExpr(sctx, ret, name)
37 }
38 return ret
39}
40
41func (d *DotExpr) Eval(this super.Value) super.Value {
42 val := d.record.Eval(this).Under()

Callers 6

compileExprMethod · 0.92
TestParallelOrderFunction · 0.92
NewComparatorFunction · 0.92
NewScalarFunction · 0.92
NewFunction · 0.92
ImportComparatorFunction · 0.92

Calls 2

EvaluatorInterface · 0.70
NewDotExprFunction · 0.70

Tested by 1

TestParallelOrderFunction · 0.74