MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / preprocessForContains

Method preprocessForContains

pkg/util/json/encoded.go:747–757  ·  view source on GitHub ↗

preprocessForContains implements the JSON interface.

()

Source from the content-addressed store, hash-verified

745
746// preprocessForContains implements the JSON interface.
747func (j *jsonEncoded) preprocessForContains() (containsable, error) {
748 if dec := j.alreadyDecoded(); dec != nil {
749 return dec.preprocessForContains()
750 }
751
752 decoded, err := j.decode()
753 if err != nil {
754 return nil, err
755 }
756 return decoded.preprocessForContains()
757}
758
759// jEntry implements the JSON interface.
760func (j *jsonEncoded) jEntry() jEntry {

Callers

nothing calls this directly

Calls 3

alreadyDecodedMethod · 0.95
decodeMethod · 0.95
preprocessForContainsMethod · 0.65

Tested by

no test coverage detected