asthook.static.module.GenHook package

Submodules

asthook.static.module.GenHook.GenHook_node module

class asthook.static.module.GenHook.GenHook_node.Begin

Bases: object

classmethod call(r, self)
class asthook.static.module.GenHook.GenHook_node.ClassDeclaration

Bases: object

classmethod call(r, self)
class asthook.static.module.GenHook.GenHook_node.ClassToHook

Bases: object

classmethod add_class(name)
classmethod get_name()
class asthook.static.module.GenHook.GenHook_node.ConstructorDeclarationIn

Bases: object

classmethod call(r, self)
class asthook.static.module.GenHook.GenHook_node.End

Bases: object

classmethod call(r, self)
class asthook.static.module.GenHook.GenHook_node.File

Bases: object

classmethod call(r, path)
class asthook.static.module.GenHook.GenHook_node.FuncToHook

Bases: object

classmethod add_func(name)
classmethod get_name()
class asthook.static.module.GenHook.GenHook_node.MethodDeclaration

Bases: object

classmethod call(r, self)
class asthook.static.module.GenHook.GenHook_node.NestedClass

Bases: object

classes = []
classmethod get()
classmethod pop()
classmethod push(name)
asthook.static.module.GenHook.GenHook_node.check_print(type_, name)

Module contents

class asthook.static.module.GenHook.GenHook(package, tmp_dir, args)

Bases: object

Class Generate Hook

To use:

–gen_hook <class>.<func>

asthook.static.module.GenHook.mprint(arg: list) str