fn extract_value<'a>(values: &mut &'a [Command<'a>]) -> &'a [Command<'a>] {
    let result = match values[0] {
        Command::Array(further) => &values[..further + 1],
        Command::Map(further) => &values[..further + 1],
        _ => &values[0..1],
    };
    *values = &values[result.len()..];
    result
}
/// Extracts a self-contained slice of commands for the next parse node.
Extracts a self-contained slice of commands for the next parse node.
Extracts a self - contained slice of commands for the next parse node .
fn extract_value<'a>(values: &mut &'a [Command<'a>]) -> &'a [Command<'a>] {
    let result = match values[0] {
        Command::Array(further) => &values[..further + 1],
        Command::Map(further) => &values[..further + 1],
        _ => &values[0..1],
    };
    *values = &values[result.len()..];
    result
}
fn extract_value < ' a > ( values : & mut & ' a [ Command < ' a > ] ) -> & ' a [ Command < ' a > ] { let result = match values [ 0 ] { Command :: Array ( further ) => & values [ .. further + 1 ] , Command :: Map ( further ) => & values [ .. further + 1 ] , _ => & values [ 0 .. 1 ] , } ; * values = & values [ result . len ( ) .. ] ; result }
Extracts a self-contained slice of commands for the next parse node.
Extracts a self - contained slice of commands for the next parse node .
values
&mut &'a [Command<'a>]
values
&mut &'a [Command<'a>]