diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2010-04-20 20:50:37 +0200 |
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2010-04-20 20:50:37 +0200 |
| commit | 077579a01c73a9dc5b6ebe9be99fc7343fc9d537 (patch) | |
| tree | 2d2478d8b02a4b08373bb168bbacb56b7b75aa10 | |
| parent | 76ec3fb4f732c17a37e2ece518fa877aeaa790bc (diff) | |
| download | astroid-git-077579a01c73a9dc5b6ebe9be99fc7343fc9d537.tar.gz | |
define a constant with all node classes
| -rw-r--r-- | nodes.py | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -46,4 +46,26 @@ from logilab.astng.node_classes import (Arguments, AssAttr, Assert, TryExcept, TryFinally, Tuple, UnaryOp, While, With, Yield, const_factory ) from logilab.astng.scoped_nodes import Module, GenExpr, Lambda, Function, Class +ALL_NODE_CLASSES = ( + Arguments, AssAttr, Assert, Assign, AssName, AugAssign, + Backquote, BinOp, BoolOp, Break, + CallFunc, Class, Compare, Comprehension, Const, Continue, + Decorators, DelAttr, DelName, Delete, + Dict, Discard, + Ellipsis, EmptyNode, ExceptHandler, Exec, ExtSlice, + For, From, Function, + Getattr, GenExpr, Global, + If, IfExp, Import, Index, + Keyword, + Lambda, List, ListComp, + Name, + Module, + Pass, Print, + Raise, Return, + Slice, Subscript, + TryExcept, TryFinally, Tuple, + UnaryOp, + While, With, + Yield, + ) |
