class_docstr: A compiler that caches code compiled from interactive statements.
      
class_docstr_tok: ["A","compiler","that","caches","code","compiled","from","interactive","statements","."]
docstr: Parse code to an AST with the current compiler flags active.
  
  Arguments are exactly the same as ast.parse (in the standard library),
  and are passed to the built-in compile function.
docstr_tok: ["Parse","code","to","an","AST","with","the","current","compiler","flags","active",".","Arguments","are","exactly","the","same","as","ast.parse","(","in","the","standard","library",")",",","and","are","passed","to","the","built-in","compile","function","."]
code: def ast_parse(self, source, filename="<unknown>", symbol="exec"):
      """Parse code to an AST with the current compiler flags active.
  
      Arguments are exactly the same as ast.parse (in the standard library),
      and are passed to the built-in compile function."""
      return compile(
          source, filename, symbol, self.flags | PyCF_ONLY_AST, 1
      )
  
file_path: catboost/contrib/python/ipython/py2/IPython/core/compilerop.py
imports: from __future__ import print_function
  import __future__
  from ast import PyCF_ONLY_AST
  import codeop
  import functools
  import hashlib
  import linecache
  import operator
  import time
label_desc: Use image node_id 2 for calling the CachingCompiler obj's underlying member method code with example usage: obj.ast_parse(source, filename, symbol) and returns: compile