class_docstr: Node configuration.
  
  name: node name
  contents: a list of contents - attributes and child nodes
  See comment at the top of the configuration file for details.
class_docstr_tok: ["Node","configuration",".","name",":","node","name","contents",":","a","list","of","contents","-","attributes","and","child","nodes","See","comment","at","the","top","of","the","configuration","file","for","details","."]
code: def generate_source(self):
      src = self._gen_init()
      src += "\n" + self._gen_children()
      src += "\n" + self._gen_iter()
      src += "\n" + self._gen_attr_names()
      return src
  
file_path: catboost/contrib/python/pycparser/py3/pycparser/_ast_gen.py
imports: from string import Template
label_desc: Use image node_id 2 for calling the NodeCfg obj's underlying member method code with example usage: obj.generate_source() and returns: src