Lines Matching refs:index_check
57 node_check, index_check = element
60 index_check = True
65 index_check = element
76 if not isinstance(index_check, (str, int)) \
77 and index_check is not None:
78 raise ResolverError("Invalid index checker: %s" % index_check)
79 new_path.append((node_check, index_check))
122 node_check, index_check = path[depth-1]
129 if index_check is True and current_index is not None:
131 if (index_check is False or index_check is None) \
134 if isinstance(index_check, str):
136 and index_check == current_index.value):
138 elif isinstance(index_check, int) and not isinstance(index_check, bool):
139 if index_check != current_index: