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

Function atom

factstore/factstore_test.go:27–33  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

25)
26
27func atom(s string) ast.Atom {
28 term, err := parse.Term(s)
29 if err != nil {
30 panic(err)
31 }
32 return term.(ast.Atom)
33}
34
35func evalAtom(s string) ast.Atom {
36 term, err := parse.Term(s)

Callers 8

testStoreFunction · 0.70
TestStoreFunction · 0.70
TestNewBytesFunction · 0.70
TestGzipFunction · 0.70
TestAddContainsRemoveFunction · 0.70
TestMergedAddContainsFunction · 0.70
TestMergedMergeFunction · 0.70

Calls 1

TermFunction · 0.92

Tested by

no test coverage detected