MCPcopy Create free account
hub / github.com/circify/circ / extend_precomputation

Method extend_precomputation

src/ir/term/mod.rs:2064–2081  ·  view source on GitHub ↗

Add a new input `new_input_var` to this computation, whose value is determined by `precomp`: a term over existing inputs. The visibility for `new_input_var` will be computed from the visibility of variables in `precomp`: there must be at most **one** non-public variable. The sort for `new_input_var` will be computed from `precomp`.

(&mut self, new_input_var: String, precomp: Term)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

visitMethod · 0.80
visitMethod · 0.80

Calls 10

free_variablesFunction · 0.85
mapMethod · 0.80
get_input_visibilityMethod · 0.80
new_varMethod · 0.80
checkFunction · 0.70
collectMethod · 0.45
cloneMethod · 0.45
lenMethod · 0.45
unwrapMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected