Lines Matching refs:anchor
183 def __init__(self, log, marker, anchor): argument
197 self.anchor = anchor
200 self.anchor = self.log.start_section(self.marker, self.anchor)
223 self.anchor = 0
358 def _note(self, note_type, msg, anchor=None): argument
373 if anchor:
374 self.f.write('<a href="#%s">\n' % anchor)
378 if anchor:
382 def start_section(self, marker, anchor=None): argument
397 if not anchor:
398 self.anchor += 1
399 anchor = str(self.anchor)
401 self.f.write('<div class="section block" id="' + anchor + '">\n')
407 return anchor
438 def section(self, marker, anchor=None): argument
457 return SectionCtxMgr(self, marker, anchor)
532 def status_pass(self, msg, anchor=None): argument
543 self._note("status-pass", msg, anchor)
545 def status_skipped(self, msg, anchor=None): argument
556 self._note("status-skipped", msg, anchor)
558 def status_xfail(self, msg, anchor=None): argument
569 self._note("status-xfail", msg, anchor)
571 def status_xpass(self, msg, anchor=None): argument
582 self._note("status-xpass", msg, anchor)
584 def status_fail(self, msg, anchor=None): argument
595 self._note("status-fail", msg, anchor)