class_docstr: This class is used to parse a Python file, it then divides them into a
  class structure of different scopes.
  
  :param pgen_grammar: The grammar object of pgen2. Loaded by load_grammar.
class_docstr_tok: ["This","class","is","used","to","parse","a","Python","file",",","it","then","divides","them","into","a","class","structure","of","different","scopes",".",":","param","pgen_grammar",":","The","grammar","object","of","pgen2",".","Loaded","by","load_grammar","."]
code: def __init__(
      self,
      pgen_grammar,
      error_recovery=True,
      start_nonterminal="file_input",
  ):
      super(Parser, self).__init__(
          pgen_grammar, start_nonterminal, error_recovery=error_recovery
      )
  
      self.syntax_errors = []
      self._omit_dedent_list = []
      self._indent_counter = 0
  
file_path: catboost/contrib/python/parso/py2/parso/python/parser.py
imports: from parso.python import tree
  from parso.python.token import PythonTokenTypes
  from parso.parser import BaseParser
label_desc: Use image node_id 1 to create a new Parser object from inherited base classes: BaseParser with example: obj = Parser(pgen_grammar, error_recovery, start_nonterminal)