MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / resolve_scope_inputs

Method resolve_scope_inputs

node-graph/graph-craft/src/document.rs:660–664  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

658// Functions for resolving scope inputs
659impl NodeNetwork {
660 pub fn resolve_scope_inputs(&mut self) {
661 let mut leftover = Vec::new();
662 self.resolve_scope_inputs_impl(None, &mut leftover);
663 assert!(leftover.is_empty(), "Unresolved scope keys at top level: {leftover:?}");
664 }
665
666 fn resolve_scope_inputs_impl(&mut self, parent: Option<&ScopeChain<'_>>, network_inputs: &mut Vec<NodeInput>) {
667 let scope_chain = ScopeChain {

Callers 1

compileMethod · 0.80

Calls 1

Tested by

no test coverage detected