public class NCall extends NNode
Modifier and Type | Field and Description |
---|---|
java.util.List<NNode> |
args |
NNode |
func |
java.util.List<NKeyword> |
keywords |
NNode |
kwargs |
NNode |
starargs |
Constructor and Description |
---|
NCall(NNode func,
java.util.List<NNode> args,
java.util.List<NKeyword> keywords,
NNode kwargs,
NNode starargs) |
NCall(NNode func,
java.util.List<NNode> args,
java.util.List<NKeyword> keywords,
NNode kwargs,
NNode starargs,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
NType |
resolve(Scope s)
Node should set the resolved type in its
NNode.type field
and also return it. |
java.lang.String |
toString() |
void |
visit(NNodeVisitor v)
Visits this node and optionally its children.
|
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
public NNode func
public java.util.List<NNode> args
public java.util.List<NKeyword> keywords
public NNode kwargs
public NNode starargs
public NCall(NNode func, java.util.List<NNode> args, java.util.List<NKeyword> keywords, NNode kwargs, NNode starargs)
public NType resolve(Scope s) throws java.lang.Exception
NNode
NNode.type
field
and also return it.public java.lang.String toString()
toString
in class java.lang.Object
public void visit(NNodeVisitor v)
NNode