File: //lib/python3.6/site-packages/pycparser/__pycache__/c_ast.cpython-36.pyc
3
]([ @ s d dl Z G dd deZG dd deZG dd deZG dd d eZG d
d deZG dd
d
eZG dd deZG dd deZ G dd deZ
G dd deZG dd deZG dd deZ
G dd deZG dd deZG dd deZG d d! d!eZG d"d# d#eZG d$d% d%eZG d&d' d'eZG d(d) d)eZG d*d+ d+eZG d,d- d-eZG d.d/ d/eZG d0d1 d1eZG d2d3 d3eZG d4d5 d5eZG d6d7 d7eZG d8d9 d9eZG d:d; d;eZG d<d= d=eZG d>d? d?eZ G d@dA dAeZ!G dBdC dCeZ"G dDdE dEeZ#G dFdG dGeZ$G dHdI dIeZ%G dJdK dKeZ&G dLdM dMeZ'G dNdO dOeZ(G dPdQ dQeZ)G dRdS dSeZ*G dTdU dUeZ+G dVdW dWeZ,G dXdY dYeZ-G dZd[ d[eZ.G d\d] d]eZ/G d^d_ d_eZ0G d`da daeZ1dS )b Nc @ s0 e Zd Zf Zdd ZejdddddfddZdS )Nodec C s dS )z3 A sequence of all children that are Nodes
N )selfr r /usr/lib/python3.6/c_ast.pychildren 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 qW 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 |fqS r )getattr).0n)r r r
<listcomp>= s zNode.show.<locals>.<listcomp>z, c s s | ]}d | V qdS )z%s=%sNr )r Znvr r r <genexpr>>