MCPcopy
hub / github.com/google/mangle / clause

Function clause

analysis/stratification_test.go:28–34  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

26)
27
28func clause(str string) ast.Clause {
29 clause, err := parse.Clause(str)
30 if err != nil {
31 panic(fmt.Errorf("bad syntax in test case: %s got %w", str, err))
32 }
33 return clause
34}
35
36func toOrderMap(predToStratum map[ast.PredicateSym]int) map[int][]ast.PredicateSym {
37 unsorted := make(map[int][]ast.PredicateSym)

Callers 15

TestCheckRulePositiveFunction · 0.70
TestCheckRuleBindsByDeclFunction · 0.70
TestCheckRuleNegativeFunction · 0.70
TestAnalyzePositiveFunction · 0.70
TestAnalyzeNegativeFunction · 0.70
TestBoundsAnalyzerFunction · 0.70
TestDeferredFunction · 0.70

Calls 1

ClauseFunction · 0.92

Tested by

no test coverage detected