public class NBody extends NBlock
NBlock
variant used for the bodies of functions, lambdas,
classes and modules.Constructor and Description |
---|
NBody(java.util.List<NNode> seq) |
NBody(java.util.List<NNode> seq,
int start,
int end) |
NBody(NBlock block) |
Modifier and Type | Method and Description |
---|---|
NType |
resolve(Scope scope)
Node should set the resolved type in its
NNode.type field
and also return it. |
addChildren, addChildren, addError, addError, addType, addWarning, addWarning, bindNames, bindsName, end, getAstRoot, getDeepestNodeAtOffset, getEnclosingNamespace, getFile, getParent, getTable, getType, isCall, isClassDef, isFunctionDef, isLambda, isModule, isName, length, resolveExpr, resolveList, resolveListAsUnion, setEnd, setParent, setStart, setType, start, visitNode, visitNodeList