Server IP : 66.29.132.122 / Your IP : 3.145.178.224 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/cloudlinux/venv/lib64/python3.11/site-packages/astroid/nodes/ |
Upload File : |
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE # Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt """Every available node class. .. seealso:: :doc:`ast documentation <green_tree_snakes:nodes>` All nodes inherit from :class:`~astroid.nodes.node_classes.NodeNG`. """ # Nodes not present in the builtin ast module: DictUnpack, Unknown, and EvaluatedObject. # This is the only node we re-export from the private _base_nodes module. This # is because it was originally part of the public API and hasn't been deprecated. from astroid.nodes._base_nodes import Statement from astroid.nodes.node_classes import ( # pylint: disable=redefined-builtin (Ellipsis) CONST_CLS, AnnAssign, Arguments, Assert, Assign, AssignAttr, AssignName, AsyncFor, AsyncWith, Attribute, AugAssign, Await, BaseContainer, BinOp, BoolOp, Break, Call, Compare, Comprehension, Const, Continue, Decorators, DelAttr, Delete, DelName, Dict, DictUnpack, Ellipsis, EmptyNode, EvaluatedObject, ExceptHandler, Expr, ExtSlice, For, FormattedValue, Global, If, IfExp, Import, ImportFrom, Index, JoinedStr, Keyword, List, Match, MatchAs, MatchCase, MatchClass, MatchMapping, MatchOr, MatchSequence, MatchSingleton, MatchStar, MatchValue, Name, NamedExpr, NodeNG, Nonlocal, Pass, Pattern, Raise, Return, Set, Slice, Starred, Subscript, TryExcept, TryFinally, TryStar, Tuple, UnaryOp, Unknown, While, With, Yield, YieldFrom, are_exclusive, const_factory, unpack_infer, ) from astroid.nodes.scoped_nodes import ( AsyncFunctionDef, ClassDef, ComprehensionScope, DictComp, FunctionDef, GeneratorExp, Lambda, ListComp, LocalsDictNodeNG, Module, SetComp, builtin_lookup, function_to_method, get_wrapping_class, ) from astroid.nodes.utils import Position _BaseContainer = BaseContainer # TODO Remove for astroid 3.0 ALL_NODE_CLASSES = ( _BaseContainer, BaseContainer, AnnAssign, Arguments, Assert, Assign, AssignAttr, AssignName, AsyncFor, AsyncFunctionDef, AsyncWith, Attribute, AugAssign, Await, BinOp, BoolOp, Break, Call, ClassDef, Compare, Comprehension, ComprehensionScope, Const, const_factory, 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, LocalsDictNodeNG, Match, MatchAs, MatchCase, MatchClass, MatchMapping, MatchOr, MatchSequence, MatchSingleton, MatchStar, MatchValue, Module, Name, NamedExpr, NodeNG, Nonlocal, Pass, Pattern, Raise, Return, Set, SetComp, Slice, Starred, Subscript, TryExcept, TryFinally, TryStar, Tuple, UnaryOp, Unknown, While, With, Yield, YieldFrom, ) __all__ = ( "AnnAssign", "are_exclusive", "Arguments", "Assert", "Assign", "AssignAttr", "AssignName", "AsyncFor", "AsyncFunctionDef", "AsyncWith", "Attribute", "AugAssign", "Await", "BinOp", "BoolOp", "Break", "builtin_lookup", "Call", "ClassDef", "CONST_CLS", "Compare", "Comprehension", "ComprehensionScope", "Const", "const_factory", "Continue", "Decorators", "DelAttr", "Delete", "DelName", "Dict", "DictComp", "DictUnpack", "Ellipsis", "EmptyNode", "EvaluatedObject", "ExceptHandler", "Expr", "ExtSlice", "For", "FormattedValue", "FunctionDef", "function_to_method", "GeneratorExp", "get_wrapping_class", "Global", "If", "IfExp", "Import", "ImportFrom", "Index", "JoinedStr", "Keyword", "Lambda", "List", "ListComp", "LocalsDictNodeNG", "Match", "MatchAs", "MatchCase", "MatchClass", "MatchMapping", "MatchOr", "MatchSequence", "MatchSingleton", "MatchStar", "MatchValue", "Module", "Name", "NamedExpr", "NodeNG", "Nonlocal", "Pass", "Position", "Raise", "Return", "Set", "SetComp", "Slice", "Starred", "Statement", "Subscript", "TryExcept", "TryFinally", "TryStar", "Tuple", "UnaryOp", "Unknown", "unpack_infer", "While", "With", "Yield", "YieldFrom", )