Skip to main content

declarative_source_load_ref_target

Function declarative_source_load_ref_target 

Source
pub fn declarative_source_load_ref_target(
    artifact_dir: &Path,
    ref_text: &str,
) -> Option<Value>
Expand description

Loads a bounded framework contract reference such as fields.yml#entity.fields.

§Parameters

§Returns

Returns Some when crate::declarative::declarative_source_load_ref_target can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_load_ref_target(std::path::Path::new("build/dev_docs"), todo!());