Pudu programming language
Menu
API reference

Std.Yaml.Block.scalar

1 declaration

fn

scalar: &Array[Std.Yaml.Block.Line] -> Int -> Str -> (Str, Int)

Consume one scalar, folding ordinary lines and applying its chomping mode.

An invalid start returns empty text at its clamped position. An unsupported header returns empty text without consuming lines.

Back to Std.Yaml.BlockSearch related declarations