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

Method ApplySubst

ast/ast.go:1235–1237  ·  view source on GitHub ↗

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

(s Subst)

Source from the content-addressed store, hash-verified

1233
1234// ApplySubst returns the result of applying given substitution to this inequality.
1235func (e Ineq) ApplySubst(s Subst) Term {
1236 return Ineq{e.Left.ApplySubst(s).(BaseTerm), e.Right.ApplySubst(s).(BaseTerm)}
1237}
1238
1239// Clause represents a clause (a rule of the form "A." or "A :- B1, ..., Bn.").
1240// When a clause has a body, the resulting relation can be transformed.

Callers

nothing calls this directly

Calls 1

ApplySubstMethod · 0.65

Tested by

no test coverage detected