관리-도구
편집 파일: _base_nodes.cpython-311.pyc
� �܋f� � � � d Z ddlmZ ddlZddlZddlmZ ddlmZm Z ddl mZ ddlm Z ddlmZ erdd l mZ ej d k rddlmZ nddlmZ G d � de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� deee� � Z G d� de� � Z G d� de� � ZdS )zThis module contains some base nodes that can be inherited for the different nodes. Previously these were called Mixin nodes. � )�annotationsN)�Iterator)� TYPE_CHECKING�ClassVar)� decorators)�AttributeInferenceError)�NodeNG)�nodes)� � )�cached_property)�cachedpropertyc �$ � e Zd ZdZdZ d� Zd� ZdS )� StatementzpStatement node adding a few attributes. NOTE: This class is part of the public API of 'astroid.nodes'. Tc � � | j � | � � }|� | � � } ||dz S # t $ r Y dS w xY w)z|The next sibling statement node. :returns: The next sibling statement node. :rtype: NodeNG or None � N)�parent�child_sequence�index� IndexError��self�stmtsr s �j/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/astroid/nodes/_base_nodes.py�next_siblingzStatement.next_sibling'