Codiga has joined Datadog!

Read the Blog
Skip to main content

Function Definition Parameters AST Generic Object

The FunctionDefinitionParameters object matches function parameters (all of them).

The astType value for this node is functiondefinitionparameters.

Code Pattern

This object captures the following code block (for example, JavaScript):

def my_function(arg1 = default_value, arg2 = other_value):

In this code block FunctionDefinitionParameters captures (arg1 = default_value, arg2 = other_value).