관리-도구
편집 파일: __init__.cpython-311.pyc
� �܋f� � � � d Z ddlZddlZddlmZ ddlmZmZ ddlm Z m Z ddlmZm Z ddlmZ ddlmZmZmZmZ dd lmZ dd lmZmZ ddlmZmZmZmZmZm Z ddl!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z= dd l>m?Z?m@Z@ ddlAmBZB ddlmCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMmNZNmOZOmPZPmQZQmRZRmSZSmTZTmUZUmVZVmWZWmXZXmYZYmZZZm[Z[m\Z\m]Z]m^Z^m_Z_m`Z`maZambZbmcZcmdZdmeZemfZfmgZgmhZhmiZimjZjmkZkmlZlmmZmmnZnmoZompZpmqZqmrZrmsZsmtZtmuZumvZvmwZwmxZxmyZymzZzm{Z{m|Z|m}Z}m~Z~mZm�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z� ddl�m�Z� esJ e� e�edd� � � � r4 e�ej� dd� � �" ej� � � ej� � � e_� ej� � � D ] Z�e�j� dk r ede�j� � �� � �!dS )a Python Abstract Syntax Tree New Generation. The aim of this module is to provide a common base representation of python source code for projects such as pychecker, pyreverse, pylint... Well, actually the development of this library is essentially governed by pylint's needs. It mimics the class defined in the python's _ast module with some additional methods and attributes. New nodes instances are not fully compatible with python's _ast. Instance attributes are added by a builder object, which can either generate extended ast (let's call them astroid ;) by visiting an existent ast tree or by inspecting living object. Methods are added by monkey patching ast classes. Main modules are: * nodes and scoped_nodes for more information about methods and attributes added to different node classes * the manager contains a high level object to get astroid trees from source files and living objects. It maintains a cache of previously constructed tree for quick access * builder contains the class responsible to build astroid trees � N)� import_module)�__version__�version)�node_classes�scoped_nodes)� inference�raw_building)�MANAGER)�BaseInstance�BoundMethod�Instance� UnboundMethod)�register_module_extender)�extract_node�parse)�BRAIN_MODULES_DIRECTORY� PY310_PLUS�Context�Del�Load�Store)�AstroidBuildingError�AstroidBuildingException�AstroidError�AstroidImportError�AstroidIndexError�AstroidSyntaxError�AstroidTypeError�AstroidValueError�AttributeInferenceError�BinaryOperationError�DuplicateBasesError�InconsistentMroError�InferenceError�InferenceOverwriteError�MroError�NameInferenceError� NoDefault� NotFoundError�OperationError�ParentMissingError�ResolveError�StatementMissing�SuperArgumentTypeError� SuperError�TooManyLevelsError�UnaryOperationError�UnresolvableName�UseInferenceDefault)�_inference_tip_cached� inference_tip)�ExceptionInstance)X� CONST_CLS� AnnAssign� Arguments�Assert�Assign� AssignAttr� AssignName�AsyncFor�AsyncFunctionDef� AsyncWith� Attribute� AugAssign�Await�BinOp�BoolOp�Break�Call�ClassDef�Compare� Comprehension�ComprehensionScope�Const�Continue� Decorators�DelAttr�Delete�DelName�Dict�DictComp� DictUnpack�Ellipsis� EmptyNode�EvaluatedObject� ExceptHandler�Expr�ExtSlice�For�FormattedValue�FunctionDef�GeneratorExp�Global�If�IfExp�Import� ImportFrom�Index� JoinedStr�Keyword�Lambda�List�ListComp�Match�MatchAs� MatchCase� MatchClass�MatchMapping�MatchOr� MatchSequence�MatchSingleton� MatchStar� MatchValue�Module�Name� NamedExpr�NodeNG�Nonlocal�Pass�Raise�Return�Set�SetComp�Slice�Starred� Subscript� TryExcept� TryFinally�TryStar�Tuple�UnaryOp�Unknown�While�With�Yield� YieldFrom� are_exclusive�builtin_lookup�unpack_infer�function_to_method)�Uninferable�_compile�__wrapped__z.pyzastroid.brain.)��__doc__� functools�tokenize� importlibr �astroid.__pkginfo__r r � astroid.nodesr r �astroidr r �astroid.astroid_managerr � astroid.basesr r r r �astroid.brain.helpersr �astroid.builderr r � astroid.constr r r r r r �astroid.exceptionsr r r r r r r r r r! r"