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 __init__(self, name, contents):
      self.name = name
      self.all_entries = []
      self.attr = []
      self.child = []
      self.seq_child = []
  
      for entry in contents:
          clean_entry = entry.rstrip("*")
          self.all_entries.append(clean_entry)
  
          if entry.endswith("**"):
              self.seq_child.append(clean_entry)
          elif entry.endswith("*"):
              self.child.append(clean_entry)
          else:
              self.attr.append(entry)
  
file_path: catboost/contrib/python/pycparser/py3/pycparser/_ast_gen.py
imports: from string import Template
label_desc: Use image node_id 1 to create a new NodeCfg object from inherited base classes: object with example: obj = NodeCfg(name, contents)