def METHOD_NAME(self, match):
    if self.highlight_x:
        # field
        yield match.start(1), Name.Tag, match.group(1)
        # content
        default_actions = self.get_tokens_unprocessed(
            match.group(2), stack=("root", "header"))
        yield from default_actions
    else:
        # lowlight
        yield match.start(1), Comment.Special, match.group(1)
        yield match.start(2), Comment.Multiline, match.group(2)