MCPcopy Index your code
hub / github.com/google/mangle / ApplySubst

Method ApplySubst

ast/ast.go:1211–1213  ·  view source on GitHub ↗

ApplySubst returns the result of applying given substitution to this equality.

(s Subst)

Source from the content-addressed store, hash-verified

1209
1210// ApplySubst returns the result of applying given substitution to this equality.
1211func (e Eq) ApplySubst(s Subst) Term {
1212 return Eq{e.Left.ApplySubst(s).(BaseTerm), e.Right.ApplySubst(s).(BaseTerm)}
1213}
1214
1215// Ineq represents an inequality (apartness constraint) X != Y or X != c or c != X.
1216type Ineq struct {

Callers

nothing calls this directly

Calls 1

ApplySubstMethod · 0.65

Tested by

no test coverage detected