Skip to main content

Function Call Argument AST Python 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 following code:

my_function(arg1, arg2)

Attributes

  • name (type AstString): name of the argument
  • value (type AstString): value of the argument (null is no value passed)

See also