Function Call Argument AST JavaScript Object
The FunctionCallArgument
object matches an argument in a function call.
It is used in the FunctionCallArguments object.
The astType
value for this node is argument
.
Code Pattern
This AST element captures the arg1
or arg2
part of the following code:
myFunction(arg1, arg2);
Attributes
name
(typeAstString
): name of the argumentvalue
(typeAstString
): value of the argument (null
is no value passed)