Skip to main content

modules

Function modules 

Source
pub fn modules() -> &'static [(&'static str, &'static str)]
Expand description

Submodule sources, returned as (virtual_path, source) pairs.

The format matches what leo_compiler::Compiler::build_library expects: the first element of each tuple is a label used in span/error reporting, and the second is the Leo source for that submodule.