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

Function newChecker

compiler/semantic/checker.go:23–29  ·  view source on GitHub ↗
(t *translator)

Source from the content-addressed store, hash-verified

21}
22
23func newChecker(t *translator) *checker {
24 return &checker{
25 t: t,
26 unknown: t.sctx.LookupTypeError(t.sctx.MustLookupTypeRecord(nil)),
27 checked: make(map[super.Type]super.Type),
28 }
29}
30
31func (c *checker) seq(typ super.Type, seq sem.Seq) super.Type {
32 for len(seq) > 0 {

Callers 1

newTranslatorFunction · 0.85

Calls 2

LookupTypeErrorMethod · 0.80
MustLookupTypeRecordMethod · 0.80

Tested by

no test coverage detected