toSM n d Z ddlZddlZddlZddlmZ ddlmZm Z ddl mZ ddlm Z ddlmZ dd lmZ d Z G d de Z G d de Zd Z G d d Z G d de Z G d de Z G d de Z G d de Z G d de Z G d de Z G d de Z G d d!e Z G d" d#e Z G d$ d%e! Z"d&Z# G d' d(e Z$ G d) d* Z% G d+ d,e& Z' G d- d.e Z( G d/ d0 Z)dS )1zPython code parser. N)StringIO)chain dropwhilePath)compile)Tuple )log)Parser DefinitionModulePackageFunctionNestedFunctionMethodClassNestedClassAllErrorr ParseErrorc e Zd ZdZd ZdS )r z+An error parsing contents of a Python file.c dS )NzCannot parse file. selfs c/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pydocstyle/parser.py__str__zParseError.__str__! s ## N)__name__ __module____qualname____doc__r r r r r r s) 55$ $ $ $ $r r c e Zd Zd Zd ZdS )UnexpectedTokenErrorc " || _ || _ d S Ntoken expected_kind)r r( r) s r __init__zUnexpectedTokenError.__init__&