def METHOD_NAME(self, parent, index):
     """
     Add the line number to the node.
     https://stackoverflow.com/questions/13319067/parsing-yaml-return-with-line-number
     """
     line = self.line
     node = yaml.Loader.METHOD_NAME(self, parent, index)
     node.line = line + 1
     return node