This repository provides User Manual for setting up a Docker environment tailored for testing DGTD code.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

22 lines
754 B

from breathe.project import ProjectInfo
from breathe.renderer.filter import Filter
def stack(element, list_):
"""Stack an element on to the start of a list and return as a new list"""
# Copy list first so we have a new list to insert into
output = list_[:]
output.insert(0, element)
return output
class ItemFinder:
def __init__(self, project_info: ProjectInfo, data_object, item_finder_factory):
self.data_object = data_object
# DoxygenItemFinderFactory, but actually typing it would introduce an import cycle
self.item_finder_factory = item_finder_factory
self.project_info = project_info
def filter_(self, ancestors, filter_: Filter, matches) -> None:
raise NotImplementedError