Current section

Files

Jump to
nakai src nakai@html.erl
Raw

src/nakai@html.erl

-module(nakai@html).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([title/1, a/2, a_text/2, abbr/2, abbr_text/2, address/2, address_text/2, area/1, article/2, article_text/2, aside/2, aside_text/2, audio/2, audio_text/2, b/2, b_text/2, base/1, bdi/2, bdi_text/2, bdo/2, bdo_text/2, blockquote/2, blockquote_text/2, br/1, button/2, button_text/2, canvas/2, canvas_text/2, caption/2, caption_text/2, cite/2, cite_text/2, code/2, code_text/2, col/2, col_text/2, colgroup/2, colgroup_text/2, data/2, data_text/2, datalist/2, datalist_text/2, dd/2, dd_text/2, del/2, del_text/2, details/2, details_text/2, dfn/2, dfn_text/2, dialog/2, dialog_text/2, 'div'/2, div_text/2, dl/2, dl_text/2, dt/2, dt_text/2, em/2, em_text/2, embed/2, embed_text/2, fieldset/2, fieldset_text/2, figcaption/2, figcaption_text/2, figure/2, figure_text/2, footer/2, footer_text/2, form/2, form_text/2, h1/2, h1_text/2, h2/2, h2_text/2, h3/2, h3_text/2, h4/2, h4_text/2, h5/2, h5_text/2, h6/2, h6_text/2, header/2, header_text/2, hr/1, i/2, i_text/2, iframe/2, iframe_text/2, img/1, input/1, ins/2, ins_text/2, kbd/2, kbd_text/2, label/2, label_text/2, legend/2, legend_text/2, li/2, li_text/2, link/1, main/2, main_text/2, map/2, map_text/2, mark/2, mark_text/2, math/2, math_text/2, menu/2, menu_text/2, menuitem/2, menuitem_text/2, meta/1, meter/2, meter_text/2, nav/2, nav_text/2, noscript/2, noscript_text/2, object/2, object_text/2, ol/2, ol_text/2, optgroup/2, optgroup_text/2, option/2, option_text/2, output/2, output_text/2, p/2, p_text/2, param/2, param_text/2, picture/2, picture_text/2, pre/2, pre_text/2, progress/2, progress_text/2, q/2, q_text/2, rp/2, rp_text/2, rt/2, rt_text/2, ruby/2, ruby_text/2, s/2, s_text/2, samp/2, samp_text/2, section/2, section_text/2, select/2, select_text/2, small/2, small_text/2, source/1, span/2, span_text/2, strong/2, strong_text/2, sub/2, sub_text/2, summary/2, summary_text/2, sup/2, sup_text/2, svg/2, svg_text/2, table/2, table_text/2, tbody/2, tbody_text/2, td/2, td_text/2, textarea/2, textarea_text/2, tfoot/2, tfoot_text/2, th/2, th_text/2, thead/2, thead_text/2, time/2, time_text/2, tr/2, tr_text/2, track/1, u/2, u_text/2, ul/2, ul_text/2, var/2, var_text/2, video/2, video_text/2, wbr/2, wbr_text/2]).
-export_type([node_/1]).
-type node_(GUL) :: {doctype, binary()} |
{html, list(nakai@html@attrs:attr(GUL)), list(node_(GUL))} |
{head, list(node_(GUL))} |
{body, list(nakai@html@attrs:attr(GUL)), list(node_(GUL))} |
{fragment, list(node_(GUL))} |
{element, binary(), list(nakai@html@attrs:attr(GUL)), list(node_(GUL))} |
{leaf_element, binary(), list(nakai@html@attrs:attr(GUL))} |
{comment, binary()} |
{text, binary()} |
{unsafe_inline_html, binary()} |
{script, binary()} |
nothing.
-spec title(binary()) -> node_(any()).
title(Text) ->
{element, <<"title"/utf8>>, [], [{text, Text}]}.
-spec a(list(nakai@html@attrs:attr(GUO)), list(node_(GUO))) -> node_(GUO).
a(Attrs, Children) ->
{element, <<"a"/utf8>>, Attrs, Children}.
-spec a_text(list(nakai@html@attrs:attr(GUU)), binary()) -> node_(GUU).
a_text(Attrs, Text) ->
{element, <<"a"/utf8>>, Attrs, [{text, Text}]}.
-spec abbr(list(nakai@html@attrs:attr(GUY)), list(node_(GUY))) -> node_(GUY).
abbr(Attrs, Children) ->
{element, <<"abbr"/utf8>>, Attrs, Children}.
-spec abbr_text(list(nakai@html@attrs:attr(GVE)), binary()) -> node_(GVE).
abbr_text(Attrs, Text) ->
{element, <<"abbr"/utf8>>, Attrs, [{text, Text}]}.
-spec address(list(nakai@html@attrs:attr(GVI)), list(node_(GVI))) -> node_(GVI).
address(Attrs, Children) ->
{element, <<"address"/utf8>>, Attrs, Children}.
-spec address_text(list(nakai@html@attrs:attr(GVO)), binary()) -> node_(GVO).
address_text(Attrs, Text) ->
{element, <<"address"/utf8>>, Attrs, [{text, Text}]}.
-spec area(list(nakai@html@attrs:attr(GVS))) -> node_(GVS).
area(Attrs) ->
{leaf_element, <<"area"/utf8>>, Attrs}.
-spec article(list(nakai@html@attrs:attr(GVW)), list(node_(GVW))) -> node_(GVW).
article(Attrs, Children) ->
{element, <<"article"/utf8>>, Attrs, Children}.
-spec article_text(list(nakai@html@attrs:attr(GWC)), binary()) -> node_(GWC).
article_text(Attrs, Text) ->
{element, <<"article"/utf8>>, Attrs, [{text, Text}]}.
-spec aside(list(nakai@html@attrs:attr(GWG)), list(node_(GWG))) -> node_(GWG).
aside(Attrs, Children) ->
{element, <<"aside"/utf8>>, Attrs, Children}.
-spec aside_text(list(nakai@html@attrs:attr(GWM)), binary()) -> node_(GWM).
aside_text(Attrs, Text) ->
{element, <<"aside"/utf8>>, Attrs, [{text, Text}]}.
-spec audio(list(nakai@html@attrs:attr(GWQ)), list(node_(GWQ))) -> node_(GWQ).
audio(Attrs, Children) ->
{element, <<"audio"/utf8>>, Attrs, Children}.
-spec audio_text(list(nakai@html@attrs:attr(GWW)), binary()) -> node_(GWW).
audio_text(Attrs, Text) ->
{element, <<"audio"/utf8>>, Attrs, [{text, Text}]}.
-spec b(list(nakai@html@attrs:attr(GXA)), list(node_(GXA))) -> node_(GXA).
b(Attrs, Children) ->
{element, <<"b"/utf8>>, Attrs, Children}.
-spec b_text(list(nakai@html@attrs:attr(GXG)), binary()) -> node_(GXG).
b_text(Attrs, Text) ->
{element, <<"b"/utf8>>, Attrs, [{text, Text}]}.
-spec base(list(nakai@html@attrs:attr(GXK))) -> node_(GXK).
base(Attrs) ->
{leaf_element, <<"base"/utf8>>, Attrs}.
-spec bdi(list(nakai@html@attrs:attr(GXO)), list(node_(GXO))) -> node_(GXO).
bdi(Attrs, Children) ->
{element, <<"bdi"/utf8>>, Attrs, Children}.
-spec bdi_text(list(nakai@html@attrs:attr(GXU)), binary()) -> node_(GXU).
bdi_text(Attrs, Text) ->
{element, <<"bdi"/utf8>>, Attrs, [{text, Text}]}.
-spec bdo(list(nakai@html@attrs:attr(GXY)), list(node_(GXY))) -> node_(GXY).
bdo(Attrs, Children) ->
{element, <<"bdo"/utf8>>, Attrs, Children}.
-spec bdo_text(list(nakai@html@attrs:attr(GYE)), binary()) -> node_(GYE).
bdo_text(Attrs, Text) ->
{element, <<"bdo"/utf8>>, Attrs, [{text, Text}]}.
-spec blockquote(list(nakai@html@attrs:attr(GYI)), list(node_(GYI))) -> node_(GYI).
blockquote(Attrs, Children) ->
{element, <<"blockquote"/utf8>>, Attrs, Children}.
-spec blockquote_text(list(nakai@html@attrs:attr(GYO)), binary()) -> node_(GYO).
blockquote_text(Attrs, Text) ->
{element, <<"blockquote"/utf8>>, Attrs, [{text, Text}]}.
-spec br(list(nakai@html@attrs:attr(GYS))) -> node_(GYS).
br(Attrs) ->
{leaf_element, <<"br"/utf8>>, Attrs}.
-spec button(list(nakai@html@attrs:attr(GYW)), list(node_(GYW))) -> node_(GYW).
button(Attrs, Children) ->
{element, <<"button"/utf8>>, Attrs, Children}.
-spec button_text(list(nakai@html@attrs:attr(GZC)), binary()) -> node_(GZC).
button_text(Attrs, Text) ->
{element, <<"button"/utf8>>, Attrs, [{text, Text}]}.
-spec canvas(list(nakai@html@attrs:attr(GZG)), list(node_(GZG))) -> node_(GZG).
canvas(Attrs, Children) ->
{element, <<"canvas"/utf8>>, Attrs, Children}.
-spec canvas_text(list(nakai@html@attrs:attr(GZM)), binary()) -> node_(GZM).
canvas_text(Attrs, Text) ->
{element, <<"canvas"/utf8>>, Attrs, [{text, Text}]}.
-spec caption(list(nakai@html@attrs:attr(GZQ)), list(node_(GZQ))) -> node_(GZQ).
caption(Attrs, Children) ->
{element, <<"caption"/utf8>>, Attrs, Children}.
-spec caption_text(list(nakai@html@attrs:attr(GZW)), binary()) -> node_(GZW).
caption_text(Attrs, Text) ->
{element, <<"caption"/utf8>>, Attrs, [{text, Text}]}.
-spec cite(list(nakai@html@attrs:attr(HAA)), list(node_(HAA))) -> node_(HAA).
cite(Attrs, Children) ->
{element, <<"cite"/utf8>>, Attrs, Children}.
-spec cite_text(list(nakai@html@attrs:attr(HAG)), binary()) -> node_(HAG).
cite_text(Attrs, Text) ->
{element, <<"cite"/utf8>>, Attrs, [{text, Text}]}.
-spec code(list(nakai@html@attrs:attr(HAK)), list(node_(HAK))) -> node_(HAK).
code(Attrs, Children) ->
{element, <<"code"/utf8>>, Attrs, Children}.
-spec code_text(list(nakai@html@attrs:attr(HAQ)), binary()) -> node_(HAQ).
code_text(Attrs, Text) ->
{element, <<"code"/utf8>>, Attrs, [{text, Text}]}.
-spec col(list(nakai@html@attrs:attr(HAU)), list(node_(HAU))) -> node_(HAU).
col(Attrs, Children) ->
{element, <<"col"/utf8>>, Attrs, Children}.
-spec col_text(list(nakai@html@attrs:attr(HBA)), binary()) -> node_(HBA).
col_text(Attrs, Text) ->
{element, <<"col"/utf8>>, Attrs, [{text, Text}]}.
-spec colgroup(list(nakai@html@attrs:attr(HBE)), list(node_(HBE))) -> node_(HBE).
colgroup(Attrs, Children) ->
{element, <<"colgroup"/utf8>>, Attrs, Children}.
-spec colgroup_text(list(nakai@html@attrs:attr(HBK)), binary()) -> node_(HBK).
colgroup_text(Attrs, Text) ->
{element, <<"colgroup"/utf8>>, Attrs, [{text, Text}]}.
-spec data(list(nakai@html@attrs:attr(HBO)), list(node_(HBO))) -> node_(HBO).
data(Attrs, Children) ->
{element, <<"data"/utf8>>, Attrs, Children}.
-spec data_text(list(nakai@html@attrs:attr(HBU)), binary()) -> node_(HBU).
data_text(Attrs, Text) ->
{element, <<"data"/utf8>>, Attrs, [{text, Text}]}.
-spec datalist(list(nakai@html@attrs:attr(HBY)), list(node_(HBY))) -> node_(HBY).
datalist(Attrs, Children) ->
{element, <<"datalist"/utf8>>, Attrs, Children}.
-spec datalist_text(list(nakai@html@attrs:attr(HCE)), binary()) -> node_(HCE).
datalist_text(Attrs, Text) ->
{element, <<"datalist"/utf8>>, Attrs, [{text, Text}]}.
-spec dd(list(nakai@html@attrs:attr(HCI)), list(node_(HCI))) -> node_(HCI).
dd(Attrs, Children) ->
{element, <<"dd"/utf8>>, Attrs, Children}.
-spec dd_text(list(nakai@html@attrs:attr(HCO)), binary()) -> node_(HCO).
dd_text(Attrs, Text) ->
{element, <<"dd"/utf8>>, Attrs, [{text, Text}]}.
-spec del(list(nakai@html@attrs:attr(HCS)), list(node_(HCS))) -> node_(HCS).
del(Attrs, Children) ->
{element, <<"del"/utf8>>, Attrs, Children}.
-spec del_text(list(nakai@html@attrs:attr(HCY)), binary()) -> node_(HCY).
del_text(Attrs, Text) ->
{element, <<"del"/utf8>>, Attrs, [{text, Text}]}.
-spec details(list(nakai@html@attrs:attr(HDC)), list(node_(HDC))) -> node_(HDC).
details(Attrs, Children) ->
{element, <<"details"/utf8>>, Attrs, Children}.
-spec details_text(list(nakai@html@attrs:attr(HDI)), binary()) -> node_(HDI).
details_text(Attrs, Text) ->
{element, <<"details"/utf8>>, Attrs, [{text, Text}]}.
-spec dfn(list(nakai@html@attrs:attr(HDM)), list(node_(HDM))) -> node_(HDM).
dfn(Attrs, Children) ->
{element, <<"dfn"/utf8>>, Attrs, Children}.
-spec dfn_text(list(nakai@html@attrs:attr(HDS)), binary()) -> node_(HDS).
dfn_text(Attrs, Text) ->
{element, <<"dfn"/utf8>>, Attrs, [{text, Text}]}.
-spec dialog(list(nakai@html@attrs:attr(HDW)), list(node_(HDW))) -> node_(HDW).
dialog(Attrs, Children) ->
{element, <<"dialog"/utf8>>, Attrs, Children}.
-spec dialog_text(list(nakai@html@attrs:attr(HEC)), binary()) -> node_(HEC).
dialog_text(Attrs, Text) ->
{element, <<"dialog"/utf8>>, Attrs, [{text, Text}]}.
-spec 'div'(list(nakai@html@attrs:attr(HEG)), list(node_(HEG))) -> node_(HEG).
'div'(Attrs, Children) ->
{element, <<"div"/utf8>>, Attrs, Children}.
-spec div_text(list(nakai@html@attrs:attr(HEM)), binary()) -> node_(HEM).
div_text(Attrs, Text) ->
{element, <<"div"/utf8>>, Attrs, [{text, Text}]}.
-spec dl(list(nakai@html@attrs:attr(HEQ)), list(node_(HEQ))) -> node_(HEQ).
dl(Attrs, Children) ->
{element, <<"dl"/utf8>>, Attrs, Children}.
-spec dl_text(list(nakai@html@attrs:attr(HEW)), binary()) -> node_(HEW).
dl_text(Attrs, Text) ->
{element, <<"dl"/utf8>>, Attrs, [{text, Text}]}.
-spec dt(list(nakai@html@attrs:attr(HFA)), list(node_(HFA))) -> node_(HFA).
dt(Attrs, Children) ->
{element, <<"dt"/utf8>>, Attrs, Children}.
-spec dt_text(list(nakai@html@attrs:attr(HFG)), binary()) -> node_(HFG).
dt_text(Attrs, Text) ->
{element, <<"dt"/utf8>>, Attrs, [{text, Text}]}.
-spec em(list(nakai@html@attrs:attr(HFK)), list(node_(HFK))) -> node_(HFK).
em(Attrs, Children) ->
{element, <<"em"/utf8>>, Attrs, Children}.
-spec em_text(list(nakai@html@attrs:attr(HFQ)), binary()) -> node_(HFQ).
em_text(Attrs, Text) ->
{element, <<"em"/utf8>>, Attrs, [{text, Text}]}.
-spec embed(list(nakai@html@attrs:attr(HFU)), list(node_(HFU))) -> node_(HFU).
embed(Attrs, Children) ->
{element, <<"embed"/utf8>>, Attrs, Children}.
-spec embed_text(list(nakai@html@attrs:attr(HGA)), binary()) -> node_(HGA).
embed_text(Attrs, Text) ->
{element, <<"embed"/utf8>>, Attrs, [{text, Text}]}.
-spec fieldset(list(nakai@html@attrs:attr(HGE)), list(node_(HGE))) -> node_(HGE).
fieldset(Attrs, Children) ->
{element, <<"fieldset"/utf8>>, Attrs, Children}.
-spec fieldset_text(list(nakai@html@attrs:attr(HGK)), binary()) -> node_(HGK).
fieldset_text(Attrs, Text) ->
{element, <<"fieldset"/utf8>>, Attrs, [{text, Text}]}.
-spec figcaption(list(nakai@html@attrs:attr(HGO)), list(node_(HGO))) -> node_(HGO).
figcaption(Attrs, Children) ->
{element, <<"figcaption"/utf8>>, Attrs, Children}.
-spec figcaption_text(list(nakai@html@attrs:attr(HGU)), binary()) -> node_(HGU).
figcaption_text(Attrs, Text) ->
{element, <<"figcaption"/utf8>>, Attrs, [{text, Text}]}.
-spec figure(list(nakai@html@attrs:attr(HGY)), list(node_(HGY))) -> node_(HGY).
figure(Attrs, Children) ->
{element, <<"figure"/utf8>>, Attrs, Children}.
-spec figure_text(list(nakai@html@attrs:attr(HHE)), binary()) -> node_(HHE).
figure_text(Attrs, Text) ->
{element, <<"figure"/utf8>>, Attrs, [{text, Text}]}.
-spec footer(list(nakai@html@attrs:attr(HHI)), list(node_(HHI))) -> node_(HHI).
footer(Attrs, Children) ->
{element, <<"footer"/utf8>>, Attrs, Children}.
-spec footer_text(list(nakai@html@attrs:attr(HHO)), binary()) -> node_(HHO).
footer_text(Attrs, Text) ->
{element, <<"footer"/utf8>>, Attrs, [{text, Text}]}.
-spec form(list(nakai@html@attrs:attr(HHS)), list(node_(HHS))) -> node_(HHS).
form(Attrs, Children) ->
{element, <<"form"/utf8>>, Attrs, Children}.
-spec form_text(list(nakai@html@attrs:attr(HHY)), binary()) -> node_(HHY).
form_text(Attrs, Text) ->
{element, <<"form"/utf8>>, Attrs, [{text, Text}]}.
-spec h1(list(nakai@html@attrs:attr(HIC)), list(node_(HIC))) -> node_(HIC).
h1(Attrs, Children) ->
{element, <<"h1"/utf8>>, Attrs, Children}.
-spec h1_text(list(nakai@html@attrs:attr(HII)), binary()) -> node_(HII).
h1_text(Attrs, Text) ->
{element, <<"h1"/utf8>>, Attrs, [{text, Text}]}.
-spec h2(list(nakai@html@attrs:attr(HIM)), list(node_(HIM))) -> node_(HIM).
h2(Attrs, Children) ->
{element, <<"h2"/utf8>>, Attrs, Children}.
-spec h2_text(list(nakai@html@attrs:attr(HIS)), binary()) -> node_(HIS).
h2_text(Attrs, Text) ->
{element, <<"h2"/utf8>>, Attrs, [{text, Text}]}.
-spec h3(list(nakai@html@attrs:attr(HIW)), list(node_(HIW))) -> node_(HIW).
h3(Attrs, Children) ->
{element, <<"h3"/utf8>>, Attrs, Children}.
-spec h3_text(list(nakai@html@attrs:attr(HJC)), binary()) -> node_(HJC).
h3_text(Attrs, Text) ->
{element, <<"h3"/utf8>>, Attrs, [{text, Text}]}.
-spec h4(list(nakai@html@attrs:attr(HJG)), list(node_(HJG))) -> node_(HJG).
h4(Attrs, Children) ->
{element, <<"h4"/utf8>>, Attrs, Children}.
-spec h4_text(list(nakai@html@attrs:attr(HJM)), binary()) -> node_(HJM).
h4_text(Attrs, Text) ->
{element, <<"h4"/utf8>>, Attrs, [{text, Text}]}.
-spec h5(list(nakai@html@attrs:attr(HJQ)), list(node_(HJQ))) -> node_(HJQ).
h5(Attrs, Children) ->
{element, <<"h5"/utf8>>, Attrs, Children}.
-spec h5_text(list(nakai@html@attrs:attr(HJW)), binary()) -> node_(HJW).
h5_text(Attrs, Text) ->
{element, <<"h5"/utf8>>, Attrs, [{text, Text}]}.
-spec h6(list(nakai@html@attrs:attr(HKA)), list(node_(HKA))) -> node_(HKA).
h6(Attrs, Children) ->
{element, <<"h6"/utf8>>, Attrs, Children}.
-spec h6_text(list(nakai@html@attrs:attr(HKG)), binary()) -> node_(HKG).
h6_text(Attrs, Text) ->
{element, <<"h6"/utf8>>, Attrs, [{text, Text}]}.
-spec header(list(nakai@html@attrs:attr(HKK)), list(node_(HKK))) -> node_(HKK).
header(Attrs, Children) ->
{element, <<"header"/utf8>>, Attrs, Children}.
-spec header_text(list(nakai@html@attrs:attr(HKQ)), binary()) -> node_(HKQ).
header_text(Attrs, Text) ->
{element, <<"header"/utf8>>, Attrs, [{text, Text}]}.
-spec hr(list(nakai@html@attrs:attr(HKU))) -> node_(HKU).
hr(Attrs) ->
{leaf_element, <<"hr"/utf8>>, Attrs}.
-spec i(list(nakai@html@attrs:attr(HKY)), list(node_(HKY))) -> node_(HKY).
i(Attrs, Children) ->
{element, <<"i"/utf8>>, Attrs, Children}.
-spec i_text(list(nakai@html@attrs:attr(HLE)), binary()) -> node_(HLE).
i_text(Attrs, Text) ->
{element, <<"i"/utf8>>, Attrs, [{text, Text}]}.
-spec iframe(list(nakai@html@attrs:attr(HLI)), list(node_(HLI))) -> node_(HLI).
iframe(Attrs, Children) ->
{element, <<"iframe"/utf8>>, Attrs, Children}.
-spec iframe_text(list(nakai@html@attrs:attr(HLO)), binary()) -> node_(HLO).
iframe_text(Attrs, Text) ->
{element, <<"iframe"/utf8>>, Attrs, [{text, Text}]}.
-spec img(list(nakai@html@attrs:attr(HLS))) -> node_(HLS).
img(Attrs) ->
{leaf_element, <<"img"/utf8>>, Attrs}.
-spec input(list(nakai@html@attrs:attr(HLW))) -> node_(HLW).
input(Attrs) ->
{leaf_element, <<"input"/utf8>>, Attrs}.
-spec ins(list(nakai@html@attrs:attr(HMA)), list(node_(HMA))) -> node_(HMA).
ins(Attrs, Children) ->
{element, <<"ins"/utf8>>, Attrs, Children}.
-spec ins_text(list(nakai@html@attrs:attr(HMG)), binary()) -> node_(HMG).
ins_text(Attrs, Text) ->
{element, <<"ins"/utf8>>, Attrs, [{text, Text}]}.
-spec kbd(list(nakai@html@attrs:attr(HMK)), list(node_(HMK))) -> node_(HMK).
kbd(Attrs, Children) ->
{element, <<"kbd"/utf8>>, Attrs, Children}.
-spec kbd_text(list(nakai@html@attrs:attr(HMQ)), binary()) -> node_(HMQ).
kbd_text(Attrs, Text) ->
{element, <<"kbd"/utf8>>, Attrs, [{text, Text}]}.
-spec label(list(nakai@html@attrs:attr(HMU)), list(node_(HMU))) -> node_(HMU).
label(Attrs, Children) ->
{element, <<"label"/utf8>>, Attrs, Children}.
-spec label_text(list(nakai@html@attrs:attr(HNA)), binary()) -> node_(HNA).
label_text(Attrs, Text) ->
{element, <<"label"/utf8>>, Attrs, [{text, Text}]}.
-spec legend(list(nakai@html@attrs:attr(HNE)), list(node_(HNE))) -> node_(HNE).
legend(Attrs, Children) ->
{element, <<"legend"/utf8>>, Attrs, Children}.
-spec legend_text(list(nakai@html@attrs:attr(HNK)), binary()) -> node_(HNK).
legend_text(Attrs, Text) ->
{element, <<"legend"/utf8>>, Attrs, [{text, Text}]}.
-spec li(list(nakai@html@attrs:attr(HNO)), list(node_(HNO))) -> node_(HNO).
li(Attrs, Children) ->
{element, <<"li"/utf8>>, Attrs, Children}.
-spec li_text(list(nakai@html@attrs:attr(HNU)), binary()) -> node_(HNU).
li_text(Attrs, Text) ->
{element, <<"li"/utf8>>, Attrs, [{text, Text}]}.
-spec link(list(nakai@html@attrs:attr(HNY))) -> node_(HNY).
link(Attrs) ->
{leaf_element, <<"link"/utf8>>, Attrs}.
-spec main(list(nakai@html@attrs:attr(HOC)), list(node_(HOC))) -> node_(HOC).
main(Attrs, Children) ->
{element, <<"main"/utf8>>, Attrs, Children}.
-spec main_text(list(nakai@html@attrs:attr(HOI)), binary()) -> node_(HOI).
main_text(Attrs, Text) ->
{element, <<"main"/utf8>>, Attrs, [{text, Text}]}.
-spec map(list(nakai@html@attrs:attr(HOM)), list(node_(HOM))) -> node_(HOM).
map(Attrs, Children) ->
{element, <<"map"/utf8>>, Attrs, Children}.
-spec map_text(list(nakai@html@attrs:attr(HOS)), binary()) -> node_(HOS).
map_text(Attrs, Text) ->
{element, <<"map"/utf8>>, Attrs, [{text, Text}]}.
-spec mark(list(nakai@html@attrs:attr(HOW)), list(node_(HOW))) -> node_(HOW).
mark(Attrs, Children) ->
{element, <<"mark"/utf8>>, Attrs, Children}.
-spec mark_text(list(nakai@html@attrs:attr(HPC)), binary()) -> node_(HPC).
mark_text(Attrs, Text) ->
{element, <<"mark"/utf8>>, Attrs, [{text, Text}]}.
-spec math(list(nakai@html@attrs:attr(HPG)), list(node_(HPG))) -> node_(HPG).
math(Attrs, Children) ->
{element, <<"math"/utf8>>, Attrs, Children}.
-spec math_text(list(nakai@html@attrs:attr(HPM)), binary()) -> node_(HPM).
math_text(Attrs, Text) ->
{element, <<"math"/utf8>>, Attrs, [{text, Text}]}.
-spec menu(list(nakai@html@attrs:attr(HPQ)), list(node_(HPQ))) -> node_(HPQ).
menu(Attrs, Children) ->
{element, <<"menu"/utf8>>, Attrs, Children}.
-spec menu_text(list(nakai@html@attrs:attr(HPW)), binary()) -> node_(HPW).
menu_text(Attrs, Text) ->
{element, <<"menu"/utf8>>, Attrs, [{text, Text}]}.
-spec menuitem(list(nakai@html@attrs:attr(HQA)), list(node_(HQA))) -> node_(HQA).
menuitem(Attrs, Children) ->
{element, <<"menuitem"/utf8>>, Attrs, Children}.
-spec menuitem_text(list(nakai@html@attrs:attr(HQG)), binary()) -> node_(HQG).
menuitem_text(Attrs, Text) ->
{element, <<"menuitem"/utf8>>, Attrs, [{text, Text}]}.
-spec meta(list(nakai@html@attrs:attr(HQK))) -> node_(HQK).
meta(Attrs) ->
{leaf_element, <<"meta"/utf8>>, Attrs}.
-spec meter(list(nakai@html@attrs:attr(HQO)), list(node_(HQO))) -> node_(HQO).
meter(Attrs, Children) ->
{element, <<"meter"/utf8>>, Attrs, Children}.
-spec meter_text(list(nakai@html@attrs:attr(HQU)), binary()) -> node_(HQU).
meter_text(Attrs, Text) ->
{element, <<"meter"/utf8>>, Attrs, [{text, Text}]}.
-spec nav(list(nakai@html@attrs:attr(HQY)), list(node_(HQY))) -> node_(HQY).
nav(Attrs, Children) ->
{element, <<"nav"/utf8>>, Attrs, Children}.
-spec nav_text(list(nakai@html@attrs:attr(HRE)), binary()) -> node_(HRE).
nav_text(Attrs, Text) ->
{element, <<"nav"/utf8>>, Attrs, [{text, Text}]}.
-spec noscript(list(nakai@html@attrs:attr(HRI)), list(node_(HRI))) -> node_(HRI).
noscript(Attrs, Children) ->
{element, <<"noscript"/utf8>>, Attrs, Children}.
-spec noscript_text(list(nakai@html@attrs:attr(HRO)), binary()) -> node_(HRO).
noscript_text(Attrs, Text) ->
{element, <<"noscript"/utf8>>, Attrs, [{text, Text}]}.
-spec object(list(nakai@html@attrs:attr(HRS)), list(node_(HRS))) -> node_(HRS).
object(Attrs, Children) ->
{element, <<"object"/utf8>>, Attrs, Children}.
-spec object_text(list(nakai@html@attrs:attr(HRY)), binary()) -> node_(HRY).
object_text(Attrs, Text) ->
{element, <<"object"/utf8>>, Attrs, [{text, Text}]}.
-spec ol(list(nakai@html@attrs:attr(HSC)), list(node_(HSC))) -> node_(HSC).
ol(Attrs, Children) ->
{element, <<"ol"/utf8>>, Attrs, Children}.
-spec ol_text(list(nakai@html@attrs:attr(HSI)), binary()) -> node_(HSI).
ol_text(Attrs, Text) ->
{element, <<"ol"/utf8>>, Attrs, [{text, Text}]}.
-spec optgroup(list(nakai@html@attrs:attr(HSM)), list(node_(HSM))) -> node_(HSM).
optgroup(Attrs, Children) ->
{element, <<"optgroup"/utf8>>, Attrs, Children}.
-spec optgroup_text(list(nakai@html@attrs:attr(HSS)), binary()) -> node_(HSS).
optgroup_text(Attrs, Text) ->
{element, <<"optgroup"/utf8>>, Attrs, [{text, Text}]}.
-spec option(list(nakai@html@attrs:attr(HSW)), list(node_(HSW))) -> node_(HSW).
option(Attrs, Children) ->
{element, <<"option"/utf8>>, Attrs, Children}.
-spec option_text(list(nakai@html@attrs:attr(HTC)), binary()) -> node_(HTC).
option_text(Attrs, Text) ->
{element, <<"option"/utf8>>, Attrs, [{text, Text}]}.
-spec output(list(nakai@html@attrs:attr(HTG)), list(node_(HTG))) -> node_(HTG).
output(Attrs, Children) ->
{element, <<"output"/utf8>>, Attrs, Children}.
-spec output_text(list(nakai@html@attrs:attr(HTM)), binary()) -> node_(HTM).
output_text(Attrs, Text) ->
{element, <<"output"/utf8>>, Attrs, [{text, Text}]}.
-spec p(list(nakai@html@attrs:attr(HTQ)), list(node_(HTQ))) -> node_(HTQ).
p(Attrs, Children) ->
{element, <<"p"/utf8>>, Attrs, Children}.
-spec p_text(list(nakai@html@attrs:attr(HTW)), binary()) -> node_(HTW).
p_text(Attrs, Text) ->
{element, <<"p"/utf8>>, Attrs, [{text, Text}]}.
-spec param(list(nakai@html@attrs:attr(HUA)), list(node_(HUA))) -> node_(HUA).
param(Attrs, Children) ->
{element, <<"param"/utf8>>, Attrs, Children}.
-spec param_text(list(nakai@html@attrs:attr(HUG)), binary()) -> node_(HUG).
param_text(Attrs, Text) ->
{element, <<"param"/utf8>>, Attrs, [{text, Text}]}.
-spec picture(list(nakai@html@attrs:attr(HUK)), list(node_(HUK))) -> node_(HUK).
picture(Attrs, Children) ->
{element, <<"picture"/utf8>>, Attrs, Children}.
-spec picture_text(list(nakai@html@attrs:attr(HUQ)), binary()) -> node_(HUQ).
picture_text(Attrs, Text) ->
{element, <<"picture"/utf8>>, Attrs, [{text, Text}]}.
-spec pre(list(nakai@html@attrs:attr(HUU)), list(node_(HUU))) -> node_(HUU).
pre(Attrs, Children) ->
{element, <<"pre"/utf8>>, Attrs, Children}.
-spec pre_text(list(nakai@html@attrs:attr(HVA)), binary()) -> node_(HVA).
pre_text(Attrs, Text) ->
{element, <<"pre"/utf8>>, Attrs, [{text, Text}]}.
-spec progress(list(nakai@html@attrs:attr(HVE)), list(node_(HVE))) -> node_(HVE).
progress(Attrs, Children) ->
{element, <<"progress"/utf8>>, Attrs, Children}.
-spec progress_text(list(nakai@html@attrs:attr(HVK)), binary()) -> node_(HVK).
progress_text(Attrs, Text) ->
{element, <<"progress"/utf8>>, Attrs, [{text, Text}]}.
-spec q(list(nakai@html@attrs:attr(HVO)), list(node_(HVO))) -> node_(HVO).
q(Attrs, Children) ->
{element, <<"q"/utf8>>, Attrs, Children}.
-spec q_text(list(nakai@html@attrs:attr(HVU)), binary()) -> node_(HVU).
q_text(Attrs, Text) ->
{element, <<"q"/utf8>>, Attrs, [{text, Text}]}.
-spec rp(list(nakai@html@attrs:attr(HVY)), list(node_(HVY))) -> node_(HVY).
rp(Attrs, Children) ->
{element, <<"rp"/utf8>>, Attrs, Children}.
-spec rp_text(list(nakai@html@attrs:attr(HWE)), binary()) -> node_(HWE).
rp_text(Attrs, Text) ->
{element, <<"rp"/utf8>>, Attrs, [{text, Text}]}.
-spec rt(list(nakai@html@attrs:attr(HWI)), list(node_(HWI))) -> node_(HWI).
rt(Attrs, Children) ->
{element, <<"rt"/utf8>>, Attrs, Children}.
-spec rt_text(list(nakai@html@attrs:attr(HWO)), binary()) -> node_(HWO).
rt_text(Attrs, Text) ->
{element, <<"rt"/utf8>>, Attrs, [{text, Text}]}.
-spec ruby(list(nakai@html@attrs:attr(HWS)), list(node_(HWS))) -> node_(HWS).
ruby(Attrs, Children) ->
{element, <<"ruby"/utf8>>, Attrs, Children}.
-spec ruby_text(list(nakai@html@attrs:attr(HWY)), binary()) -> node_(HWY).
ruby_text(Attrs, Text) ->
{element, <<"ruby"/utf8>>, Attrs, [{text, Text}]}.
-spec s(list(nakai@html@attrs:attr(HXC)), list(node_(HXC))) -> node_(HXC).
s(Attrs, Children) ->
{element, <<"s"/utf8>>, Attrs, Children}.
-spec s_text(list(nakai@html@attrs:attr(HXI)), binary()) -> node_(HXI).
s_text(Attrs, Text) ->
{element, <<"s"/utf8>>, Attrs, [{text, Text}]}.
-spec samp(list(nakai@html@attrs:attr(HXM)), list(node_(HXM))) -> node_(HXM).
samp(Attrs, Children) ->
{element, <<"samp"/utf8>>, Attrs, Children}.
-spec samp_text(list(nakai@html@attrs:attr(HXS)), binary()) -> node_(HXS).
samp_text(Attrs, Text) ->
{element, <<"samp"/utf8>>, Attrs, [{text, Text}]}.
-spec section(list(nakai@html@attrs:attr(HXW)), list(node_(HXW))) -> node_(HXW).
section(Attrs, Children) ->
{element, <<"section"/utf8>>, Attrs, Children}.
-spec section_text(list(nakai@html@attrs:attr(HYC)), binary()) -> node_(HYC).
section_text(Attrs, Text) ->
{element, <<"section"/utf8>>, Attrs, [{text, Text}]}.
-spec select(list(nakai@html@attrs:attr(HYG)), list(node_(HYG))) -> node_(HYG).
select(Attrs, Children) ->
{element, <<"select"/utf8>>, Attrs, Children}.
-spec select_text(list(nakai@html@attrs:attr(HYM)), binary()) -> node_(HYM).
select_text(Attrs, Text) ->
{element, <<"select"/utf8>>, Attrs, [{text, Text}]}.
-spec small(list(nakai@html@attrs:attr(HYQ)), list(node_(HYQ))) -> node_(HYQ).
small(Attrs, Children) ->
{element, <<"small"/utf8>>, Attrs, Children}.
-spec small_text(list(nakai@html@attrs:attr(HYW)), binary()) -> node_(HYW).
small_text(Attrs, Text) ->
{element, <<"small"/utf8>>, Attrs, [{text, Text}]}.
-spec source(list(nakai@html@attrs:attr(HZA))) -> node_(HZA).
source(Attrs) ->
{leaf_element, <<"source"/utf8>>, Attrs}.
-spec span(list(nakai@html@attrs:attr(HZE)), list(node_(HZE))) -> node_(HZE).
span(Attrs, Children) ->
{element, <<"span"/utf8>>, Attrs, Children}.
-spec span_text(list(nakai@html@attrs:attr(HZK)), binary()) -> node_(HZK).
span_text(Attrs, Text) ->
{element, <<"span"/utf8>>, Attrs, [{text, Text}]}.
-spec strong(list(nakai@html@attrs:attr(HZO)), list(node_(HZO))) -> node_(HZO).
strong(Attrs, Children) ->
{element, <<"strong"/utf8>>, Attrs, Children}.
-spec strong_text(list(nakai@html@attrs:attr(HZU)), binary()) -> node_(HZU).
strong_text(Attrs, Text) ->
{element, <<"strong"/utf8>>, Attrs, [{text, Text}]}.
-spec sub(list(nakai@html@attrs:attr(HZY)), list(node_(HZY))) -> node_(HZY).
sub(Attrs, Children) ->
{element, <<"sub"/utf8>>, Attrs, Children}.
-spec sub_text(list(nakai@html@attrs:attr(IAE)), binary()) -> node_(IAE).
sub_text(Attrs, Text) ->
{element, <<"sub"/utf8>>, Attrs, [{text, Text}]}.
-spec summary(list(nakai@html@attrs:attr(IAI)), list(node_(IAI))) -> node_(IAI).
summary(Attrs, Children) ->
{element, <<"summary"/utf8>>, Attrs, Children}.
-spec summary_text(list(nakai@html@attrs:attr(IAO)), binary()) -> node_(IAO).
summary_text(Attrs, Text) ->
{element, <<"summary"/utf8>>, Attrs, [{text, Text}]}.
-spec sup(list(nakai@html@attrs:attr(IAS)), list(node_(IAS))) -> node_(IAS).
sup(Attrs, Children) ->
{element, <<"sup"/utf8>>, Attrs, Children}.
-spec sup_text(list(nakai@html@attrs:attr(IAY)), binary()) -> node_(IAY).
sup_text(Attrs, Text) ->
{element, <<"sup"/utf8>>, Attrs, [{text, Text}]}.
-spec svg(list(nakai@html@attrs:attr(IBC)), list(node_(IBC))) -> node_(IBC).
svg(Attrs, Children) ->
{element, <<"svg"/utf8>>, Attrs, Children}.
-spec svg_text(list(nakai@html@attrs:attr(IBI)), binary()) -> node_(IBI).
svg_text(Attrs, Text) ->
{element, <<"svg"/utf8>>, Attrs, [{text, Text}]}.
-spec table(list(nakai@html@attrs:attr(IBM)), list(node_(IBM))) -> node_(IBM).
table(Attrs, Children) ->
{element, <<"table"/utf8>>, Attrs, Children}.
-spec table_text(list(nakai@html@attrs:attr(IBS)), binary()) -> node_(IBS).
table_text(Attrs, Text) ->
{element, <<"table"/utf8>>, Attrs, [{text, Text}]}.
-spec tbody(list(nakai@html@attrs:attr(IBW)), list(node_(IBW))) -> node_(IBW).
tbody(Attrs, Children) ->
{element, <<"tbody"/utf8>>, Attrs, Children}.
-spec tbody_text(list(nakai@html@attrs:attr(ICC)), binary()) -> node_(ICC).
tbody_text(Attrs, Text) ->
{element, <<"tbody"/utf8>>, Attrs, [{text, Text}]}.
-spec td(list(nakai@html@attrs:attr(ICG)), list(node_(ICG))) -> node_(ICG).
td(Attrs, Children) ->
{element, <<"td"/utf8>>, Attrs, Children}.
-spec td_text(list(nakai@html@attrs:attr(ICM)), binary()) -> node_(ICM).
td_text(Attrs, Text) ->
{element, <<"td"/utf8>>, Attrs, [{text, Text}]}.
-spec textarea(list(nakai@html@attrs:attr(ICQ)), list(node_(ICQ))) -> node_(ICQ).
textarea(Attrs, Children) ->
{element, <<"textarea"/utf8>>, Attrs, Children}.
-spec textarea_text(list(nakai@html@attrs:attr(ICW)), binary()) -> node_(ICW).
textarea_text(Attrs, Text) ->
{element, <<"textarea"/utf8>>, Attrs, [{text, Text}]}.
-spec tfoot(list(nakai@html@attrs:attr(IDA)), list(node_(IDA))) -> node_(IDA).
tfoot(Attrs, Children) ->
{element, <<"tfoot"/utf8>>, Attrs, Children}.
-spec tfoot_text(list(nakai@html@attrs:attr(IDG)), binary()) -> node_(IDG).
tfoot_text(Attrs, Text) ->
{element, <<"tfoot"/utf8>>, Attrs, [{text, Text}]}.
-spec th(list(nakai@html@attrs:attr(IDK)), list(node_(IDK))) -> node_(IDK).
th(Attrs, Children) ->
{element, <<"th"/utf8>>, Attrs, Children}.
-spec th_text(list(nakai@html@attrs:attr(IDQ)), binary()) -> node_(IDQ).
th_text(Attrs, Text) ->
{element, <<"th"/utf8>>, Attrs, [{text, Text}]}.
-spec thead(list(nakai@html@attrs:attr(IDU)), list(node_(IDU))) -> node_(IDU).
thead(Attrs, Children) ->
{element, <<"thead"/utf8>>, Attrs, Children}.
-spec thead_text(list(nakai@html@attrs:attr(IEA)), binary()) -> node_(IEA).
thead_text(Attrs, Text) ->
{element, <<"thead"/utf8>>, Attrs, [{text, Text}]}.
-spec time(list(nakai@html@attrs:attr(IEE)), list(node_(IEE))) -> node_(IEE).
time(Attrs, Children) ->
{element, <<"time"/utf8>>, Attrs, Children}.
-spec time_text(list(nakai@html@attrs:attr(IEK)), binary()) -> node_(IEK).
time_text(Attrs, Text) ->
{element, <<"time"/utf8>>, Attrs, [{text, Text}]}.
-spec tr(list(nakai@html@attrs:attr(IEO)), list(node_(IEO))) -> node_(IEO).
tr(Attrs, Children) ->
{element, <<"tr"/utf8>>, Attrs, Children}.
-spec tr_text(list(nakai@html@attrs:attr(IEU)), binary()) -> node_(IEU).
tr_text(Attrs, Text) ->
{element, <<"tr"/utf8>>, Attrs, [{text, Text}]}.
-spec track(list(nakai@html@attrs:attr(IEY))) -> node_(IEY).
track(Attrs) ->
{leaf_element, <<"track"/utf8>>, Attrs}.
-spec u(list(nakai@html@attrs:attr(IFC)), list(node_(IFC))) -> node_(IFC).
u(Attrs, Children) ->
{element, <<"u"/utf8>>, Attrs, Children}.
-spec u_text(list(nakai@html@attrs:attr(IFI)), binary()) -> node_(IFI).
u_text(Attrs, Text) ->
{element, <<"u"/utf8>>, Attrs, [{text, Text}]}.
-spec ul(list(nakai@html@attrs:attr(IFM)), list(node_(IFM))) -> node_(IFM).
ul(Attrs, Children) ->
{element, <<"ul"/utf8>>, Attrs, Children}.
-spec ul_text(list(nakai@html@attrs:attr(IFS)), binary()) -> node_(IFS).
ul_text(Attrs, Text) ->
{element, <<"ul"/utf8>>, Attrs, [{text, Text}]}.
-spec var(list(nakai@html@attrs:attr(IFW)), list(node_(IFW))) -> node_(IFW).
var(Attrs, Children) ->
{element, <<"var"/utf8>>, Attrs, Children}.
-spec var_text(list(nakai@html@attrs:attr(IGC)), binary()) -> node_(IGC).
var_text(Attrs, Text) ->
{element, <<"var"/utf8>>, Attrs, [{text, Text}]}.
-spec video(list(nakai@html@attrs:attr(IGG)), list(node_(IGG))) -> node_(IGG).
video(Attrs, Children) ->
{element, <<"video"/utf8>>, Attrs, Children}.
-spec video_text(list(nakai@html@attrs:attr(IGM)), binary()) -> node_(IGM).
video_text(Attrs, Text) ->
{element, <<"video"/utf8>>, Attrs, [{text, Text}]}.
-spec wbr(list(nakai@html@attrs:attr(IGQ)), list(node_(IGQ))) -> node_(IGQ).
wbr(Attrs, Children) ->
{element, <<"wbr"/utf8>>, Attrs, Children}.
-spec wbr_text(list(nakai@html@attrs:attr(IGW)), binary()) -> node_(IGW).
wbr_text(Attrs, Text) ->
{element, <<"wbr"/utf8>>, Attrs, [{text, Text}]}.