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

Method superType

compiler/semantic/schema.go:571–576  ·  view source on GitHub ↗
(sctx *super.Context, unknown *super.TypeError)

Source from the content-addressed store, hash-verified

569}
570
571func (j *joinScope) superType(sctx *super.Context, unknown *super.TypeError) super.Type {
572 return sctx.MustLookupTypeRecord([]super.Field{
573 super.NewField("left", j.left.superType(sctx, unknown)),
574 super.NewField("right", j.right.superType(sctx, unknown)),
575 })
576}
577
578func (s *selectScope) superType(sctx *super.Context, unknown *super.TypeError) super.Type {
579 fields := []super.Field{super.NewField("in", s.in.superType(sctx, unknown))}

Callers

nothing calls this directly

Calls 3

NewFieldFunction · 0.92
MustLookupTypeRecordMethod · 0.80
superTypeMethod · 0.65

Tested by

no test coverage detected