| Modifier and Type | Field and Description |
|---|---|
| public List | |
| public NNode | |
| private List | |
| public List | |
| public NName | |
| public NName | |
| pack-priv static final long | |
| public NName |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected NBinding | |
| protected NBinding | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | bindNames(Scope s)
Overrides org. Called by resolver to bind names into the passed scope. |
| private void | |
| public boolean | bindsName()
Overrides org. Returns |
| pack-priv static NType | |
| protected String | |
| public List | |
| public boolean | |
| public NType | resolve(Scope outer)
Overrides org. Node should set the resolved type in its |
| public void | |
| public String | |
| public void | visit(NNodeVisitor
the object to call with this node.
If the visitor returns v)true, the node also
passes its children to the visitor.Implements abstract org. Visits this node and optionally its children. |
| args | back to summary |
|---|---|
| public List<NNode> args | |
| body | back to summary |
|---|---|
| public NNode body | |
| decoratorList | back to summary |
|---|---|
| private List<NNode> decoratorList | |
| defaults | back to summary |
|---|---|
| public List<NNode> defaults | |
| kwargs | back to summary |
|---|---|
| public NName kwargs | |
| name | back to summary |
|---|---|
| public NName name | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| varargs | back to summary |
|---|---|
| public NName varargs | |
| NFunctionDef | back to summary |
|---|---|
| public NFunctionDef(NName name, List<NNode> args, NBlock body, List<NNode> defaults, NName varargs, NName kwargs) | |
| NFunctionDef | back to summary |
|---|---|
| public NFunctionDef(NName name, List<NNode> args, NBlock body, List<NNode> defaults, NName varargs, NName kwargs, int start, int end) | |
| addReadOnlyAttr | back to summary |
|---|---|
| protected NBinding addReadOnlyAttr(String name, NType type, NBinding. | |
| addSpecialAttr | back to summary |
|---|---|
| protected NBinding addSpecialAttr(String name, NType atype, NBinding. | |
| bindFunctionDefaults | back to summary |
|---|---|
| protected void bindFunctionDefaults(Scope s) throws Exception Processes any name-binding constructs appearing as parameter defaults.
For instance, in | |
| bindFunctionName | back to summary |
|---|---|
| protected void bindFunctionName(Scope owner) throws Exception | |
| bindFunctionParams | back to summary |
|---|---|
| protected void bindFunctionParams(Scope funcTable) throws Exception | |
| bindMethodAttrs | back to summary |
|---|---|
| protected void bindMethodAttrs(Scope owner) throws Exception | |
| bindNames | back to summary |
|---|---|
| protected void bindNames(Scope s) throws Exception Overrides org. Doc from org. Called by resolver to bind names into the passed scope.
| |
| bindParamsToDefaults | back to summary |
|---|---|
| private void bindParamsToDefaults(NBinding selfBinding, NTupleType fromType) throws Exception | |
| bindsName | back to summary |
|---|---|
| public boolean bindsName() Overrides org. Doc from org. Returns
| |
| getArgType | back to summary |
|---|---|
| pack-priv static NType getArgType(List<NNode> args, List<NNode> defaults, int argnum) | |
| getBindingName | back to summary |
|---|---|
| protected String getBindingName(Scope s) Returns the name of the function for indexing/qname purposes. Lambdas will return a generated name. | |
| getDecoratorList | back to summary |
|---|---|
| public List | |
| isFunctionDef | back to summary |
|---|---|
| public boolean isFunctionDef() Overrides org.
| |
| resolve | back to summary |
|---|---|
| public NType resolve(Scope outer) throws Exception Overrides org. Doc from org. Node should set the resolved type in its
| |
| setDecoratorList | back to summary |
|---|---|
| public void setDecoratorList(List<NNode> decoratorList) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| visit | back to summary |
|---|---|
| public void visit(NNodeVisitor v) Implements abstract org. Doc from org. Visits this node and optionally its children.
| |