Module python_ast::tree

source ·

Re-exports

Modules

  • The module defines Python-syntax arguments and maps them into Rust-syntax versions.
  • A lot of languages, Python included, have a concept of a class, which combines the definition of a data type with an interface. In dynamic languages like Python, the class itself is a memory object, that can be permutated at runtime, however, this is probably usually a bad idea. Classes can contain:

Structs

  • Represents a module as imported from an ast.

Enums