def process_item_hook(self, el, full_name, full_link): item_type = get_item_type(el) if item_type: if full_link in self.ident_map: self.ident_map[full_link][full_name] = item_type else: self.ident_map[full_link] = {full_name: item_type} IndexTransform.process_item_hook(self, el, full_name, full_link)
def process_item_hook(self, el, full_name, full_link): item_type = get_item_type(el) if item_type: if full_link in self.ident_map: self.ident_map[full_link][full_name] = item_type else: self.ident_map[full_link] = { full_name : item_type } IndexTransform.process_item_hook(self, el, full_name, full_link)
def process_item_hook(self, el, full_name, full_link): global items item_type = get_item_type(el) if item_type: if full_link in items: items[full_link][full_name] = item_type else: items[full_link] = { full_name : item_type } IndexTransform.process_item_hook(self, el, full_name, full_link)
def process_item_hook(self, el, full_name, full_link): global items item_type = get_item_type(el) if item_type: if full_link in items: items[full_link][full_name] = item_type else: items[full_link] = {full_name: item_type} IndexTransform.process_item_hook(self, el, full_name, full_link)
def process_item_hook(self, el, full_name, full_link): global out_f is_member = False if self.check_is_member(el): pass elif '<' in full_name: pass elif '>' in full_name: pass elif '(' in full_name: pass elif ')' in full_name: pass else: out_f.write(full_name + ' => ' + full_link + '\n') IndexTransform.process_item_hook(self, el, full_name, full_link)
def process_item_hook(self, el, full_name, full_link): global out_f if el.getparent().tag != 'index' and ( el.tag == 'function' or el.tag == 'constructor' or el.tag == 'destructor'): pass elif '<' in full_name: pass elif '>' in full_name: pass elif '(' in full_name: pass elif ')' in full_name: pass else: out_f.write(full_name + ' => ' + full_link + '\n') IndexTransform.process_item_hook(self, el, full_name, full_link)
def process_item_hook(self, el, full_name, full_link): global links links.append({ 'string' : full_name, 'target' : full_link }) if is_group(el): saved_group = self.curr_group self.curr_group = full_name IndexTransform.process_item_hook(self, el, full_name, full_link) self.curr_group = saved_group else: IndexTransform.process_item_hook(self, el, full_name, full_link) if is_group(el.getparent()) and self.curr_group and needs_entry_in_group(el): links.append({ 'string' : get_rel_name(full_name), 'target' : full_link, 'on_group' : self.curr_group })
def process_item_hook(self, el, full_name, full_link): global groups if is_group(el): saved_group = self.curr_group groups[full_name] = { 'name' : full_name, 'base_url' : full_link, 'urls' : [''] } self.curr_group = full_name IndexTransform.process_item_hook(self, el, full_name, full_link) self.curr_group = saved_group else: IndexTransform.process_item_hook(self, el, full_name, full_link) if is_group(el.getparent()): base_url = groups[self.curr_group]['base_url'] if full_link.find(base_url) == 0: rel_link = full_link[len(base_url):] if not rel_link in groups[self.curr_group]['urls']: groups[self.curr_group]['urls'].append(rel_link)
def process_item_hook(self, el, full_name, full_link): item_kind = self.get_item_kind(el) if item_kind != None: add_to_map(full_name, full_link, item_kind) IndexTransform.process_item_hook(self, el, full_name, full_link)
def process_item_hook(self, el, full_name, full_link): global out_f out_f.write('<keyword type="' + xml_escape(self.get_mark(el)) + '" name="' + xml_escape(full_name) + '" link="' + xml_escape(full_link) + '"/>\n') IndexTransform.process_item_hook(self, el, full_name, full_link)
def process_item_hook(self, el, full_name, full_link): global out_f out_f.write('<li>' + self.output_item(el, full_name, full_link) + '<ul>') IndexTransform.process_item_hook(self, el, full_name, full_link) out_f.write('</ul></li>\n')
def process_item_hook(self, el, full_name, full_link): global out_f, rel_link out_f.write('<keyword type="' + xml_escape(self.get_mark(el)) + '" name="' + xml_escape(full_name) + '" link="' + xml_escape(rel_link) + '"/>\n') IndexTransform.process_item_hook(self, el, full_name, full_link)
def process_item_hook(self, el, full_name, full_link): global out_f out_f.write(full_name + ' => ' + full_link + '\n') IndexTransform.process_item_hook(self, el, full_name, full_link)