Creates a new Python parameter.
The configuration arguments
ReadonlynameThe name of the parameter
Optional ReadonlytypeThe type annotation for the parameter
Optional Readonlydefault_The default value for the parameter
ReadonlyisWhether this is a keyword-only parameter
ReadonlyisWhether this is a positional-only parameter
ReadonlyisWhether this is a variable positional parameter
ReadonlyisWhether 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.