module documentation
Undocumented
Class |
|
Undocumented |
Class |
|
Undocumented |
Function | call |
Called on the function after passing a type to register |
Function | call |
Called for functools._SingleDispatchCallable.__call__ |
Function | create |
Called for functools.singledispatch |
Function | fail |
Emit an error message. |
Function | get |
Undocumented |
Function | get |
Get the element that corresponds to the first argument passed to the function |
Function | get |
Undocumented |
Function | make |
Undocumented |
Function | register |
Register a function |
Function | singledispatch |
Called for functools._SingleDispatchCallable.register |
Constant | REGISTER |
Undocumented |
Constant | REGISTER |
Undocumented |
Constant | SINGLEDISPATCH |
Undocumented |
Constant | SINGLEDISPATCH |
Undocumented |
Constant | SINGLEDISPATCH |
Undocumented |
Type Variable | T |
Undocumented |
Type Alias |
|
Undocumented |
Emit an error message. This tries to emit an error message at the location specified by `context`, falling back to the location specified by `ctx.context`. This is helpful when the only context information about where you want to put the error message may be None (like it is for `CallableType.definition`) and falling back to the location of the calling function is fine.
def make_fake_register_class_instance(api:
CheckerPluginInterface
, type_args: Sequence[ Type]
) -> Instance
:
(source)
¶
Undocumented
def register_function(ctx:
PluginContext
, singledispatch_obj: Instance
, func: Type
, register_arg: Type|None
= None):
(source)
¶
Register a function