Skip to main content

build_graph_with_registry

Function build_graph_with_registry 

Source
pub fn build_graph_with_registry(
    program: &Program,
    registry: Option<&AbstractionRegistry>,
) -> Result<PatchGraph, BuildError>
Expand description

Convert Program (AST) to PatchGraph (with Abstraction registry).

When registry is Some and the Expr::Call object name is registered in the registry, numinlets/numoutlets are determined from its interface.