MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Validate

Method Validate

pkg/util/jsonpath/path.go:135–142  ·  view source on GitHub ↗
(nestingLevel int, insideArraySubscript bool)

Source from the content-addressed store, hash-verified

133}
134
135func (a ArrayList) Validate(nestingLevel int, insideArraySubscript bool) error {
136 for _, p := range a {
137 if err := p.Validate(nestingLevel, true /* insideArraySubscript */); err != nil {
138 return err
139 }
140 }
141 return nil
142}
143
144type Last struct{}
145

Callers

nothing calls this directly

Calls 1

ValidateMethod · 0.65

Tested by

no test coverage detected