| Interface | Description |
|---|---|
| NNodeVisitor |
Preorder-traversal node visitor interface.
|
| Class | Description |
|---|---|
| DefaultNodeVisitor |
A visitor that by default visits every node in the tree.
|
| GenericNodeVisitor |
A visitor that passes every visited node to a single function.
|
| NAlias |
A name alias.
|
| NameBinder |
Handles binding names to scopes, including destructuring assignment.
|
| NAssert | |
| NAssign | |
| NAttribute | |
| NAugAssign | |
| NBinOp | |
| NBlock | |
| NBody |
An
NBlock variant used for the bodies of functions, lambdas,
classes and modules. |
| NBoolOp |
Represents the "and"/"or" operators.
|
| NBreak | |
| NCall | |
| NClassDef | |
| NCompare | |
| NComprehension | |
| NContinue | |
| NDelete | |
| NDict | |
| NEllipsis | |
| NExceptHandler | |
| NExec | |
| NExprStmt |
Expression statement.
|
| NFor | |
| NFunctionDef | |
| NGeneratorExp | |
| NGlobal | |
| NIf | |
| NIfExp | |
| NImport | |
| NImportFrom |
Handles import from statements such as
from moduleA import a, b as c, d
and from foo.bar.moduleB import *. |
| NIndex | |
| NKeyword |
Represents a keyword argument (name=value) in a function call.
|
| NLambda | |
| NList | |
| NListComp | |
| NModule | |
| NName | |
| NNode | |
| NNum | |
| NPass | |
| NPlaceHolder | |
| NPrint | |
| NQname |
Recursive doubly-linked list representation of a qualified module name,
either absolute or relative.
|
| NRaise | |
| NRepr | |
| NReturn | |
| NSequence | |
| NSlice | |
| NStr | |
| NSubscript | |
| NTryExcept | |
| NTryFinally | |
| NTuple | |
| NUnaryOp | |
| NUrl |
Non-AST node used to represent virtual source locations for builtins
as external urls.
|
| NWhile | |
| NWith | |
| NYield |
| Enum | Description |
|---|---|
| NBoolOp.OpType |
| Exception | Description |
|---|---|
| NNodeVisitor.StopIterationException |
Convenience exception for subclasses.
|