Module python_parser

Module python_parser 

Source
Expand description

Full Python AST Parser using rustpython-parser

This module provides complete Python 3.x parsing capabilities by wrapping rustpython-parser and converting its AST to our internal representation.

Key features:

  • Full Python 3.10+ syntax support
  • Source location tracking (line/column numbers)
  • Comprehensive error reporting with context
  • Support for all Python constructs (modules, functions, classes, etc.)

Structsยง

ParseError
Parse error with source location information
PythonParser
Main Python parser that wraps rustpython-parser