components/variations/service/generate_ui_string_overrider.py
def _GetNameIndexPairsIter(string_to_scan):
  """Gets an iterator of the resource name and index pairs of the given string.

  Scans the input string for lines of the form "#define NAME INDEX" and returns
  an iterator over all matching (NAME, INDEX) pairs.

  Args:
    string_to_scan: The input string to scan.

  Yields:
    A tuple of name and index.
  """
  for match in RESOURCE_EXTRACT_REGEX.finditer(string_to_scan):
    yield match.group(1, 2)
Gets an iterator of the resource name and index pairs of the given string.

  Scans the input string for lines of the form "#define NAME INDEX" and returns
  an iterator over all matching (NAME, INDEX) pairs.

  Args:
    string_to_scan: The input string to scan.

  Yields:
    A tuple of name and index.
  
Gets an iterator of the resource name and index pairs of the given string.
Scans the input string for lines of the form "#define NAME INDEX" and returns
an iterator over all matching (NAME, INDEX) pairs.
Gets an iterator of the resource name and index pairs of the given string . Scans the input string for lines of the form " #define NAME INDEX " and returns an iterator over all matching ( NAME INDEX ) pairs .
def _GetNameIndexPairsIter(string_to_scan):
  for match in RESOURCE_EXTRACT_REGEX.finditer(string_to_scan):
    yield match.group(1, 2)
def _GetNameIndexPairsIter ( string_to_scan ) : for match in RESOURCE_EXTRACT_REGEX . finditer ( string_to_scan ) : yield match . group ( 1 , 2 )
Gets an iterator of the resource name and index pairs of the given string.
Gets an iterator of the resource name and index pairs of the given string .
"""Gets an iterator of the resource name and index pairs of the given string.

  Scans the input string for lines of the form "#define NAME INDEX" and returns
  an iterator over all matching (NAME, INDEX) pairs.

  Args:
    string_to_scan: The input string to scan.

  Yields:
    A tuple of name and index.
  """
A tuple of name and index.
A tuple of name and index .
string_to_scan
The input string to scan.
The input string to scan .