Python logo

Table of Contents

  • ast — Abstract syntax trees
    • Abstract grammar
    • Node classes
      • Root nodes
      • Literals
      • Variables
      • Expressions
        • Subscripting
        • Comprehensions
      • Statements
        • Imports
      • Control flow
      • Pattern matching
      • Type annotations
      • Type parameters
      • Function and class definitions
      • Async and await
    • ast helpers
    • Compiler flags
    • Command-line usage

Previous topic

Python Language Services

Next topic

symtable — Access to the compiler’s symbol tables