'Transition marker at end of section or document.'

def eof(self, context):

    marker = context[0].strip()
    if self.memo.section_bubble_up_kludge:
        self.memo.section_bubble_up_kludge = 0
    elif (len(marker) < 4):
        self.state_correction(context)
    if self.eofcheck:
        lineno = (self.state_machine.abs_line_number() - 1)
        transition = nodes.transition(rawsource=context[0])
        transition.line = lineno
        self.parent += transition
    self.eofcheck = 1
    return []
