Creates a new Python parameter.
The configuration arguments
Readonly
nameThe name of the parameter
Optional
Readonly
typeThe type annotation for the parameter
Optional
Readonly
default_The default value for the parameter
Readonly
isWhether this is a keyword-only parameter
Readonly
isWhether this is a positional-only parameter
Readonly
isWhether this is a variable positional parameter
Readonly
isWhether this is a variable keyword parameter
Writes the parameter declaration to the writer.
The writer to write to
Returns the string representation of the AST node. This method creates a new Writer instance and writes the node's content to it.
The string representation of the AST node
Represents a Python parameter in a function or method definition. This class handles the generation of parameter declarations including type annotations and default values.