# Copyright (c) 2006-2011, 2013 LOGILAB S.A. (Paris, FRANCE) # Copyright (c) 2010 Daniel Harding # Copyright (c) 2014-2020 Claudiu Popa # Copyright (c) 2014 Google, Inc. # Copyright (c) 2015-2016 Ceridwen # Copyright (c) 2016 Jared Garst # Copyright (c) 2017 Ashley Whetter # Copyright (c) 2017 rr- # Copyright (c) 2018 Bryce Guinta # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE """Every available node class. .. seealso:: :doc:`ast documentation ` All nodes inherit from :class:`~astroid.node_classes.NodeNG`. """ # pylint: disable=redefined-builtin # Nodes not present in the builtin ast module: DictUnpack, Unknown, and EvaluatedObject. from astroid.node_classes import ( AnnAssign, Arguments, Assert, Assign, AssignAttr, AssignName, AsyncFor, AsyncWith, Attribute, AugAssign, Await, BinOp, BoolOp, Break, Call, Compare, Comprehension, Const, Continue, Decorators, DelAttr, Delete, DelName, Dict, DictUnpack, Ellipsis, EmptyNode, EvaluatedObject, ExceptHandler, Exec, Expr, ExtSlice, For, FormattedValue, Global, If, IfExp, Import, ImportFrom, Index, JoinedStr, Keyword, List, Name, NamedExpr, Nonlocal, Pass, Print, Raise, Repr, Return, Set, Slice, Starred, Subscript, TryExcept, TryFinally, Tuple, UnaryOp, Unknown, While, With, Yield, YieldFrom, const_factory, ) from astroid.scoped_nodes import ( AsyncFunctionDef, ClassDef, DictComp, FunctionDef, GeneratorExp, Lambda, ListComp, Module, SetComp, ) ALL_NODE_CLASSES = ( AsyncFunctionDef, AsyncFor, AsyncWith, Await, Arguments, AssignAttr, Assert, Assign, AnnAssign, AssignName, AugAssign, Repr, BinOp, BoolOp, Break, Call, ClassDef, Compare, Comprehension, Const, const_factory, Continue, Decorators, DelAttr, DelName, Delete, Dict, DictComp, DictUnpack, Expr, Ellipsis, EmptyNode, EvaluatedObject, ExceptHandler, Exec, ExtSlice, For, ImportFrom, FunctionDef, Attribute, GeneratorExp, Global, If, IfExp, Import, Index, Keyword, Lambda, List, ListComp, Name, NamedExpr, Nonlocal, Module, Pass, Print, Raise, Return, Set, SetComp, Slice, Starred, Subscript, TryExcept, TryFinally, Tuple, UnaryOp, Unknown, While, With, Yield, YieldFrom, FormattedValue, JoinedStr, )