docstr: Initialize the code generator from a configuration
  file.
docstr_tok: ["Initialize","the","code","generator","from","a","configuration","file","."]
code: def __init__(self, cfg_filename="_c_ast.cfg"):
      """Initialize the code generator from a configuration
      file.
      """
      self.cfg_filename = cfg_filename
      self.node_cfg = [
          NodeCfg(name, contents)
          for (name, contents) in self.parse_cfgfile(cfg_filename)
      ]
  
file_path: catboost/contrib/python/pycparser/py2/pycparser/_ast_gen.py
imports: from string import Template
label_desc: Use image node_id 1 to create a new ASTCodeGenerator object from inherited base classes: object with example: obj = ASTCodeGenerator(cfg_filename)