pub fn yaml_handle_scalar(
context: &mut YamlCompileContext,
scalar: &str,
) -> boolExpand description
Adds a scalar YAML value using the same scalar rules as saphyr.
§Parameters
context: Input consumed bycrate::declarative::yaml_handle_scalar.scalar: Input consumed bycrate::declarative::yaml_handle_scalar.
§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!());§Related
crate::declarativefor adjacent helpers that share the same runtime surface.