INNER CODE UNIT · Python
new_nodes
KATRIN-Experiment/Kassiopeia · Scripts/gen-bindings-docs.py:360
new_nodes = node.makeTableMD(level+1, stack, key=node_key, with_sections=with_sections, with_examples=with_examples)
nodes.union(new_nodes)
return nodes
## END OF class Node
def getBindingsFiles(root_paths):
file_list = []
for path_name in root_paths:
for file_name in glob.glob(path_name + '/**', recursive=True):
root, ext = os.path.splitext(file_name)
if ext not in ['.cc', '.cxx', '.cpp', '.h', '.hh', '.hxx', '.hpp']:
continue
if not root.endswith("Builder"):
continue
file_list.append(file_name)