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

Method Validate

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

Source from the content-addressed store, hash-verified

108}
109
110func (a ArrayIndexRange) Validate(nestingLevel int, insideArraySubscript bool) error {
111 if err := a.Start.Validate(nestingLevel, insideArraySubscript); err != nil {
112 return err
113 }
114 if err := a.End.Validate(nestingLevel, insideArraySubscript); err != nil {
115 return err
116 }
117 return nil
118}
119
120type ArrayList []Path
121

Callers

nothing calls this directly

Calls 1

ValidateMethod · 0.65

Tested by

no test coverage detected