MCPcopy Index your code
hub / github.com/expr-lang/expr / finished

Method finished

checker/nature/utils.go:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func (s *structData) finished() bool {
35 return s.ownIdx >= s.numField && // no own fields left to visit
36 s.anonIdx >= s.numField && // no embedded fields to visit
37 s.curChild == nil // no child in process of visiting
38}
39
40func (s *structData) structField(c *Cache, parentEmbed *structData, name string) *structField {
41 if s.fields == nil {

Callers 2

structFieldMethod · 0.95
findInEmbeddedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected