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

Method Hash

ast/ast.go:925–927  ·  view source on GitHub ↗

Hash returns a hash code.

()

Source from the content-addressed store, hash-verified

923
924// Hash returns a hash code.
925func (v Variable) Hash() uint64 {
926 return hashTerm(v.Symbol, []BaseTerm{v})
927}
928
929// String simply returns the variable's name.
930func (v Variable) String() string {

Callers

nothing calls this directly

Calls 1

hashTermFunction · 0.85

Tested by

no test coverage detected