Searched refs:highest_idx (Results 1 – 3 of 3) sorted by relevance
506 let highest_idx = cmd in _verify_positionals() localVariable522 highest_idx == num_p, in _verify_positionals()528 if arg.index.unwrap_or(0) == highest_idx { in _verify_positionals()555 let only_highest = |a: &Arg| a.is_multiple() && (a.get_index().unwrap_or(0) != highest_idx); in _verify_positionals()565 let last = &cmd.get_keymap()[&KeyType::Position(highest_idx)]; in _verify_positionals()566 let second_to_last = &cmd.get_keymap()[&KeyType::Position(highest_idx - 1)]; in _verify_positionals()
3890 let highest_idx = self in _build_self() localVariable3913 if is_trailing_var_arg_set && arg.get_index() == Some(highest_idx) { in _build_self()
476 let highest_idx = cmd in _verify_positionals() localVariable492 highest_idx == num_p, in _verify_positionals()495 highest_idx, in _verify_positionals()500 let only_highest = |a: &Arg| a.is_multiple() && (a.index.unwrap_or(0) != highest_idx); in _verify_positionals()510 let last = &cmd.get_keymap()[&KeyType::Position(highest_idx)]; in _verify_positionals()511 let second_to_last = &cmd.get_keymap()[&KeyType::Position(highest_idx - 1)]; in _verify_positionals()