NCall
Represents a function call expression in the AST.
Instance Members
target: NExprThe expression being called.
Array of argument expressions passed to the call.
type(): String| Returns |
|---|
| String |
each(handleNode: Function): Void| Name | Type |
|---|---|
handleNode |
Function |
toJson(): DynamicConverts the call expression to a JSON representation.
| Returns | Description |
|---|---|
| Dynamic | Dynamic object containing call data |
new(id: NodeId, pos: Position, target: NExpr, args: Array<NExpr>, ?leadingComments: Array<Comment>, ?trailingComments: Array<Comment>): VoidCreates a new call expression node.
| Name | Type | Default | Description |
|---|---|---|---|
id |
NodeId | ||
pos |
Position | Position in source where this call appears | |
target |
NExpr | Expression being called | |
args |
Array<NExpr> | Array of argument expressions | |
leadingComments |
Array<Comment> | (optional) | Optional comments before the call |
trailingComments |
Array<Comment> | (optional) | Optional comments after the call |
Metadata
| Name | Parameters |
|---|---|
:hxGen |
- |