Current section

Files

Jump to
nakai src nakai@html.erl
Raw

src/nakai@html.erl

-module(nakai@html).
-compile(no_auto_import).
-export([doctype/1, head/1, space/0, 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, body/2, body_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, title/2, title_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_(ESR) :: {head, list(node_(ESR))} |
{comment, binary()} |
{element, binary(), list(nakai@html@attrs:attr(ESR)), list(node_(ESR))} |
{leaf_element, binary(), list(nakai@html@attrs:attr(ESR))} |
{text, binary()} |
{component, fun(() -> node_(ESR))} |
{fragment, list(node_(ESR))} |
nothing.
-spec doctype(binary()) -> nakai@html@doctype:doctype().
doctype(Decl) ->
{doctype, Decl}.
-spec head(list(node_(ESZ))) -> node_(ESZ).
head(Children) ->
{head, Children}.
-spec space() -> node_(any()).
space() ->
{text, <<" "/utf8>>}.
-spec a(list(nakai@html@attrs:attr(ETF)), list(node_(ETF))) -> node_(ETF).
a(Attrs, Children) ->
{element, <<"a"/utf8>>, Attrs, Children}.
-spec a_text(list(nakai@html@attrs:attr(ETL)), binary()) -> node_(ETL).
a_text(Attrs, Text) ->
{element, <<"a"/utf8>>, Attrs, [{text, Text}]}.
-spec abbr(list(nakai@html@attrs:attr(ETP)), list(node_(ETP))) -> node_(ETP).
abbr(Attrs, Children) ->
{element, <<"abbr"/utf8>>, Attrs, Children}.
-spec abbr_text(list(nakai@html@attrs:attr(ETV)), binary()) -> node_(ETV).
abbr_text(Attrs, Text) ->
{element, <<"abbr"/utf8>>, Attrs, [{text, Text}]}.
-spec address(list(nakai@html@attrs:attr(ETZ)), list(node_(ETZ))) -> node_(ETZ).
address(Attrs, Children) ->
{element, <<"address"/utf8>>, Attrs, Children}.
-spec address_text(list(nakai@html@attrs:attr(EUF)), binary()) -> node_(EUF).
address_text(Attrs, Text) ->
{element, <<"address"/utf8>>, Attrs, [{text, Text}]}.
-spec area(list(nakai@html@attrs:attr(EUJ))) -> node_(EUJ).
area(Attrs) ->
{leaf_element, <<"area"/utf8>>, Attrs}.
-spec article(list(nakai@html@attrs:attr(EUN)), list(node_(EUN))) -> node_(EUN).
article(Attrs, Children) ->
{element, <<"article"/utf8>>, Attrs, Children}.
-spec article_text(list(nakai@html@attrs:attr(EUT)), binary()) -> node_(EUT).
article_text(Attrs, Text) ->
{element, <<"article"/utf8>>, Attrs, [{text, Text}]}.
-spec aside(list(nakai@html@attrs:attr(EUX)), list(node_(EUX))) -> node_(EUX).
aside(Attrs, Children) ->
{element, <<"aside"/utf8>>, Attrs, Children}.
-spec aside_text(list(nakai@html@attrs:attr(EVD)), binary()) -> node_(EVD).
aside_text(Attrs, Text) ->
{element, <<"aside"/utf8>>, Attrs, [{text, Text}]}.
-spec audio(list(nakai@html@attrs:attr(EVH)), list(node_(EVH))) -> node_(EVH).
audio(Attrs, Children) ->
{element, <<"audio"/utf8>>, Attrs, Children}.
-spec audio_text(list(nakai@html@attrs:attr(EVN)), binary()) -> node_(EVN).
audio_text(Attrs, Text) ->
{element, <<"audio"/utf8>>, Attrs, [{text, Text}]}.
-spec b(list(nakai@html@attrs:attr(EVR)), list(node_(EVR))) -> node_(EVR).
b(Attrs, Children) ->
{element, <<"b"/utf8>>, Attrs, Children}.
-spec b_text(list(nakai@html@attrs:attr(EVX)), binary()) -> node_(EVX).
b_text(Attrs, Text) ->
{element, <<"b"/utf8>>, Attrs, [{text, Text}]}.
-spec base(list(nakai@html@attrs:attr(EWB))) -> node_(EWB).
base(Attrs) ->
{leaf_element, <<"base"/utf8>>, Attrs}.
-spec bdi(list(nakai@html@attrs:attr(EWF)), list(node_(EWF))) -> node_(EWF).
bdi(Attrs, Children) ->
{element, <<"bdi"/utf8>>, Attrs, Children}.
-spec bdi_text(list(nakai@html@attrs:attr(EWL)), binary()) -> node_(EWL).
bdi_text(Attrs, Text) ->
{element, <<"bdi"/utf8>>, Attrs, [{text, Text}]}.
-spec bdo(list(nakai@html@attrs:attr(EWP)), list(node_(EWP))) -> node_(EWP).
bdo(Attrs, Children) ->
{element, <<"bdo"/utf8>>, Attrs, Children}.
-spec bdo_text(list(nakai@html@attrs:attr(EWV)), binary()) -> node_(EWV).
bdo_text(Attrs, Text) ->
{element, <<"bdo"/utf8>>, Attrs, [{text, Text}]}.
-spec blockquote(list(nakai@html@attrs:attr(EWZ)), list(node_(EWZ))) -> node_(EWZ).
blockquote(Attrs, Children) ->
{element, <<"blockquote"/utf8>>, Attrs, Children}.
-spec blockquote_text(list(nakai@html@attrs:attr(EXF)), binary()) -> node_(EXF).
blockquote_text(Attrs, Text) ->
{element, <<"blockquote"/utf8>>, Attrs, [{text, Text}]}.
-spec body(list(nakai@html@attrs:attr(EXJ)), list(node_(EXJ))) -> node_(EXJ).
body(Attrs, Children) ->
{element, <<"body"/utf8>>, Attrs, Children}.
-spec body_text(list(nakai@html@attrs:attr(EXP)), binary()) -> node_(EXP).
body_text(Attrs, Text) ->
{element, <<"body"/utf8>>, Attrs, [{text, Text}]}.
-spec br(list(nakai@html@attrs:attr(EXT))) -> node_(EXT).
br(Attrs) ->
{leaf_element, <<"br"/utf8>>, Attrs}.
-spec button(list(nakai@html@attrs:attr(EXX)), list(node_(EXX))) -> node_(EXX).
button(Attrs, Children) ->
{element, <<"button"/utf8>>, Attrs, Children}.
-spec button_text(list(nakai@html@attrs:attr(EYD)), binary()) -> node_(EYD).
button_text(Attrs, Text) ->
{element, <<"button"/utf8>>, Attrs, [{text, Text}]}.
-spec canvas(list(nakai@html@attrs:attr(EYH)), list(node_(EYH))) -> node_(EYH).
canvas(Attrs, Children) ->
{element, <<"canvas"/utf8>>, Attrs, Children}.
-spec canvas_text(list(nakai@html@attrs:attr(EYN)), binary()) -> node_(EYN).
canvas_text(Attrs, Text) ->
{element, <<"canvas"/utf8>>, Attrs, [{text, Text}]}.
-spec caption(list(nakai@html@attrs:attr(EYR)), list(node_(EYR))) -> node_(EYR).
caption(Attrs, Children) ->
{element, <<"caption"/utf8>>, Attrs, Children}.
-spec caption_text(list(nakai@html@attrs:attr(EYX)), binary()) -> node_(EYX).
caption_text(Attrs, Text) ->
{element, <<"caption"/utf8>>, Attrs, [{text, Text}]}.
-spec cite(list(nakai@html@attrs:attr(EZB)), list(node_(EZB))) -> node_(EZB).
cite(Attrs, Children) ->
{element, <<"cite"/utf8>>, Attrs, Children}.
-spec cite_text(list(nakai@html@attrs:attr(EZH)), binary()) -> node_(EZH).
cite_text(Attrs, Text) ->
{element, <<"cite"/utf8>>, Attrs, [{text, Text}]}.
-spec code(list(nakai@html@attrs:attr(EZL)), list(node_(EZL))) -> node_(EZL).
code(Attrs, Children) ->
{element, <<"code"/utf8>>, Attrs, Children}.
-spec code_text(list(nakai@html@attrs:attr(EZR)), binary()) -> node_(EZR).
code_text(Attrs, Text) ->
{element, <<"code"/utf8>>, Attrs, [{text, Text}]}.
-spec col(list(nakai@html@attrs:attr(EZV)), list(node_(EZV))) -> node_(EZV).
col(Attrs, Children) ->
{element, <<"col"/utf8>>, Attrs, Children}.
-spec col_text(list(nakai@html@attrs:attr(FAB)), binary()) -> node_(FAB).
col_text(Attrs, Text) ->
{element, <<"col"/utf8>>, Attrs, [{text, Text}]}.
-spec colgroup(list(nakai@html@attrs:attr(FAF)), list(node_(FAF))) -> node_(FAF).
colgroup(Attrs, Children) ->
{element, <<"colgroup"/utf8>>, Attrs, Children}.
-spec colgroup_text(list(nakai@html@attrs:attr(FAL)), binary()) -> node_(FAL).
colgroup_text(Attrs, Text) ->
{element, <<"colgroup"/utf8>>, Attrs, [{text, Text}]}.
-spec data(list(nakai@html@attrs:attr(FAP)), list(node_(FAP))) -> node_(FAP).
data(Attrs, Children) ->
{element, <<"data"/utf8>>, Attrs, Children}.
-spec data_text(list(nakai@html@attrs:attr(FAV)), binary()) -> node_(FAV).
data_text(Attrs, Text) ->
{element, <<"data"/utf8>>, Attrs, [{text, Text}]}.
-spec datalist(list(nakai@html@attrs:attr(FAZ)), list(node_(FAZ))) -> node_(FAZ).
datalist(Attrs, Children) ->
{element, <<"datalist"/utf8>>, Attrs, Children}.
-spec datalist_text(list(nakai@html@attrs:attr(FBF)), binary()) -> node_(FBF).
datalist_text(Attrs, Text) ->
{element, <<"datalist"/utf8>>, Attrs, [{text, Text}]}.
-spec dd(list(nakai@html@attrs:attr(FBJ)), list(node_(FBJ))) -> node_(FBJ).
dd(Attrs, Children) ->
{element, <<"dd"/utf8>>, Attrs, Children}.
-spec dd_text(list(nakai@html@attrs:attr(FBP)), binary()) -> node_(FBP).
dd_text(Attrs, Text) ->
{element, <<"dd"/utf8>>, Attrs, [{text, Text}]}.
-spec del(list(nakai@html@attrs:attr(FBT)), list(node_(FBT))) -> node_(FBT).
del(Attrs, Children) ->
{element, <<"del"/utf8>>, Attrs, Children}.
-spec del_text(list(nakai@html@attrs:attr(FBZ)), binary()) -> node_(FBZ).
del_text(Attrs, Text) ->
{element, <<"del"/utf8>>, Attrs, [{text, Text}]}.
-spec details(list(nakai@html@attrs:attr(FCD)), list(node_(FCD))) -> node_(FCD).
details(Attrs, Children) ->
{element, <<"details"/utf8>>, Attrs, Children}.
-spec details_text(list(nakai@html@attrs:attr(FCJ)), binary()) -> node_(FCJ).
details_text(Attrs, Text) ->
{element, <<"details"/utf8>>, Attrs, [{text, Text}]}.
-spec dfn(list(nakai@html@attrs:attr(FCN)), list(node_(FCN))) -> node_(FCN).
dfn(Attrs, Children) ->
{element, <<"dfn"/utf8>>, Attrs, Children}.
-spec dfn_text(list(nakai@html@attrs:attr(FCT)), binary()) -> node_(FCT).
dfn_text(Attrs, Text) ->
{element, <<"dfn"/utf8>>, Attrs, [{text, Text}]}.
-spec dialog(list(nakai@html@attrs:attr(FCX)), list(node_(FCX))) -> node_(FCX).
dialog(Attrs, Children) ->
{element, <<"dialog"/utf8>>, Attrs, Children}.
-spec dialog_text(list(nakai@html@attrs:attr(FDD)), binary()) -> node_(FDD).
dialog_text(Attrs, Text) ->
{element, <<"dialog"/utf8>>, Attrs, [{text, Text}]}.
-spec 'div'(list(nakai@html@attrs:attr(FDH)), list(node_(FDH))) -> node_(FDH).
'div'(Attrs, Children) ->
{element, <<"div"/utf8>>, Attrs, Children}.
-spec div_text(list(nakai@html@attrs:attr(FDN)), binary()) -> node_(FDN).
div_text(Attrs, Text) ->
{element, <<"div"/utf8>>, Attrs, [{text, Text}]}.
-spec dl(list(nakai@html@attrs:attr(FDR)), list(node_(FDR))) -> node_(FDR).
dl(Attrs, Children) ->
{element, <<"dl"/utf8>>, Attrs, Children}.
-spec dl_text(list(nakai@html@attrs:attr(FDX)), binary()) -> node_(FDX).
dl_text(Attrs, Text) ->
{element, <<"dl"/utf8>>, Attrs, [{text, Text}]}.
-spec dt(list(nakai@html@attrs:attr(FEB)), list(node_(FEB))) -> node_(FEB).
dt(Attrs, Children) ->
{element, <<"dt"/utf8>>, Attrs, Children}.
-spec dt_text(list(nakai@html@attrs:attr(FEH)), binary()) -> node_(FEH).
dt_text(Attrs, Text) ->
{element, <<"dt"/utf8>>, Attrs, [{text, Text}]}.
-spec em(list(nakai@html@attrs:attr(FEL)), list(node_(FEL))) -> node_(FEL).
em(Attrs, Children) ->
{element, <<"em"/utf8>>, Attrs, Children}.
-spec em_text(list(nakai@html@attrs:attr(FER)), binary()) -> node_(FER).
em_text(Attrs, Text) ->
{element, <<"em"/utf8>>, Attrs, [{text, Text}]}.
-spec embed(list(nakai@html@attrs:attr(FEV)), list(node_(FEV))) -> node_(FEV).
embed(Attrs, Children) ->
{element, <<"embed"/utf8>>, Attrs, Children}.
-spec embed_text(list(nakai@html@attrs:attr(FFB)), binary()) -> node_(FFB).
embed_text(Attrs, Text) ->
{element, <<"embed"/utf8>>, Attrs, [{text, Text}]}.
-spec fieldset(list(nakai@html@attrs:attr(FFF)), list(node_(FFF))) -> node_(FFF).
fieldset(Attrs, Children) ->
{element, <<"fieldset"/utf8>>, Attrs, Children}.
-spec fieldset_text(list(nakai@html@attrs:attr(FFL)), binary()) -> node_(FFL).
fieldset_text(Attrs, Text) ->
{element, <<"fieldset"/utf8>>, Attrs, [{text, Text}]}.
-spec figcaption(list(nakai@html@attrs:attr(FFP)), list(node_(FFP))) -> node_(FFP).
figcaption(Attrs, Children) ->
{element, <<"figcaption"/utf8>>, Attrs, Children}.
-spec figcaption_text(list(nakai@html@attrs:attr(FFV)), binary()) -> node_(FFV).
figcaption_text(Attrs, Text) ->
{element, <<"figcaption"/utf8>>, Attrs, [{text, Text}]}.
-spec figure(list(nakai@html@attrs:attr(FFZ)), list(node_(FFZ))) -> node_(FFZ).
figure(Attrs, Children) ->
{element, <<"figure"/utf8>>, Attrs, Children}.
-spec figure_text(list(nakai@html@attrs:attr(FGF)), binary()) -> node_(FGF).
figure_text(Attrs, Text) ->
{element, <<"figure"/utf8>>, Attrs, [{text, Text}]}.
-spec footer(list(nakai@html@attrs:attr(FGJ)), list(node_(FGJ))) -> node_(FGJ).
footer(Attrs, Children) ->
{element, <<"footer"/utf8>>, Attrs, Children}.
-spec footer_text(list(nakai@html@attrs:attr(FGP)), binary()) -> node_(FGP).
footer_text(Attrs, Text) ->
{element, <<"footer"/utf8>>, Attrs, [{text, Text}]}.
-spec form(list(nakai@html@attrs:attr(FGT)), list(node_(FGT))) -> node_(FGT).
form(Attrs, Children) ->
{element, <<"form"/utf8>>, Attrs, Children}.
-spec form_text(list(nakai@html@attrs:attr(FGZ)), binary()) -> node_(FGZ).
form_text(Attrs, Text) ->
{element, <<"form"/utf8>>, Attrs, [{text, Text}]}.
-spec h1(list(nakai@html@attrs:attr(FHD)), list(node_(FHD))) -> node_(FHD).
h1(Attrs, Children) ->
{element, <<"h1"/utf8>>, Attrs, Children}.
-spec h1_text(list(nakai@html@attrs:attr(FHJ)), binary()) -> node_(FHJ).
h1_text(Attrs, Text) ->
{element, <<"h1"/utf8>>, Attrs, [{text, Text}]}.
-spec h2(list(nakai@html@attrs:attr(FHN)), list(node_(FHN))) -> node_(FHN).
h2(Attrs, Children) ->
{element, <<"h2"/utf8>>, Attrs, Children}.
-spec h2_text(list(nakai@html@attrs:attr(FHT)), binary()) -> node_(FHT).
h2_text(Attrs, Text) ->
{element, <<"h2"/utf8>>, Attrs, [{text, Text}]}.
-spec h3(list(nakai@html@attrs:attr(FHX)), list(node_(FHX))) -> node_(FHX).
h3(Attrs, Children) ->
{element, <<"h3"/utf8>>, Attrs, Children}.
-spec h3_text(list(nakai@html@attrs:attr(FID)), binary()) -> node_(FID).
h3_text(Attrs, Text) ->
{element, <<"h3"/utf8>>, Attrs, [{text, Text}]}.
-spec h4(list(nakai@html@attrs:attr(FIH)), list(node_(FIH))) -> node_(FIH).
h4(Attrs, Children) ->
{element, <<"h4"/utf8>>, Attrs, Children}.
-spec h4_text(list(nakai@html@attrs:attr(FIN)), binary()) -> node_(FIN).
h4_text(Attrs, Text) ->
{element, <<"h4"/utf8>>, Attrs, [{text, Text}]}.
-spec h5(list(nakai@html@attrs:attr(FIR)), list(node_(FIR))) -> node_(FIR).
h5(Attrs, Children) ->
{element, <<"h5"/utf8>>, Attrs, Children}.
-spec h5_text(list(nakai@html@attrs:attr(FIX)), binary()) -> node_(FIX).
h5_text(Attrs, Text) ->
{element, <<"h5"/utf8>>, Attrs, [{text, Text}]}.
-spec h6(list(nakai@html@attrs:attr(FJB)), list(node_(FJB))) -> node_(FJB).
h6(Attrs, Children) ->
{element, <<"h6"/utf8>>, Attrs, Children}.
-spec h6_text(list(nakai@html@attrs:attr(FJH)), binary()) -> node_(FJH).
h6_text(Attrs, Text) ->
{element, <<"h6"/utf8>>, Attrs, [{text, Text}]}.
-spec header(list(nakai@html@attrs:attr(FJL)), list(node_(FJL))) -> node_(FJL).
header(Attrs, Children) ->
{element, <<"header"/utf8>>, Attrs, Children}.
-spec header_text(list(nakai@html@attrs:attr(FJR)), binary()) -> node_(FJR).
header_text(Attrs, Text) ->
{element, <<"header"/utf8>>, Attrs, [{text, Text}]}.
-spec hr(list(nakai@html@attrs:attr(FJV))) -> node_(FJV).
hr(Attrs) ->
{leaf_element, <<"hr"/utf8>>, Attrs}.
-spec i(list(nakai@html@attrs:attr(FJZ)), list(node_(FJZ))) -> node_(FJZ).
i(Attrs, Children) ->
{element, <<"i"/utf8>>, Attrs, Children}.
-spec i_text(list(nakai@html@attrs:attr(FKF)), binary()) -> node_(FKF).
i_text(Attrs, Text) ->
{element, <<"i"/utf8>>, Attrs, [{text, Text}]}.
-spec iframe(list(nakai@html@attrs:attr(FKJ)), list(node_(FKJ))) -> node_(FKJ).
iframe(Attrs, Children) ->
{element, <<"iframe"/utf8>>, Attrs, Children}.
-spec iframe_text(list(nakai@html@attrs:attr(FKP)), binary()) -> node_(FKP).
iframe_text(Attrs, Text) ->
{element, <<"iframe"/utf8>>, Attrs, [{text, Text}]}.
-spec img(list(nakai@html@attrs:attr(FKT))) -> node_(FKT).
img(Attrs) ->
{leaf_element, <<"img"/utf8>>, Attrs}.
-spec input(list(nakai@html@attrs:attr(FKX))) -> node_(FKX).
input(Attrs) ->
{leaf_element, <<"input"/utf8>>, Attrs}.
-spec ins(list(nakai@html@attrs:attr(FLB)), list(node_(FLB))) -> node_(FLB).
ins(Attrs, Children) ->
{element, <<"ins"/utf8>>, Attrs, Children}.
-spec ins_text(list(nakai@html@attrs:attr(FLH)), binary()) -> node_(FLH).
ins_text(Attrs, Text) ->
{element, <<"ins"/utf8>>, Attrs, [{text, Text}]}.
-spec kbd(list(nakai@html@attrs:attr(FLL)), list(node_(FLL))) -> node_(FLL).
kbd(Attrs, Children) ->
{element, <<"kbd"/utf8>>, Attrs, Children}.
-spec kbd_text(list(nakai@html@attrs:attr(FLR)), binary()) -> node_(FLR).
kbd_text(Attrs, Text) ->
{element, <<"kbd"/utf8>>, Attrs, [{text, Text}]}.
-spec label(list(nakai@html@attrs:attr(FLV)), list(node_(FLV))) -> node_(FLV).
label(Attrs, Children) ->
{element, <<"label"/utf8>>, Attrs, Children}.
-spec label_text(list(nakai@html@attrs:attr(FMB)), binary()) -> node_(FMB).
label_text(Attrs, Text) ->
{element, <<"label"/utf8>>, Attrs, [{text, Text}]}.
-spec legend(list(nakai@html@attrs:attr(FMF)), list(node_(FMF))) -> node_(FMF).
legend(Attrs, Children) ->
{element, <<"legend"/utf8>>, Attrs, Children}.
-spec legend_text(list(nakai@html@attrs:attr(FML)), binary()) -> node_(FML).
legend_text(Attrs, Text) ->
{element, <<"legend"/utf8>>, Attrs, [{text, Text}]}.
-spec li(list(nakai@html@attrs:attr(FMP)), list(node_(FMP))) -> node_(FMP).
li(Attrs, Children) ->
{element, <<"li"/utf8>>, Attrs, Children}.
-spec li_text(list(nakai@html@attrs:attr(FMV)), binary()) -> node_(FMV).
li_text(Attrs, Text) ->
{element, <<"li"/utf8>>, Attrs, [{text, Text}]}.
-spec link(list(nakai@html@attrs:attr(FMZ))) -> node_(FMZ).
link(Attrs) ->
{leaf_element, <<"link"/utf8>>, Attrs}.
-spec main(list(nakai@html@attrs:attr(FND)), list(node_(FND))) -> node_(FND).
main(Attrs, Children) ->
{element, <<"main"/utf8>>, Attrs, Children}.
-spec main_text(list(nakai@html@attrs:attr(FNJ)), binary()) -> node_(FNJ).
main_text(Attrs, Text) ->
{element, <<"main"/utf8>>, Attrs, [{text, Text}]}.
-spec map(list(nakai@html@attrs:attr(FNN)), list(node_(FNN))) -> node_(FNN).
map(Attrs, Children) ->
{element, <<"map"/utf8>>, Attrs, Children}.
-spec map_text(list(nakai@html@attrs:attr(FNT)), binary()) -> node_(FNT).
map_text(Attrs, Text) ->
{element, <<"map"/utf8>>, Attrs, [{text, Text}]}.
-spec mark(list(nakai@html@attrs:attr(FNX)), list(node_(FNX))) -> node_(FNX).
mark(Attrs, Children) ->
{element, <<"mark"/utf8>>, Attrs, Children}.
-spec mark_text(list(nakai@html@attrs:attr(FOD)), binary()) -> node_(FOD).
mark_text(Attrs, Text) ->
{element, <<"mark"/utf8>>, Attrs, [{text, Text}]}.
-spec math(list(nakai@html@attrs:attr(FOH)), list(node_(FOH))) -> node_(FOH).
math(Attrs, Children) ->
{element, <<"math"/utf8>>, Attrs, Children}.
-spec math_text(list(nakai@html@attrs:attr(FON)), binary()) -> node_(FON).
math_text(Attrs, Text) ->
{element, <<"math"/utf8>>, Attrs, [{text, Text}]}.
-spec menu(list(nakai@html@attrs:attr(FOR)), list(node_(FOR))) -> node_(FOR).
menu(Attrs, Children) ->
{element, <<"menu"/utf8>>, Attrs, Children}.
-spec menu_text(list(nakai@html@attrs:attr(FOX)), binary()) -> node_(FOX).
menu_text(Attrs, Text) ->
{element, <<"menu"/utf8>>, Attrs, [{text, Text}]}.
-spec menuitem(list(nakai@html@attrs:attr(FPB)), list(node_(FPB))) -> node_(FPB).
menuitem(Attrs, Children) ->
{element, <<"menuitem"/utf8>>, Attrs, Children}.
-spec menuitem_text(list(nakai@html@attrs:attr(FPH)), binary()) -> node_(FPH).
menuitem_text(Attrs, Text) ->
{element, <<"menuitem"/utf8>>, Attrs, [{text, Text}]}.
-spec meta(list(nakai@html@attrs:attr(FPL))) -> node_(FPL).
meta(Attrs) ->
{leaf_element, <<"meta"/utf8>>, Attrs}.
-spec meter(list(nakai@html@attrs:attr(FPP)), list(node_(FPP))) -> node_(FPP).
meter(Attrs, Children) ->
{element, <<"meter"/utf8>>, Attrs, Children}.
-spec meter_text(list(nakai@html@attrs:attr(FPV)), binary()) -> node_(FPV).
meter_text(Attrs, Text) ->
{element, <<"meter"/utf8>>, Attrs, [{text, Text}]}.
-spec nav(list(nakai@html@attrs:attr(FPZ)), list(node_(FPZ))) -> node_(FPZ).
nav(Attrs, Children) ->
{element, <<"nav"/utf8>>, Attrs, Children}.
-spec nav_text(list(nakai@html@attrs:attr(FQF)), binary()) -> node_(FQF).
nav_text(Attrs, Text) ->
{element, <<"nav"/utf8>>, Attrs, [{text, Text}]}.
-spec noscript(list(nakai@html@attrs:attr(FQJ)), list(node_(FQJ))) -> node_(FQJ).
noscript(Attrs, Children) ->
{element, <<"noscript"/utf8>>, Attrs, Children}.
-spec noscript_text(list(nakai@html@attrs:attr(FQP)), binary()) -> node_(FQP).
noscript_text(Attrs, Text) ->
{element, <<"noscript"/utf8>>, Attrs, [{text, Text}]}.
-spec object(list(nakai@html@attrs:attr(FQT)), list(node_(FQT))) -> node_(FQT).
object(Attrs, Children) ->
{element, <<"object"/utf8>>, Attrs, Children}.
-spec object_text(list(nakai@html@attrs:attr(FQZ)), binary()) -> node_(FQZ).
object_text(Attrs, Text) ->
{element, <<"object"/utf8>>, Attrs, [{text, Text}]}.
-spec ol(list(nakai@html@attrs:attr(FRD)), list(node_(FRD))) -> node_(FRD).
ol(Attrs, Children) ->
{element, <<"ol"/utf8>>, Attrs, Children}.
-spec ol_text(list(nakai@html@attrs:attr(FRJ)), binary()) -> node_(FRJ).
ol_text(Attrs, Text) ->
{element, <<"ol"/utf8>>, Attrs, [{text, Text}]}.
-spec optgroup(list(nakai@html@attrs:attr(FRN)), list(node_(FRN))) -> node_(FRN).
optgroup(Attrs, Children) ->
{element, <<"optgroup"/utf8>>, Attrs, Children}.
-spec optgroup_text(list(nakai@html@attrs:attr(FRT)), binary()) -> node_(FRT).
optgroup_text(Attrs, Text) ->
{element, <<"optgroup"/utf8>>, Attrs, [{text, Text}]}.
-spec option(list(nakai@html@attrs:attr(FRX)), list(node_(FRX))) -> node_(FRX).
option(Attrs, Children) ->
{element, <<"option"/utf8>>, Attrs, Children}.
-spec option_text(list(nakai@html@attrs:attr(FSD)), binary()) -> node_(FSD).
option_text(Attrs, Text) ->
{element, <<"option"/utf8>>, Attrs, [{text, Text}]}.
-spec output(list(nakai@html@attrs:attr(FSH)), list(node_(FSH))) -> node_(FSH).
output(Attrs, Children) ->
{element, <<"output"/utf8>>, Attrs, Children}.
-spec output_text(list(nakai@html@attrs:attr(FSN)), binary()) -> node_(FSN).
output_text(Attrs, Text) ->
{element, <<"output"/utf8>>, Attrs, [{text, Text}]}.
-spec p(list(nakai@html@attrs:attr(FSR)), list(node_(FSR))) -> node_(FSR).
p(Attrs, Children) ->
{element, <<"p"/utf8>>, Attrs, Children}.
-spec p_text(list(nakai@html@attrs:attr(FSX)), binary()) -> node_(FSX).
p_text(Attrs, Text) ->
{element, <<"p"/utf8>>, Attrs, [{text, Text}]}.
-spec param(list(nakai@html@attrs:attr(FTB)), list(node_(FTB))) -> node_(FTB).
param(Attrs, Children) ->
{element, <<"param"/utf8>>, Attrs, Children}.
-spec param_text(list(nakai@html@attrs:attr(FTH)), binary()) -> node_(FTH).
param_text(Attrs, Text) ->
{element, <<"param"/utf8>>, Attrs, [{text, Text}]}.
-spec picture(list(nakai@html@attrs:attr(FTL)), list(node_(FTL))) -> node_(FTL).
picture(Attrs, Children) ->
{element, <<"picture"/utf8>>, Attrs, Children}.
-spec picture_text(list(nakai@html@attrs:attr(FTR)), binary()) -> node_(FTR).
picture_text(Attrs, Text) ->
{element, <<"picture"/utf8>>, Attrs, [{text, Text}]}.
-spec pre(list(nakai@html@attrs:attr(FTV)), list(node_(FTV))) -> node_(FTV).
pre(Attrs, Children) ->
{element, <<"pre"/utf8>>, Attrs, Children}.
-spec pre_text(list(nakai@html@attrs:attr(FUB)), binary()) -> node_(FUB).
pre_text(Attrs, Text) ->
{element, <<"pre"/utf8>>, Attrs, [{text, Text}]}.
-spec progress(list(nakai@html@attrs:attr(FUF)), list(node_(FUF))) -> node_(FUF).
progress(Attrs, Children) ->
{element, <<"progress"/utf8>>, Attrs, Children}.
-spec progress_text(list(nakai@html@attrs:attr(FUL)), binary()) -> node_(FUL).
progress_text(Attrs, Text) ->
{element, <<"progress"/utf8>>, Attrs, [{text, Text}]}.
-spec q(list(nakai@html@attrs:attr(FUP)), list(node_(FUP))) -> node_(FUP).
q(Attrs, Children) ->
{element, <<"q"/utf8>>, Attrs, Children}.
-spec q_text(list(nakai@html@attrs:attr(FUV)), binary()) -> node_(FUV).
q_text(Attrs, Text) ->
{element, <<"q"/utf8>>, Attrs, [{text, Text}]}.
-spec rp(list(nakai@html@attrs:attr(FUZ)), list(node_(FUZ))) -> node_(FUZ).
rp(Attrs, Children) ->
{element, <<"rp"/utf8>>, Attrs, Children}.
-spec rp_text(list(nakai@html@attrs:attr(FVF)), binary()) -> node_(FVF).
rp_text(Attrs, Text) ->
{element, <<"rp"/utf8>>, Attrs, [{text, Text}]}.
-spec rt(list(nakai@html@attrs:attr(FVJ)), list(node_(FVJ))) -> node_(FVJ).
rt(Attrs, Children) ->
{element, <<"rt"/utf8>>, Attrs, Children}.
-spec rt_text(list(nakai@html@attrs:attr(FVP)), binary()) -> node_(FVP).
rt_text(Attrs, Text) ->
{element, <<"rt"/utf8>>, Attrs, [{text, Text}]}.
-spec ruby(list(nakai@html@attrs:attr(FVT)), list(node_(FVT))) -> node_(FVT).
ruby(Attrs, Children) ->
{element, <<"ruby"/utf8>>, Attrs, Children}.
-spec ruby_text(list(nakai@html@attrs:attr(FVZ)), binary()) -> node_(FVZ).
ruby_text(Attrs, Text) ->
{element, <<"ruby"/utf8>>, Attrs, [{text, Text}]}.
-spec s(list(nakai@html@attrs:attr(FWD)), list(node_(FWD))) -> node_(FWD).
s(Attrs, Children) ->
{element, <<"s"/utf8>>, Attrs, Children}.
-spec s_text(list(nakai@html@attrs:attr(FWJ)), binary()) -> node_(FWJ).
s_text(Attrs, Text) ->
{element, <<"s"/utf8>>, Attrs, [{text, Text}]}.
-spec samp(list(nakai@html@attrs:attr(FWN)), list(node_(FWN))) -> node_(FWN).
samp(Attrs, Children) ->
{element, <<"samp"/utf8>>, Attrs, Children}.
-spec samp_text(list(nakai@html@attrs:attr(FWT)), binary()) -> node_(FWT).
samp_text(Attrs, Text) ->
{element, <<"samp"/utf8>>, Attrs, [{text, Text}]}.
-spec section(list(nakai@html@attrs:attr(FWX)), list(node_(FWX))) -> node_(FWX).
section(Attrs, Children) ->
{element, <<"section"/utf8>>, Attrs, Children}.
-spec section_text(list(nakai@html@attrs:attr(FXD)), binary()) -> node_(FXD).
section_text(Attrs, Text) ->
{element, <<"section"/utf8>>, Attrs, [{text, Text}]}.
-spec select(list(nakai@html@attrs:attr(FXH)), list(node_(FXH))) -> node_(FXH).
select(Attrs, Children) ->
{element, <<"select"/utf8>>, Attrs, Children}.
-spec select_text(list(nakai@html@attrs:attr(FXN)), binary()) -> node_(FXN).
select_text(Attrs, Text) ->
{element, <<"select"/utf8>>, Attrs, [{text, Text}]}.
-spec small(list(nakai@html@attrs:attr(FXR)), list(node_(FXR))) -> node_(FXR).
small(Attrs, Children) ->
{element, <<"small"/utf8>>, Attrs, Children}.
-spec small_text(list(nakai@html@attrs:attr(FXX)), binary()) -> node_(FXX).
small_text(Attrs, Text) ->
{element, <<"small"/utf8>>, Attrs, [{text, Text}]}.
-spec source(list(nakai@html@attrs:attr(FYB))) -> node_(FYB).
source(Attrs) ->
{leaf_element, <<"source"/utf8>>, Attrs}.
-spec span(list(nakai@html@attrs:attr(FYF)), list(node_(FYF))) -> node_(FYF).
span(Attrs, Children) ->
{element, <<"span"/utf8>>, Attrs, Children}.
-spec span_text(list(nakai@html@attrs:attr(FYL)), binary()) -> node_(FYL).
span_text(Attrs, Text) ->
{element, <<"span"/utf8>>, Attrs, [{text, Text}]}.
-spec strong(list(nakai@html@attrs:attr(FYP)), list(node_(FYP))) -> node_(FYP).
strong(Attrs, Children) ->
{element, <<"strong"/utf8>>, Attrs, Children}.
-spec strong_text(list(nakai@html@attrs:attr(FYV)), binary()) -> node_(FYV).
strong_text(Attrs, Text) ->
{element, <<"strong"/utf8>>, Attrs, [{text, Text}]}.
-spec sub(list(nakai@html@attrs:attr(FYZ)), list(node_(FYZ))) -> node_(FYZ).
sub(Attrs, Children) ->
{element, <<"sub"/utf8>>, Attrs, Children}.
-spec sub_text(list(nakai@html@attrs:attr(FZF)), binary()) -> node_(FZF).
sub_text(Attrs, Text) ->
{element, <<"sub"/utf8>>, Attrs, [{text, Text}]}.
-spec summary(list(nakai@html@attrs:attr(FZJ)), list(node_(FZJ))) -> node_(FZJ).
summary(Attrs, Children) ->
{element, <<"summary"/utf8>>, Attrs, Children}.
-spec summary_text(list(nakai@html@attrs:attr(FZP)), binary()) -> node_(FZP).
summary_text(Attrs, Text) ->
{element, <<"summary"/utf8>>, Attrs, [{text, Text}]}.
-spec sup(list(nakai@html@attrs:attr(FZT)), list(node_(FZT))) -> node_(FZT).
sup(Attrs, Children) ->
{element, <<"sup"/utf8>>, Attrs, Children}.
-spec sup_text(list(nakai@html@attrs:attr(FZZ)), binary()) -> node_(FZZ).
sup_text(Attrs, Text) ->
{element, <<"sup"/utf8>>, Attrs, [{text, Text}]}.
-spec svg(list(nakai@html@attrs:attr(GAD)), list(node_(GAD))) -> node_(GAD).
svg(Attrs, Children) ->
{element, <<"svg"/utf8>>, Attrs, Children}.
-spec svg_text(list(nakai@html@attrs:attr(GAJ)), binary()) -> node_(GAJ).
svg_text(Attrs, Text) ->
{element, <<"svg"/utf8>>, Attrs, [{text, Text}]}.
-spec table(list(nakai@html@attrs:attr(GAN)), list(node_(GAN))) -> node_(GAN).
table(Attrs, Children) ->
{element, <<"table"/utf8>>, Attrs, Children}.
-spec table_text(list(nakai@html@attrs:attr(GAT)), binary()) -> node_(GAT).
table_text(Attrs, Text) ->
{element, <<"table"/utf8>>, Attrs, [{text, Text}]}.
-spec tbody(list(nakai@html@attrs:attr(GAX)), list(node_(GAX))) -> node_(GAX).
tbody(Attrs, Children) ->
{element, <<"tbody"/utf8>>, Attrs, Children}.
-spec tbody_text(list(nakai@html@attrs:attr(GBD)), binary()) -> node_(GBD).
tbody_text(Attrs, Text) ->
{element, <<"tbody"/utf8>>, Attrs, [{text, Text}]}.
-spec td(list(nakai@html@attrs:attr(GBH)), list(node_(GBH))) -> node_(GBH).
td(Attrs, Children) ->
{element, <<"td"/utf8>>, Attrs, Children}.
-spec td_text(list(nakai@html@attrs:attr(GBN)), binary()) -> node_(GBN).
td_text(Attrs, Text) ->
{element, <<"td"/utf8>>, Attrs, [{text, Text}]}.
-spec textarea(list(nakai@html@attrs:attr(GBR)), list(node_(GBR))) -> node_(GBR).
textarea(Attrs, Children) ->
{element, <<"textarea"/utf8>>, Attrs, Children}.
-spec textarea_text(list(nakai@html@attrs:attr(GBX)), binary()) -> node_(GBX).
textarea_text(Attrs, Text) ->
{element, <<"textarea"/utf8>>, Attrs, [{text, Text}]}.
-spec tfoot(list(nakai@html@attrs:attr(GCB)), list(node_(GCB))) -> node_(GCB).
tfoot(Attrs, Children) ->
{element, <<"tfoot"/utf8>>, Attrs, Children}.
-spec tfoot_text(list(nakai@html@attrs:attr(GCH)), binary()) -> node_(GCH).
tfoot_text(Attrs, Text) ->
{element, <<"tfoot"/utf8>>, Attrs, [{text, Text}]}.
-spec th(list(nakai@html@attrs:attr(GCL)), list(node_(GCL))) -> node_(GCL).
th(Attrs, Children) ->
{element, <<"th"/utf8>>, Attrs, Children}.
-spec th_text(list(nakai@html@attrs:attr(GCR)), binary()) -> node_(GCR).
th_text(Attrs, Text) ->
{element, <<"th"/utf8>>, Attrs, [{text, Text}]}.
-spec thead(list(nakai@html@attrs:attr(GCV)), list(node_(GCV))) -> node_(GCV).
thead(Attrs, Children) ->
{element, <<"thead"/utf8>>, Attrs, Children}.
-spec thead_text(list(nakai@html@attrs:attr(GDB)), binary()) -> node_(GDB).
thead_text(Attrs, Text) ->
{element, <<"thead"/utf8>>, Attrs, [{text, Text}]}.
-spec time(list(nakai@html@attrs:attr(GDF)), list(node_(GDF))) -> node_(GDF).
time(Attrs, Children) ->
{element, <<"time"/utf8>>, Attrs, Children}.
-spec time_text(list(nakai@html@attrs:attr(GDL)), binary()) -> node_(GDL).
time_text(Attrs, Text) ->
{element, <<"time"/utf8>>, Attrs, [{text, Text}]}.
-spec title(list(nakai@html@attrs:attr(GDP)), list(node_(GDP))) -> node_(GDP).
title(Attrs, Children) ->
{element, <<"title"/utf8>>, Attrs, Children}.
-spec title_text(list(nakai@html@attrs:attr(GDV)), binary()) -> node_(GDV).
title_text(Attrs, Text) ->
{element, <<"title"/utf8>>, Attrs, [{text, Text}]}.
-spec tr(list(nakai@html@attrs:attr(GDZ)), list(node_(GDZ))) -> node_(GDZ).
tr(Attrs, Children) ->
{element, <<"tr"/utf8>>, Attrs, Children}.
-spec tr_text(list(nakai@html@attrs:attr(GEF)), binary()) -> node_(GEF).
tr_text(Attrs, Text) ->
{element, <<"tr"/utf8>>, Attrs, [{text, Text}]}.
-spec track(list(nakai@html@attrs:attr(GEJ))) -> node_(GEJ).
track(Attrs) ->
{leaf_element, <<"track"/utf8>>, Attrs}.
-spec u(list(nakai@html@attrs:attr(GEN)), list(node_(GEN))) -> node_(GEN).
u(Attrs, Children) ->
{element, <<"u"/utf8>>, Attrs, Children}.
-spec u_text(list(nakai@html@attrs:attr(GET)), binary()) -> node_(GET).
u_text(Attrs, Text) ->
{element, <<"u"/utf8>>, Attrs, [{text, Text}]}.
-spec ul(list(nakai@html@attrs:attr(GEX)), list(node_(GEX))) -> node_(GEX).
ul(Attrs, Children) ->
{element, <<"ul"/utf8>>, Attrs, Children}.
-spec ul_text(list(nakai@html@attrs:attr(GFD)), binary()) -> node_(GFD).
ul_text(Attrs, Text) ->
{element, <<"ul"/utf8>>, Attrs, [{text, Text}]}.
-spec var(list(nakai@html@attrs:attr(GFH)), list(node_(GFH))) -> node_(GFH).
var(Attrs, Children) ->
{element, <<"var"/utf8>>, Attrs, Children}.
-spec var_text(list(nakai@html@attrs:attr(GFN)), binary()) -> node_(GFN).
var_text(Attrs, Text) ->
{element, <<"var"/utf8>>, Attrs, [{text, Text}]}.
-spec video(list(nakai@html@attrs:attr(GFR)), list(node_(GFR))) -> node_(GFR).
video(Attrs, Children) ->
{element, <<"video"/utf8>>, Attrs, Children}.
-spec video_text(list(nakai@html@attrs:attr(GFX)), binary()) -> node_(GFX).
video_text(Attrs, Text) ->
{element, <<"video"/utf8>>, Attrs, [{text, Text}]}.
-spec wbr(list(nakai@html@attrs:attr(GGB)), list(node_(GGB))) -> node_(GGB).
wbr(Attrs, Children) ->
{element, <<"wbr"/utf8>>, Attrs, Children}.
-spec wbr_text(list(nakai@html@attrs:attr(GGH)), binary()) -> node_(GGH).
wbr_text(Attrs, Text) ->
{element, <<"wbr"/utf8>>, Attrs, [{text, Text}]}.