Ë
    Ñwìi¹
  ã                   ó2   — d dl mZ d dlmZ  G d„ de«      Zy)é   )Ú	NodeMixin)Ú_reprc                   ó   — e Zd ZdZdd„Zd„ Zy)ÚNodeuÈ  
    A simple tree node with a `name` and any `kwargs`.

    Args:
        name: A name or any other object this node can reference to as identifier.

    Keyword Args:
        parent: Reference to parent node.
        children: Iterable with child nodes.
        *: Any other given attribute is just stored as object attribute.

    Other than :any:`AnyNode` this class has at least the `name` attribute,
    to distinguish between different instances.

    The `parent` attribute refers the parent node:

    >>> from anytree import Node, RenderTree
    >>> root = Node("root")
    >>> s0 = Node("sub0", parent=root)
    >>> s0b = Node("sub0B", parent=s0, foo=4, bar=109)
    >>> s0a = Node("sub0A", parent=s0)
    >>> s1 = Node("sub1", parent=root)
    >>> s1a = Node("sub1A", parent=s1)
    >>> s1b = Node("sub1B", parent=s1, bar=8)
    >>> s1c = Node("sub1C", parent=s1)
    >>> s1ca = Node("sub1Ca", parent=s1c)

    >>> print(RenderTree(root))
    Node('/root')
    â”œâ”€â”€ Node('/root/sub0')
    â”‚   â”œâ”€â”€ Node('/root/sub0/sub0B', bar=109, foo=4)
    â”‚   â””â”€â”€ Node('/root/sub0/sub0A')
    â””â”€â”€ Node('/root/sub1')
        â”œâ”€â”€ Node('/root/sub1/sub1A')
        â”œâ”€â”€ Node('/root/sub1/sub1B', bar=8)
        â””â”€â”€ Node('/root/sub1/sub1C')
            â””â”€â”€ Node('/root/sub1/sub1C/sub1Ca')

    The same tree can be constructed by using the `children` attribute:

    >>> root = Node("root", children=[
    ...     Node("sub0", children=[
    ...         Node("sub0B", bar=109, foo=4),
    ...         Node("sub0A", children=None),
    ...     ]),
    ...     Node("sub1", children=[
    ...         Node("sub1A"),
    ...         Node("sub1B", bar=8, children=[]),
    ...         Node("sub1C", children=[
    ...             Node("sub1Ca"),
    ...         ]),
    ...     ]),
    ... ])

    >>> print(RenderTree(root))
    Node('/root')
    â”œâ”€â”€ Node('/root/sub0')
    â”‚   â”œâ”€â”€ Node('/root/sub0/sub0B', bar=109, foo=4)
    â”‚   â””â”€â”€ Node('/root/sub0/sub0A')
    â””â”€â”€ Node('/root/sub1')
        â”œâ”€â”€ Node('/root/sub1/sub1A')
        â”œâ”€â”€ Node('/root/sub1/sub1B', bar=8)
        â””â”€â”€ Node('/root/sub1/sub1C')
            â””â”€â”€ Node('/root/sub1/sub1C/sub1Ca')
    Nc                 ój   — | j                   j                  |«       || _        || _        |r|| _        y y )N)Ú__dict__ÚupdateÚnameÚparentÚchildren)Úselfr
   r   r   Úkwargss        úb/workspace/moltex-experiments/.pixi/envs/default/lib/python3.12/site-packages/anytree/node/node.pyÚ__init__zNode.__init__H   s1   € Ø�‰×Ñ˜VÔ$ØˆŒ	ØˆŒÙØ$ˆD�Mð ó    c                 óÞ   — dj                  | j                  j                  dg| j                  D �cg c]  }t	        |j
                  «      ‘Œ c}z   «      «      g}t        | |dg¬«      S c c}w )Nz{!r}Ú r
   )ÚargsÚnameblacklist)ÚformatÚ	separatorÚjoinÚpathÚstrr
   r   )r   Únoder   s      r   Ú__repr__zNode.__repr__O   s`   € Ø—‘˜dŸn™n×1Ñ1°2°$ÐUY×U^ÒU^Ó9_ÑU^ÈT¼#¸d¿i¹i½.ÐU^Ñ9_Ñ2_Ó`ÓaÐbˆÜ�T °V°HÔ=Ð=ùò :`s   ±A*)NN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r   r   r      s   „ ñ@óD%ó>r   r   N)Ú	nodemixinr   Úutilr   r   r!   r   r   Ú<module>r$      s   ðÝ  Ý ôL>ˆ9õ L>r   