Function Find method from many

None

Format:

definition of method method_name of base classes bases in class_defs

Input:

list class_defs -
list bases -
string method_name -

Output:

list - None

Conditional properties that reference this function:

  • if the following are true:
    • value at class_name in map class_defs = class_def
    • value at "methods" in map class_def = methods_map
    • map methods_map contains key method_name = False

    then definition of method method_name of class class_name in class_defs = definition of method method_name of base classes (value at "bases" in map class_def) in class_defs

    (link)
  • if definition of method method_name of class first_base in class_defs = method_map, then definition of method method_name of base classes [ first_base, rest ] in class_defs = method_map (link)
  • if the following are true:
    • value at first_base in map class_defs = class_def
    • value at "methods" in map class_def = methods_map
    • map methods_map contains key method_name = False

    then definition of method method_name of base classes [ first_base, rest ] in class_defs = definition of method method_name of base classes rest in class_defs

    (link)


Comments

Please log in to add comments