Module python_ast::ast::node

source ·
Expand description

A module for AST elements that represent a position in a source file. Implementing thie Node trait allows an ergonomic means of extracting line and column information from an item.

Traits§

  • A trait for AST elements that represent a position in a source file. Implementing this trait allows an ergonomic means of extracting line and column information from an item.