A parameter of an operation.
It can match arguments and provide default values for them.
Note that an argument matches a parameter, if its matcher returns True on the argument value or the parameter has a default.
Construct a Parameter.
Parameters: |
|
---|---|
Preconditions : |
|
Read/process the given arg.
Parameters: |
|
---|---|
Returns: | True if parameter matches arg |
Return type: | bool |
Look in a dict for a matching arg and process its value.
Parameters: |
|
---|---|
Returns: | True if a matching argument was found in kwargs |
Return type: | bool |
Adds the last read argument value to a dictionary.
Parameters: |
|
---|---|
Preconditions : |
|
list of weak references to the object (if defined)