code: def default(self, node):
          
          if hasattr(node, 'linestart'):
              if node.linestart:
                  self.source_linemap[self.current_line_number] = node.linestart
          return super(LineMapWalker, self).default(node)
docs: Augment write default routine to record line number changes