def _ref_to_html(ref, ctx): target = resolve_reference(ctx, ref.reference) H.span(u'', **_referring_to(target))
def _var_to_html(var, ctx): target = resolve_reference(ctx, var.reference) with H.span(__inline=True, **_referring_to(target)): _piece_to_html(target, ctx)
def _var_to_text(var, ctx): target = resolve_reference(ctx, var.reference) return _piece_to_text(target, ctx)
def _var_to_html(var, ctx): target = resolve_reference(ctx, var.reference) with H.span(**_referring_to(target)): _piece_to_html(target, ctx)