Lines Matching refs:attr
185 for attr in 'lineno', 'col_offset', 'end_lineno', 'end_col_offset':
186 if attr in old_node._attributes and attr in new_node._attributes:
187 value = getattr(old_node, attr, None)
191 hasattr(old_node, attr) and attr.startswith("end_")
193 setattr(new_node, attr, value)
1470 self.write(node.attr)
1676 attr, pattern = pair
1677 self.write(f"{attr}=")