MCPcopy Index your code
hub / github.com/google/codesearch / and

Method and

index/regexp.go:41–43  ·  view source on GitHub ↗

and returns the query q AND r, possibly reusing q's and r's storage.

(r *Query)

Source from the content-addressed store, hash-verified

39
40// and returns the query q AND r, possibly reusing q's and r's storage.
41func (q *Query) and(r *Query) *Query {
42 return q.andOr(r, QAnd)
43}
44
45// or returns the query q OR r, possibly reusing q's and r's storage.
46func (q *Query) or(r *Query) *Query {

Callers 2

andTrigramsMethod · 0.95
concatFunction · 0.80

Calls 1

andOrMethod · 0.95

Tested by

no test coverage detected