Lines Matching full:start_index
1810 def consume_optional(start_index):
1813 option_tuple = option_string_indices[start_index]
1824 extras.append(arg_strings[start_index])
1825 return start_index + 1
1852 stop = start_index + 1
1867 start = start_index + 1
1887 def consume_positionals(start_index):
1890 selected_pattern = arg_strings_pattern[start_index:]
1896 args = arg_strings[start_index: start_index + arg_count]
1897 start_index += arg_count
1903 return start_index
1908 start_index = 0
1913 while start_index <= max_option_string_index:
1919 if index >= start_index])
1920 if start_index != next_option_string_index:
1921 positionals_end_index = consume_positionals(start_index)
1925 if positionals_end_index > start_index:
1926 start_index = positionals_end_index
1929 start_index = positionals_end_index
1933 if start_index not in option_string_indices:
1934 strings = arg_strings[start_index:next_option_string_index]
1936 start_index = next_option_string_index
1939 start_index = consume_optional(start_index)
1942 stop_index = consume_positionals(start_index)