MCPcopy Index your code
hub / github.com/google/mangle / ListPredicates

Method ListPredicates

factstore/factstore.go:122–128  ·  view source on GitHub ↗

ListPredicates returns a list of predicates.

()

Source from the content-addressed store, hash-verified

120
121// ListPredicates returns a list of predicates.
122func (s SimpleInMemoryStore) ListPredicates() []ast.PredicateSym {
123 var r []ast.PredicateSym
124 for p := range s.shardsByPredicate {
125 r = append(r, p)
126 }
127 return r
128}
129
130// NewSimpleInMemoryStore constructs a new SimpleInMemoryStore.
131func NewSimpleInMemoryStore() SimpleInMemoryStore {

Callers 6

TestRoundTripFunction · 0.95
TestNewBytesFunction · 0.95
TestGzipFunction · 0.95
TestRewriteIdempotencyFunction · 0.95
TestTransformFunction · 0.95
TestEvalExternalFunction · 0.95

Calls

no outgoing calls

Tested by 6

TestRoundTripFunction · 0.76
TestNewBytesFunction · 0.76
TestGzipFunction · 0.76
TestRewriteIdempotencyFunction · 0.76
TestTransformFunction · 0.76
TestEvalExternalFunction · 0.76