Lines Matching refs:anchor
187 def __init__(self, log, marker, anchor): argument
201 self.anchor = anchor
204 self.anchor = self.log.start_section(self.marker, self.anchor)
227 self.anchor = 0
365 def _note(self, note_type, msg, anchor=None): argument
381 if anchor:
382 self.f.write('<a href="#%s">' % anchor)
384 if anchor:
389 def start_section(self, marker, anchor=None): argument
404 if not anchor:
405 self.anchor += 1
406 anchor = str(self.anchor)
408 self.f.write('<div class="section block" id="' + anchor + '">\n')
414 return anchor
445 def section(self, marker, anchor=None): argument
464 return SectionCtxMgr(self, marker, anchor)
554 def status_pass(self, msg, anchor=None): argument
565 self._note("status-pass", msg, anchor)
567 def status_warning(self, msg, anchor=None): argument
578 self._note("status-warning", msg, anchor)
580 def status_skipped(self, msg, anchor=None): argument
591 self._note("status-skipped", msg, anchor)
593 def status_xfail(self, msg, anchor=None): argument
604 self._note("status-xfail", msg, anchor)
606 def status_xpass(self, msg, anchor=None): argument
617 self._note("status-xpass", msg, anchor)
619 def status_fail(self, msg, anchor=None): argument
630 self._note("status-fail", msg, anchor)