def GetNextTokenIndex(tokens, pos):
  """Get the index of the next token after pos."""
  for index, token in enumerate(tokens):
    if (token.lineno, token.column) >= pos:
      return index

  return None