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

Method Hash

ast/ast.go:1140–1142  ·  view source on GitHub ↗

Hash returns a hash code for this expression.

()

Source from the content-addressed store, hash-verified

1138
1139// Hash returns a hash code for this expression.
1140func (a ApplyFn) Hash() uint64 {
1141 return hashTerm(a.Function.String(), a.Args)
1142}
1143
1144// String returns a string representation for this atom.
1145func (a ApplyFn) String() string {

Callers

nothing calls this directly

Calls 2

hashTermFunction · 0.85
StringMethod · 0.65

Tested by

no test coverage detected