pydocstring 0.1.9

A zero-dependency Rust parser for Python docstrings (Google and NumPy styles) with a unified syntax tree and byte-precise source locations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Google-style docstring support.
//!
//! This module contains the AST types and parser for Google-style docstrings.

pub mod kind;
pub mod nodes;
pub mod parser;
pub mod to_model;

pub use crate::parse::visitor::{DocstringVisitor, walk};
pub use kind::GoogleSectionKind;
pub use nodes::{
    GoogleArg, GoogleAttribute, GoogleDocstring, GoogleException, GoogleMethod, GoogleReturn, GoogleSection,
    GoogleSectionHeader, GoogleSeeAlsoItem, GoogleWarning, GoogleYield,
};
pub use parser::parse_google;