| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Overload
An operation signature with an operation to call when arguments match.
Methods:
- `process_call`: Call overload's operation if args match.
- `insert_params`: Insert parameters
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Construct an Overload
Parameters:
`function`
the operation to call when a call's args match the params
`params` :: (Parameter...)
sequence of parameters that args of calls should match. The
overload will only match when all params are satisfied and no
args are left.
|
Call the overload's operation with args if all args match.
Parameters:
`args` :: (value...)
positional arguments of the call
`kwargs` :: {name::string : value}
keyword arguments of the call
Returns (True, return_value) if the args matched, (False, None) otherwise
|
Insert parameters into the current list of parameters at index
Parameters:
`index` :: number
index of where to insert
`params` :: (Parameter...)
the parameters to insert
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0 on Mon Jul 19 11:49:30 2010 | http://epydoc.sourceforge.net |