a
    ynfP  ใ                   @  st   d dl mZ d dlmZ d dlmZ d dlmZmZm	Z	m
Z
mZmZ er`d dlmZ d dlmZ G dd de	Zd	S )
้    )ฺannotations)ฺabstractmethod)ฺ	ShapeItem)ฺTYPE_CHECKINGฺDTypeฺProtocolฺSelfฺSupportsIndexฺoverload)ฺEllipsisType)ฺ	DTypeLikec                   @  s6  e Zd ZeeddddZeeddddZeeddd	d
ZeeddddZeeddddZ	eeddddZ
edddddZedddddZedddddZedd Zeddd d!Zeddd"d#Zeddd$d%Zeddd&d'Zed(dd)d*d+Zed,dd-d.d/Zed,dd-d0d1Zed,dd-d2d3Zed,dd-d4d5Zed,dd-d6d7Zed,dd-d8d9Zed,dd-d:d;Zed,dd-d<d=Zed,dd-d>d?Zed@dd-dAdBZedCdd-dDdEZedCdd-dFdGZedddHdIZdJS )Kฺ	ArrayLiker   )ฺreturnc                 C  s   d S ฉNฉ ฉฺselfr   r   ๚^/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/awkward/_nplikes/array_like.pyฺdtype   s    zArrayLike.dtypeฺintc                 C  s   d S r   r   r   r   r   r   ฺndim   s    zArrayLike.ndimztuple[ShapeItem, ...]c                 C  s   d S r   r   r   r   r   r   ฺshape    s    zArrayLike.shaper   c                 C  s   d S r   r   r   r   r   r   ฺsize$   s    zArrayLike.sizec                 C  s   d S r   r   r   r   r   r   ฺnbytes(   s    zArrayLike.nbytesr   c                 C  s   d S r   r   r   r   r   r   ฺT,   s    zArrayLike.TzeSupportsIndex | slice | EllipsisType | tuple[SupportsIndex | slice | EllipsisType | Self, ...] | Self)ฺkeyr   c                 C  s   d S r   r   )r   r   r   r   r   ฺ__getitem__0   s    zArrayLike.__getitem__zNslice | EllipsisType | tuple[SupportsIndex | slice | EllipsisType, ...] | Selfzint | float | bool | complex)r   ฺvaluec                 C  s   d S r   r   ฉr   r   r   r   r   r   ฺ__setitem__:   s    zArrayLike.__setitem__z#int | float | bool | complex | Selfc                 C  s   d S r   r   r   r   r   r   r   D   s    	c                 C  s   d S r   r   r   r   r   r   r   O   s    ฺboolc                 C  s   d S r   r   r   r   r   r   ฺ__bool__R   s    zArrayLike.__bool__c                 C  s   d S r   r   r   r   r   r   ฺ__int__U   s    zArrayLike.__int__c                 C  s   d S r   r   r   r   r   r   ฺ	__index__X   s    zArrayLike.__index__c                 C  s   d S r   r   r   r   r   r   ฺ__len__[   s    zArrayLike.__len__r   )r   r   c                 C  s   d S r   r   )r   r   r   r   r   ฺview^   s    zArrayLike.viewzint | complex | float | Self)ฺotherr   c                 C  s   d S r   r   ฉr   r&   r   r   r   ฺ__add__b   s    zArrayLike.__add__c                 C  s   d S r   r   r'   r   r   r   ฺ__sub__e   s    zArrayLike.__sub__c                 C  s   d S r   r   r'   r   r   r   ฺ__mul__h   s    zArrayLike.__mul__c                 C  s   d S r   r   r'   r   r   r   ฺ__truediv__k   s    zArrayLike.__truediv__c                 C  s   d S r   r   r'   r   r   r   ฺ__floordiv__n   s    zArrayLike.__floordiv__c                 C  s   d S r   r   r'   r   r   r   ฺ__gt__q   s    zArrayLike.__gt__c                 C  s   d S r   r   r'   r   r   r   ฺ__lt__t   s    zArrayLike.__lt__c                 C  s   d S r   r   r'   r   r   r   ฺ__ge__w   s    zArrayLike.__ge__c                 C  s   d S r   r   r'   r   r   r   ฺ__le__z   s    zArrayLike.__le__z#int | complex | float | bool | Selfc                 C  s   d S r   r   r'   r   r   r   ฺ__eq__}   s    zArrayLike.__eq__zint | bool | Selfc                 C  s   d S r   r   r'   r   r   r   ฺ__and__   s    zArrayLike.__and__c                 C  s   d S r   r   r'   r   r   r   ฺ__or__   s    zArrayLike.__or__c                 C  s   d S r   r   r   r   r   r   ฺ
__invert__   s    zArrayLike.__invert__N) ฺ__name__ฺ
__module__ฺ__qualname__ฺpropertyr   r   r   r   r   r   r   r   r
   r   r!   r"   r#   r$   r%   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r   r   r   r   r      s|   		

r   N)ฺ
__future__r   ฺabcr   Zawkward._nplikes.shaper   Zawkward._typingr   r   r   r   r	   r
   ฺtypesr   Znumpy.typingr   r   r   r   r   r   ฺ<module>   s    	