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

Function name

parse/parse_test.go:28–31  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

26var emptyDoc = []ast.Atom{ast.NewAtom("doc", ast.String(""))}
27
28func name(str string) ast.Constant {
29 res, _ := ast.Name(str)
30 return res
31}
32
33func equals(left, right ast.Constant) bool {
34 return left.Equals(right)

Callers 5

TestParseDeclFunction · 0.70
TestParseClausePositiveFunction · 0.70
TestParseTermPositiveFunction · 0.70
TestParseTemporalFactFunction · 0.70

Calls 1

NameFunction · 0.92

Tested by

no test coverage detected