Skip to main content

yaml_handle_scalar

Function yaml_handle_scalar 

Source
pub fn yaml_handle_scalar(
    context: &mut YamlCompileContext,
    scalar: &str,
) -> bool
Expand description

Adds a scalar YAML value using the same scalar rules as saphyr.

§Parameters

§Returns

Returns true when the condition checked by crate::declarative::yaml_handle_scalar holds and false otherwise.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::yaml_handle_scalar(todo!(), todo!());