Edit File: c_ast.cpython-36.opt-1.pyc
3 ��]([������������������@���s��d�dl�Z�G�dd��de�ZG�dd��de�ZG�dd��de�ZG�dd ��d e�ZG�d d��de�ZG�dd ��d e�ZG�dd��de�ZG�dd��de�Z G�dd��de�Z G�dd��de�ZG�dd��de�ZG�dd��de�Z G�dd��de�ZG�dd��de�ZG�dd��de�ZG�d d!��d!e�ZG�d"d#��d#e�ZG�d$d%��d%e�ZG�d&d'��d'e�ZG�d(d)��d)e�ZG�d*d+��d+e�ZG�d,d-��d-e�ZG�d.d/��d/e�ZG�d0d1��d1e�ZG�d2d3��d3e�ZG�d4d5��d5e�ZG�d6d7��d7e�ZG�d8d9��d9e�ZG�d:d;��d;e�ZG�d<d=��d=e�ZG�d>d?��d?e�Z G�d@dA��dAe�Z!G�dBdC��dCe�Z"G�dDdE��dEe�Z#G�dFdG��dGe�Z$G�dHdI��dIe�Z%G�dJdK��dKe�Z&G�dLdM��dMe�Z'G�dNdO��dOe�Z(G�dPdQ��dQe�Z)G�dRdS��dSe�Z*G�dTdU��dUe�Z+G�dVdW��dWe�Z,G�dXdY��dYe�Z-G�dZd[��d[e�Z.G�d\d]��d]e�Z/G�d^d_��d_e�Z0G�d`da��dae�Z1dS�)b�����Nc���������������@���s0���e�Zd�Zf�Zdd��Zejdddddfdd�ZdS�)�Nodec�������������C���s���dS�)z3 A sequence of all children that are Nodes N��)�selfr���r����/usr/lib/python3.6/c_ast.py�children���s����z Node.childrenr���FNc������� ��� ������s��d|�}|r4|dk r4|j�|��jj�d�|�d���n|j�|��jj�d�����jr�|r~��fdd���jD��}djd d ��|D���} n(��fdd���jD��} djdd ��| D���} |j�| ��|r�|j�d ��j���|j�d��x.��j��D�]"\}}|j||d�||||d��q�W�dS�)a��� Pretty print the Node and all its attributes and children (recursively) to a buffer. buf: Open IO buffer into which the Node is printed. offset: Initial offset (amount of leading spaces) attrnames: True if you want to see the attribute names in name=value pairs. False to only see the values. nodenames: True if you want to see the actual node names within their parents. showcoord: Do you want the coordinates of each Node to be displayed. � Nz <z>: z: c����������������s���g�|�]}|t���|�f�qS�r���)�getattr)�.0�n)r���r���r���� <listcomp>=���s����zNode.show.<locals>.<listcomp>z, c�������������s���s���|�]}d�|�V��qdS�)z%s=%sNr���)r ���Znvr���r���r���� <genexpr>>���s����zNode.show.<locals>.<genexpr>c����������������s���g�|�]}t���|��qS�r���)r���)r ���r ���)r���r���r���r���@���s����c�������������s���s���|�]}d�|�V��qdS�)z%sNr���)r ����vr���r���r���r���A���s����z (at %s)� ����)�offset� attrnames� nodenames� showcoord� _my_node_name)�write� __class__�__name__� attr_names�join�coordr����show) r���Zbufr���r���r���r���r���ZleadZnvlistZattrstrZvlistZ child_name�childr���)r���r���r������s,���� z Node.show)r���� __module__�__qualname__� __slots__r����sys�stdoutr���r���r���r���r���r������s���r���c���������������@���s ���e�Zd�ZdZdd��Zdd��ZdS�)�NodeVisitora-�� A base NodeVisitor class for visiting c_ast nodes. Subclass it and define your own visit_XXX methods, where XXX is the class name you want to visit with these methods. For example: class ConstantVisitor(NodeVisitor): def __init__(self): self.values = [] def visit_Constant(self, node): self.values.append(node.value) Creates a list of values of all the constant nodes encountered below the given node. To use it: cv = ConstantVisitor() cv.visit(node) Notes: * generic_visit() will be called for AST nodes for which no visit_XXX method was defined. * The children of nodes for which a visit_XXX was defined will not be visited - if you need this, call generic_visit() on the node. You can use: NodeVisitor.generic_visit(self, node) * Modeled after Python's own AST visiting facilities (the ast module of Python 3.0) c�������������C���s"���d|j�j�}t|�||�j�}||�S�)z Visit a node. Zvisit_)r���r���r���� generic_visit)r����node�methodZvisitorr���r���r����visits���s����zNodeVisitor.visitc�������������C���s$���x|j���D�]\}}|�j|��q W�dS�)zy Called if no explicit visitor function exists for a node. Implements preorder visiting of the node. N)r���r&���)r���r$���Zc_name�cr���r���r���r#���z���s����zNodeVisitor.generic_visitN)r���r���r����__doc__r&���r#���r���r���r���r���r"���R���s��� r"���c���������������@���s&���e�Zd�ZdZddd�Zd d ��Zd ZdS�)� ArrayDecl�type�dim� dim_qualsr����__weakref__Nc�������������C���s���||�_�||�_||�_||�_d�S�)N)r*���r+���r,���r���)r���r*���r+���r,���r���r���r���r����__init__����s����zArrayDecl.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)Nr*���r+���)r*����appendr+����tuple)r����nodelistr���r���r���r�������s���� � �zArrayDecl.children)r*���r+���r,���r���r-���)N)r,���)r���r���r���r���r.���r���r���r���r���r���r���r)�������s��� r)���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��Zf�ZdS�)�ArrayRef�name� subscriptr���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r3���r4���r���)r���r3���r4���r���r���r���r���r.�������s����zArrayRef.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)Nr3���r4���)r3���r/���r4���r0���)r���r1���r���r���r���r�������s���� � �zArrayRef.children)r3���r4���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���r2�������s��� r2���c���������������@���s&���e�Zd�ZdZddd�Zd d ��Zd ZdS�)� Assignment�op�lvalue�rvaluer���r-���Nc�������������C���s���||�_�||�_||�_||�_d�S�)N)r6���r7���r8���r���)r���r6���r7���r8���r���r���r���r���r.�������s����zAssignment.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)Nr7���r8���)r7���r/���r8���r0���)r���r1���r���r���r���r�������s���� � �zAssignment.children)r6���r7���r8���r���r-���)N)r6���)r���r���r���r���r.���r���r���r���r���r���r���r5�������s��� r5���c���������������@���s&���e�Zd�ZdZddd�Zd d ��Zd ZdS�)�BinaryOpr6����left�rightr���r-���Nc�������������C���s���||�_�||�_||�_||�_d�S�)N)r6���r:���r;���r���)r���r6���r:���r;���r���r���r���r���r.�������s����zBinaryOp.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)Nr:���r;���)r:���r/���r;���r0���)r���r1���r���r���r���r�������s���� � �zBinaryOp.children)r6���r:���r;���r���r-���)N)r6���)r���r���r���r���r.���r���r���r���r���r���r���r9�������s��� r9���c���������������@���s&���e�Zd�ZdZd dd�Zdd��Zf�ZdS�) �Breakr���r-���Nc�������������C���s ���||�_�d�S�)N)r���)r���r���r���r���r���r.�������s����zBreak.__init__c�������������C���s���f�S�)Nr���)r���r���r���r���r�������s����zBreak.children)r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���r<�������s��� r<���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��Zf�ZdS�)�Case�expr�stmtsr���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r>���r?���r���)r���r>���r?���r���r���r���r���r.�������s����z Case.__init__c�������������C���sT���g�}|�j�d�k r|jd|�j�f��x,t|�jp*g��D�]\}}|jd|�|f��q.W�t|�S�)Nr>���z stmts[%d])r>���r/���� enumerater?���r0���)r���r1����ir���r���r���r���r�������s���� �z Case.children)r>���r?���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���r=�������s��� r=���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��Zf�ZdS�)�Cast�to_typer>���r���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)rC���r>���r���)r���rC���r>���r���r���r���r���r.�������s����z Cast.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)NrC���r>���)rC���r/���r>���r0���)r���r1���r���r���r���r�������s���� � �z Cast.children)rC���r>���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rB�������s��� rB���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��Zf�ZdS�)�Compound�block_itemsr���r-���Nc�������������C���s���||�_�||�_d�S�)N)rE���r���)r���rE���r���r���r���r���r.�������s����zCompound.__init__c�������������C���s:���g�}x,t�|�jpg��D�]\}}|jd|�|f��qW�t|�S�)Nzblock_items[%d])r@���rE���r/���r0���)r���r1���rA���r���r���r���r���r�������s����zCompound.children)rE���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rD�������s��� rD���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��Zf�ZdS�)�CompoundLiteralr*����initr���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r*���rG���r���)r���r*���rG���r���r���r���r���r.�������s����zCompoundLiteral.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)Nr*���rG���)r*���r/���rG���r0���)r���r1���r���r���r���r�������s���� � �zCompoundLiteral.children)r*���rG���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rF�������s��� rF���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��ZdZdS�) �Constantr*����valuer���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r*���rI���r���)r���r*���rI���r���r���r���r���r.��� ��s����zConstant.__init__c�������������C���s���g�}t�|�S�)N)r0���)r���r1���r���r���r���r�����s����zConstant.children)r*���rI���r���r-���)N)r*���rI���)r���r���r���r���r.���r���r���r���r���r���r���rH�����s��� rH���c���������������@���s&���e�Zd�ZdZd dd�Zdd��Zf�ZdS�) �Continuer���r-���Nc�������������C���s ���||�_�d�S�)N)r���)r���r���r���r���r���r.�����s����zContinue.__init__c�������������C���s���f�S�)Nr���)r���r���r���r���r�����s����zContinue.children)r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rJ�����s��� rJ���c������������ ���@���s&���e�Zd�ZdZddd�Zd d��ZdZd S�)�Declr3����quals�storage�funcspecr*���rG����bitsizer���r-���Nc ������� ������C���s4���||�_�||�_||�_||�_||�_||�_||�_||�_d�S�)N)r3���rL���rM���rN���r*���rG���rO���r���) r���r3���rL���rM���rN���r*���rG���rO���r���r���r���r���r.��� ��s����z Decl.__init__c�������������C���sZ���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��|�jd�k rR|jd|�jf��t|�S�)Nr*���rG���rO���)r*���r/���rG���rO���r0���)r���r1���r���r���r���r���*��s���� � � �z Decl.children) r3���rL���rM���rN���r*���rG���rO���r���r-���)N)r3���rL���rM���rN���)r���r���r���r���r.���r���r���r���r���r���r���rK�����s��� rK���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��Zf�ZdS�)�DeclList�declsr���r-���Nc�������������C���s���||�_�||�_d�S�)N)rQ���r���)r���rQ���r���r���r���r���r.���5��s����zDeclList.__init__c�������������C���s:���g�}x,t�|�jpg��D�]\}}|jd|�|f��qW�t|�S�)Nz decls[%d])r@���rQ���r/���r0���)r���r1���rA���r���r���r���r���r���9��s����zDeclList.children)rQ���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rP���3��s��� rP���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��Zf�ZdS�)�Defaultr?���r���r-���Nc�������������C���s���||�_�||�_d�S�)N)r?���r���)r���r?���r���r���r���r���r.���C��s����zDefault.__init__c�������������C���s:���g�}x,t�|�jpg��D�]\}}|jd|�|f��qW�t|�S�)Nz stmts[%d])r@���r?���r/���r0���)r���r1���rA���r���r���r���r���r���G��s����zDefault.children)r?���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rR���A��s��� rR���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��Zf�ZdS�)�DoWhile�cond�stmtr���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)rT���rU���r���)r���rT���rU���r���r���r���r���r.���Q��s����zDoWhile.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)NrT���rU���)rT���r/���rU���r0���)r���r1���r���r���r���r���V��s���� � �zDoWhile.children)rT���rU���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rS���O��s��� rS���c���������������@���s&���e�Zd�ZdZd dd�Zdd��Zf�ZdS�) � EllipsisParamr���r-���Nc�������������C���s ���||�_�d�S�)N)r���)r���r���r���r���r���r.���`��s����zEllipsisParam.__init__c�������������C���s���f�S�)Nr���)r���r���r���r���r���c��s����zEllipsisParam.children)r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rV���^��s��� rV���c���������������@���s&���e�Zd�ZdZd dd�Zdd��Zf�ZdS�) �EmptyStatementr���r-���Nc�������������C���s ���||�_�d�S�)N)r���)r���r���r���r���r���r.���j��s����zEmptyStatement.__init__c�������������C���s���f�S�)Nr���)r���r���r���r���r���m��s����zEmptyStatement.children)r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rW���h��s��� rW���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��ZdZdS�) �Enumr3����valuesr���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r3���rY���r���)r���r3���rY���r���r���r���r���r.���t��s����z Enum.__init__c�������������C���s&���g�}|�j�d�k r|jd|�j�f��t|�S�)NrY���)rY���r/���r0���)r���r1���r���r���r���r���y��s���� �z Enum.children)r3���rY���r���r-���)N)r3���)r���r���r���r���r.���r���r���r���r���r���r���rX���r��s��� rX���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��ZdZdS�) � Enumeratorr3���rI���r���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r3���rI���r���)r���r3���rI���r���r���r���r���r.������s����zEnumerator.__init__c�������������C���s&���g�}|�j�d�k r|jd|�j�f��t|�S�)NrI���)rI���r/���r0���)r���r1���r���r���r���r������s���� �zEnumerator.children)r3���rI���r���r-���)N)r3���)r���r���r���r���r.���r���r���r���r���r���r���rZ������s��� rZ���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��Zf�ZdS�)�EnumeratorList�enumeratorsr���r-���Nc�������������C���s���||�_�||�_d�S�)N)r\���r���)r���r\���r���r���r���r���r.������s����zEnumeratorList.__init__c�������������C���s:���g�}x,t�|�jpg��D�]\}}|jd|�|f��qW�t|�S�)Nzenumerators[%d])r@���r\���r/���r0���)r���r1���rA���r���r���r���r���r������s����zEnumeratorList.children)r\���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���r[������s��� r[���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��Zf�ZdS�)�ExprList�exprsr���r-���Nc�������������C���s���||�_�||�_d�S�)N)r^���r���)r���r^���r���r���r���r���r.������s����zExprList.__init__c�������������C���s:���g�}x,t�|�jpg��D�]\}}|jd|�|f��qW�t|�S�)Nz exprs[%d])r@���r^���r/���r0���)r���r1���rA���r���r���r���r���r������s����zExprList.children)r^���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���r]������s��� r]���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��Zf�ZdS�)�FileAST�extr���r-���Nc�������������C���s���||�_�||�_d�S�)N)r`���r���)r���r`���r���r���r���r���r.������s����zFileAST.__init__c�������������C���s:���g�}x,t�|�jpg��D�]\}}|jd|�|f��qW�t|�S�)Nzext[%d])r@���r`���r/���r0���)r���r1���rA���r���r���r���r���r������s����zFileAST.children)r`���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���r_������s��� r_���c���������������@���s&���e�Zd�ZdZd dd �Zd d��Zf�ZdS�)�ForrG���rT����nextrU���r���r-���Nc�������������C���s"���||�_�||�_||�_||�_||�_d�S�)N)rG���rT���rb���rU���r���)r���rG���rT���rb���rU���r���r���r���r���r.������s ����zFor.__init__c�������������C���st���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��|�jd�k rR|jd|�jf��|�jd�k rl|jd|�jf��t|�S�)NrG���rT���rb���rU���)rG���r/���rT���rb���rU���r0���)r���r1���r���r���r���r������s���� � � � �zFor.children)rG���rT���rb���rU���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���ra������s��� ra���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��Zf�ZdS�)�FuncCallr3����argsr���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r3���rd���r���)r���r3���rd���r���r���r���r���r.������s����zFuncCall.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)Nr3���rd���)r3���r/���rd���r0���)r���r1���r���r���r���r������s���� � �zFuncCall.children)r3���rd���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rc������s��� rc���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��Zf�ZdS�)�FuncDeclrd���r*���r���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)rd���r*���r���)r���rd���r*���r���r���r���r���r.������s����zFuncDecl.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)Nrd���r*���)rd���r/���r*���r0���)r���r1���r���r���r���r������s���� � �zFuncDecl.children)rd���r*���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���re������s��� re���c���������������@���s&���e�Zd�ZdZddd�Zd d ��Zf�ZdS�) �FuncDef�decl�param_decls�bodyr���r-���Nc�������������C���s���||�_�||�_||�_||�_d�S�)N)rg���rh���ri���r���)r���rg���rh���ri���r���r���r���r���r.������s����zFuncDef.__init__c�������������C���sn���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��x,t|�jpDg��D�]\}}|jd|�|f��qHW�t|�S�)Nrg���ri���zparam_decls[%d])rg���r/���ri���r@���rh���r0���)r���r1���rA���r���r���r���r���r������s���� � �zFuncDef.children)rg���rh���ri���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rf������s��� rf���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��ZdZdS�)�Gotor3���r���r-���Nc�������������C���s���||�_�||�_d�S�)N)r3���r���)r���r3���r���r���r���r���r.������s����z Goto.__init__c�������������C���s���g�}t�|�S�)N)r0���)r���r1���r���r���r���r�����s����z Goto.children)r3���r���r-���)N)r3���)r���r���r���r���r.���r���r���r���r���r���r���rj������s��� rj���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��ZdZdS�)�IDr3���r���r-���Nc�������������C���s���||�_�||�_d�S�)N)r3���r���)r���r3���r���r���r���r���r.��� ��s����zID.__init__c�������������C���s���g�}t�|�S�)N)r0���)r���r1���r���r���r���r��� ��s����zID.children)r3���r���r-���)N)r3���)r���r���r���r���r.���r���r���r���r���r���r���rk�����s��� rk���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��ZdZdS�)�IdentifierType�namesr���r-���Nc�������������C���s���||�_�||�_d�S�)N)rm���r���)r���rm���r���r���r���r���r.�����s����zIdentifierType.__init__c�������������C���s���g�}t�|�S�)N)r0���)r���r1���r���r���r���r�����s����zIdentifierType.children)rm���r���r-���)N)rm���)r���r���r���r���r.���r���r���r���r���r���r���rl�����s��� rl���c���������������@���s&���e�Zd�ZdZddd�Zd d ��Zf�ZdS�) �IfrT����iftrue�iffalser���r-���Nc�������������C���s���||�_�||�_||�_||�_d�S�)N)rT���ro���rp���r���)r���rT���ro���rp���r���r���r���r���r.���!��s����zIf.__init__c�������������C���sZ���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��|�jd�k rR|jd|�jf��t|�S�)NrT���ro���rp���)rT���r/���ro���rp���r0���)r���r1���r���r���r���r���'��s���� � � �zIf.children)rT���ro���rp���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rn�����s��� rn���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��Zf�ZdS�)�InitListr^���r���r-���Nc�������������C���s���||�_�||�_d�S�)N)r^���r���)r���r^���r���r���r���r���r.���2��s����zInitList.__init__c�������������C���s:���g�}x,t�|�jpg��D�]\}}|jd|�|f��qW�t|�S�)Nz exprs[%d])r@���r^���r/���r0���)r���r1���rA���r���r���r���r���r���6��s����zInitList.children)r^���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rq���0��s��� rq���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��ZdZdS�) �Labelr3���rU���r���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r3���rU���r���)r���r3���rU���r���r���r���r���r.���@��s����zLabel.__init__c�������������C���s&���g�}|�j�d�k r|jd|�j�f��t|�S�)NrU���)rU���r/���r0���)r���r1���r���r���r���r���E��s���� �zLabel.children)r3���rU���r���r-���)N)r3���)r���r���r���r���r.���r���r���r���r���r���r���rr���>��s��� rr���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��Zf�ZdS�)�NamedInitializerr3���r>���r���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r3���r>���r���)r���r3���r>���r���r���r���r���r.���N��s����zNamedInitializer.__init__c�������������C���sT���g�}|�j�d�k r|jd|�j�f��x,t|�jp*g��D�]\}}|jd|�|f��q.W�t|�S�)Nr>���zname[%d])r>���r/���r@���r3���r0���)r���r1���rA���r���r���r���r���r���S��s���� �zNamedInitializer.children)r3���r>���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rs���L��s��� rs���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��Zf�ZdS�)� ParamList�paramsr���r-���Nc�������������C���s���||�_�||�_d�S�)N)ru���r���)r���ru���r���r���r���r���r.���^��s����zParamList.__init__c�������������C���s:���g�}x,t�|�jpg��D�]\}}|jd|�|f��qW�t|�S�)Nz params[%d])r@���ru���r/���r0���)r���r1���rA���r���r���r���r���r���b��s����zParamList.children)ru���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rt���\��s��� rt���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��ZdZdS�) �PtrDeclrL���r*���r���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)rL���r*���r���)r���rL���r*���r���r���r���r���r.���l��s����zPtrDecl.__init__c�������������C���s&���g�}|�j�d�k r|jd|�j�f��t|�S�)Nr*���)r*���r/���r0���)r���r1���r���r���r���r���q��s���� �zPtrDecl.children)rL���r*���r���r-���)N)rL���)r���r���r���r���r.���r���r���r���r���r���r���rv���j��s��� rv���c���������������@���s&���e�Zd�Zd Zd dd�Zdd��Zf�ZdS�)�Returnr>���r���r-���Nc�������������C���s���||�_�||�_d�S�)N)r>���r���)r���r>���r���r���r���r���r.���z��s����zReturn.__init__c�������������C���s&���g�}|�j�d�k r|jd|�j�f��t|�S�)Nr>���)r>���r/���r0���)r���r1���r���r���r���r���~��s���� �zReturn.children)r>���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���rw���x��s��� rw���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��ZdZdS�) �Structr3���rQ���r���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r3���rQ���r���)r���r3���rQ���r���r���r���r���r.������s����zStruct.__init__c�������������C���s:���g�}x,t�|�jpg��D�]\}}|jd|�|f��qW�t|�S�)Nz decls[%d])r@���rQ���r/���r0���)r���r1���rA���r���r���r���r���r������s����zStruct.children)r3���rQ���r���r-���)N)r3���)r���r���r���r���r.���r���r���r���r���r���r���rx������s��� rx���c���������������@���s&���e�Zd�ZdZddd�Zd d ��Zd ZdS�)� StructRefr3���r*����fieldr���r-���Nc�������������C���s���||�_�||�_||�_||�_d�S�)N)r3���r*���rz���r���)r���r3���r*���rz���r���r���r���r���r.������s����zStructRef.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)Nr3���rz���)r3���r/���rz���r0���)r���r1���r���r���r���r������s���� � �zStructRef.children)r3���r*���rz���r���r-���)N)r*���)r���r���r���r���r.���r���r���r���r���r���r���ry������s��� ry���c���������������@���s&���e�Zd�Zd Zddd�Zdd ��Zf�ZdS�)�SwitchrT���rU���r���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)rT���rU���r���)r���rT���rU���r���r���r���r���r.������s����zSwitch.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)NrT���rU���)rT���r/���rU���r0���)r���r1���r���r���r���r������s���� � �zSwitch.children)rT���rU���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���r{������s��� r{���c���������������@���s&���e�Zd�ZdZddd�Zd d ��Zf�ZdS�) � TernaryOprT���ro���rp���r���r-���Nc�������������C���s���||�_�||�_||�_||�_d�S�)N)rT���ro���rp���r���)r���rT���ro���rp���r���r���r���r���r.������s����zTernaryOp.__init__c�������������C���sZ���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��|�jd�k rR|jd|�jf��t|�S�)NrT���ro���rp���)rT���r/���ro���rp���r0���)r���r1���r���r���r���r������s���� � � �zTernaryOp.children)rT���ro���rp���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���r|������s��� r|���c���������������@���s&���e�Zd�ZdZddd�Zd d ��Zd ZdS�)�TypeDecl�declnamerL���r*���r���r-���Nc�������������C���s���||�_�||�_||�_||�_d�S�)N)r~���rL���r*���r���)r���r~���rL���r*���r���r���r���r���r.������s����zTypeDecl.__init__c�������������C���s&���g�}|�j�d�k r|jd|�j�f��t|�S�)Nr*���)r*���r/���r0���)r���r1���r���r���r���r������s���� �zTypeDecl.children)r~���rL���r*���r���r-���)N)r~���rL���)r���r���r���r���r.���r���r���r���r���r���r���r}������s��� r}���c���������������@���s&���e�Zd�ZdZd dd �Zd d��ZdZdS�)�Typedefr3���rL���rM���r*���r���r-���Nc�������������C���s"���||�_�||�_||�_||�_||�_d�S�)N)r3���rL���rM���r*���r���)r���r3���rL���rM���r*���r���r���r���r���r.������s ����zTypedef.__init__c�������������C���s&���g�}|�j�d�k r|jd|�j�f��t|�S�)Nr*���)r*���r/���r0���)r���r1���r���r���r���r������s���� �zTypedef.children)r3���rL���rM���r*���r���r-���)N)r3���rL���rM���)r���r���r���r���r.���r���r���r���r���r���r���r������s��� r���c���������������@���s&���e�Zd�ZdZddd�Zd d ��Zd ZdS�)�Typenamer3���rL���r*���r���r-���Nc�������������C���s���||�_�||�_||�_||�_d�S�)N)r3���rL���r*���r���)r���r3���rL���r*���r���r���r���r���r.������s����zTypename.__init__c�������������C���s&���g�}|�j�d�k r|jd|�j�f��t|�S�)Nr*���)r*���r/���r0���)r���r1���r���r���r���r������s���� �zTypename.children)r3���rL���r*���r���r-���)N)r3���rL���)r���r���r���r���r.���r���r���r���r���r���r���r�������s��� r����c���������������@���s&���e�Zd�Zd Zddd�Zdd ��ZdZdS�) �UnaryOpr6���r>���r���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r6���r>���r���)r���r6���r>���r���r���r���r���r.������s����zUnaryOp.__init__c�������������C���s&���g�}|�j�d�k r|jd|�j�f��t|�S�)Nr>���)r>���r/���r0���)r���r1���r���r���r���r������s���� �zUnaryOp.children)r6���r>���r���r-���)N)r6���)r���r���r���r���r.���r���r���r���r���r���r���r�������s��� r����c���������������@���s&���e�Zd�Zd Zddd�Zdd ��ZdZdS�) �Unionr3���rQ���r���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)r3���rQ���r���)r���r3���rQ���r���r���r���r���r.�����s����zUnion.__init__c�������������C���s:���g�}x,t�|�jpg��D�]\}}|jd|�|f��qW�t|�S�)Nz decls[%d])r@���rQ���r/���r0���)r���r1���rA���r���r���r���r���r�����s����zUnion.children)r3���rQ���r���r-���)N)r3���)r���r���r���r���r.���r���r���r���r���r���r���r�������s��� r����c���������������@���s&���e�Zd�Zd Zddd�Zdd ��Zf�ZdS�)�WhilerT���rU���r���r-���Nc�������������C���s���||�_�||�_||�_d�S�)N)rT���rU���r���)r���rT���rU���r���r���r���r���r.�����s����zWhile.__init__c�������������C���s@���g�}|�j�d�k r|jd|�j�f��|�jd�k r8|jd|�jf��t|�S�)NrT���rU���)rT���r/���rU���r0���)r���r1���r���r���r���r�����s���� � �zWhile.children)rT���rU���r���r-���)N)r���r���r���r���r.���r���r���r���r���r���r���r������s��� r����)2r ����objectr���r"���r)���r2���r5���r9���r<���r=���rB���rD���rF���rH���rJ���rK���rP���rR���rS���rV���rW���rX���rZ���r[���r]���r_���ra���rc���re���rf���rj���rk���rl���rn���rq���rr���rs���rt���rv���rw���rx���ry���r{���r|���r}���r���r����r����r����r����r���r���r���r����<module>���s`���<0