MCPcopy
hub / github.com/google/go-jsonnet / checkSubexpr

Function checkSubexpr

linter/internal/types/check.go:11–15  ·  view source on GitHub ↗
(node ast.Node, typeOf exprTypes, ec *common.ErrCollector)

Source from the content-addressed store, hash-verified

9)
10
11func checkSubexpr(node ast.Node, typeOf exprTypes, ec *common.ErrCollector) {
12 for _, child := range parser.Children(node) {
13 check(child, typeOf, ec)
14 }
15}
16
17// check verifies that the types are valid for a given program, given
18// the previously resolved types.

Callers 1

checkFunction · 0.85

Calls 2

ChildrenFunction · 0.92
checkFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…