org.python.indexer.ast
Class NBody
- java.lang.Object
-
- org.python.indexer.ast.NNode
-
- org.python.indexer.ast.NBlock
-
- org.python.indexer.ast.NBody
-
- All Implemented Interfaces:
- java.io.Serializable
public class NBody extends NBlock
AnNBlockvariant used for the bodies of functions, lambdas, classes and modules.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NBody(java.util.List<NNode> seq)NBody(java.util.List<NNode> seq, int start, int end)NBody(NBlock block)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description NTyperesolve(Scope scope)Node should set the resolved type in itsNNode.typefield and also return it.-
Methods inherited from class org.python.indexer.ast.NNode
addChildren, addChildren, addType, bindsName, end, getAstRoot, getDeepestNodeAtOffset, getEnclosingNamespace, getFile, getParent, getTable, getType, isCall, isClassDef, isFunctionDef, isLambda, isModule, isName, length, resolveExpr, setEnd, setParent, setStart, setType, start
-
-
DMelt 3.0 © DataMelt by jWork.ORG