Lines Matching refs:anchor
182 def __init__(self, log, marker, anchor): argument
196 self.anchor = anchor
199 self.anchor = self.log.start_section(self.marker, self.anchor)
222 self.anchor = 0
360 def _note(self, note_type, msg, anchor=None): argument
376 if anchor:
377 self.f.write('<a href="#%s">' % anchor)
379 if anchor:
384 def start_section(self, marker, anchor=None): argument
399 if not anchor:
400 self.anchor += 1
401 anchor = str(self.anchor)
403 self.f.write('<div class="section block" id="' + anchor + '">\n')
409 return anchor
440 def section(self, marker, anchor=None): argument
459 return SectionCtxMgr(self, marker, anchor)
549 def status_pass(self, msg, anchor=None): argument
560 self._note("status-pass", msg, anchor)
562 def status_warning(self, msg, anchor=None): argument
573 self._note("status-warning", msg, anchor)
575 def status_skipped(self, msg, anchor=None): argument
586 self._note("status-skipped", msg, anchor)
588 def status_xfail(self, msg, anchor=None): argument
599 self._note("status-xfail", msg, anchor)
601 def status_xpass(self, msg, anchor=None): argument
612 self._note("status-xpass", msg, anchor)
614 def status_fail(self, msg, anchor=None): argument
625 self._note("status-fail", msg, anchor)