Current section
Files
Jump to
Current section
Files
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_(ESN) :: {head, list(node_(ESN))} |
{comment, binary()} |
{element, binary(), list(nakai@html@attrs:attr(ESN)), list(node_(ESN))} |
{leaf_element, binary(), list(nakai@html@attrs:attr(ESN))} |
{text, binary()} |
{unsafe_text, binary()} |
{component, fun(() -> node_(ESN))} |
{fragment, list(node_(ESN))} |
nothing.
-spec doctype(binary()) -> nakai@html@doctype:doctype().
doctype(Decl) ->
{doctype, Decl}.
-spec head(list(node_(ESV))) -> node_(ESV).
head(Children) ->
{head, Children}.
-spec space() -> node_(any()).
space() ->
{text, <<" "/utf8>>}.
-spec a(list(nakai@html@attrs:attr(ETB)), list(node_(ETB))) -> node_(ETB).
a(Attrs, Children) ->
{element, <<"a"/utf8>>, Attrs, Children}.
-spec a_text(list(nakai@html@attrs:attr(ETH)), binary()) -> node_(ETH).
a_text(Attrs, Text) ->
{element, <<"a"/utf8>>, Attrs, [{text, Text}]}.
-spec abbr(list(nakai@html@attrs:attr(ETL)), list(node_(ETL))) -> node_(ETL).
abbr(Attrs, Children) ->
{element, <<"abbr"/utf8>>, Attrs, Children}.
-spec abbr_text(list(nakai@html@attrs:attr(ETR)), binary()) -> node_(ETR).
abbr_text(Attrs, Text) ->
{element, <<"abbr"/utf8>>, Attrs, [{text, Text}]}.
-spec address(list(nakai@html@attrs:attr(ETV)), list(node_(ETV))) -> node_(ETV).
address(Attrs, Children) ->
{element, <<"address"/utf8>>, Attrs, Children}.
-spec address_text(list(nakai@html@attrs:attr(EUB)), binary()) -> node_(EUB).
address_text(Attrs, Text) ->
{element, <<"address"/utf8>>, Attrs, [{text, Text}]}.
-spec area(list(nakai@html@attrs:attr(EUF))) -> node_(EUF).
area(Attrs) ->
{leaf_element, <<"area"/utf8>>, Attrs}.
-spec article(list(nakai@html@attrs:attr(EUJ)), list(node_(EUJ))) -> node_(EUJ).
article(Attrs, Children) ->
{element, <<"article"/utf8>>, Attrs, Children}.
-spec article_text(list(nakai@html@attrs:attr(EUP)), binary()) -> node_(EUP).
article_text(Attrs, Text) ->
{element, <<"article"/utf8>>, Attrs, [{text, Text}]}.
-spec aside(list(nakai@html@attrs:attr(EUT)), list(node_(EUT))) -> node_(EUT).
aside(Attrs, Children) ->
{element, <<"aside"/utf8>>, Attrs, Children}.
-spec aside_text(list(nakai@html@attrs:attr(EUZ)), binary()) -> node_(EUZ).
aside_text(Attrs, Text) ->
{element, <<"aside"/utf8>>, Attrs, [{text, Text}]}.
-spec audio(list(nakai@html@attrs:attr(EVD)), list(node_(EVD))) -> node_(EVD).
audio(Attrs, Children) ->
{element, <<"audio"/utf8>>, Attrs, Children}.
-spec audio_text(list(nakai@html@attrs:attr(EVJ)), binary()) -> node_(EVJ).
audio_text(Attrs, Text) ->
{element, <<"audio"/utf8>>, Attrs, [{text, Text}]}.
-spec b(list(nakai@html@attrs:attr(EVN)), list(node_(EVN))) -> node_(EVN).
b(Attrs, Children) ->
{element, <<"b"/utf8>>, Attrs, Children}.
-spec b_text(list(nakai@html@attrs:attr(EVT)), binary()) -> node_(EVT).
b_text(Attrs, Text) ->
{element, <<"b"/utf8>>, Attrs, [{text, Text}]}.
-spec base(list(nakai@html@attrs:attr(EVX))) -> node_(EVX).
base(Attrs) ->
{leaf_element, <<"base"/utf8>>, Attrs}.
-spec bdi(list(nakai@html@attrs:attr(EWB)), list(node_(EWB))) -> node_(EWB).
bdi(Attrs, Children) ->
{element, <<"bdi"/utf8>>, Attrs, Children}.
-spec bdi_text(list(nakai@html@attrs:attr(EWH)), binary()) -> node_(EWH).
bdi_text(Attrs, Text) ->
{element, <<"bdi"/utf8>>, Attrs, [{text, Text}]}.
-spec bdo(list(nakai@html@attrs:attr(EWL)), list(node_(EWL))) -> node_(EWL).
bdo(Attrs, Children) ->
{element, <<"bdo"/utf8>>, Attrs, Children}.
-spec bdo_text(list(nakai@html@attrs:attr(EWR)), binary()) -> node_(EWR).
bdo_text(Attrs, Text) ->
{element, <<"bdo"/utf8>>, Attrs, [{text, Text}]}.
-spec blockquote(list(nakai@html@attrs:attr(EWV)), list(node_(EWV))) -> node_(EWV).
blockquote(Attrs, Children) ->
{element, <<"blockquote"/utf8>>, Attrs, Children}.
-spec blockquote_text(list(nakai@html@attrs:attr(EXB)), binary()) -> node_(EXB).
blockquote_text(Attrs, Text) ->
{element, <<"blockquote"/utf8>>, Attrs, [{text, Text}]}.
-spec body(list(nakai@html@attrs:attr(EXF)), list(node_(EXF))) -> node_(EXF).
body(Attrs, Children) ->
{element, <<"body"/utf8>>, Attrs, Children}.
-spec body_text(list(nakai@html@attrs:attr(EXL)), binary()) -> node_(EXL).
body_text(Attrs, Text) ->
{element, <<"body"/utf8>>, Attrs, [{text, Text}]}.
-spec br(list(nakai@html@attrs:attr(EXP))) -> node_(EXP).
br(Attrs) ->
{leaf_element, <<"br"/utf8>>, Attrs}.
-spec button(list(nakai@html@attrs:attr(EXT)), list(node_(EXT))) -> node_(EXT).
button(Attrs, Children) ->
{element, <<"button"/utf8>>, Attrs, Children}.
-spec button_text(list(nakai@html@attrs:attr(EXZ)), binary()) -> node_(EXZ).
button_text(Attrs, Text) ->
{element, <<"button"/utf8>>, Attrs, [{text, Text}]}.
-spec canvas(list(nakai@html@attrs:attr(EYD)), list(node_(EYD))) -> node_(EYD).
canvas(Attrs, Children) ->
{element, <<"canvas"/utf8>>, Attrs, Children}.
-spec canvas_text(list(nakai@html@attrs:attr(EYJ)), binary()) -> node_(EYJ).
canvas_text(Attrs, Text) ->
{element, <<"canvas"/utf8>>, Attrs, [{text, Text}]}.
-spec caption(list(nakai@html@attrs:attr(EYN)), list(node_(EYN))) -> node_(EYN).
caption(Attrs, Children) ->
{element, <<"caption"/utf8>>, Attrs, Children}.
-spec caption_text(list(nakai@html@attrs:attr(EYT)), binary()) -> node_(EYT).
caption_text(Attrs, Text) ->
{element, <<"caption"/utf8>>, Attrs, [{text, Text}]}.
-spec cite(list(nakai@html@attrs:attr(EYX)), list(node_(EYX))) -> node_(EYX).
cite(Attrs, Children) ->
{element, <<"cite"/utf8>>, Attrs, Children}.
-spec cite_text(list(nakai@html@attrs:attr(EZD)), binary()) -> node_(EZD).
cite_text(Attrs, Text) ->
{element, <<"cite"/utf8>>, Attrs, [{text, Text}]}.
-spec code(list(nakai@html@attrs:attr(EZH)), list(node_(EZH))) -> node_(EZH).
code(Attrs, Children) ->
{element, <<"code"/utf8>>, Attrs, Children}.
-spec code_text(list(nakai@html@attrs:attr(EZN)), binary()) -> node_(EZN).
code_text(Attrs, Text) ->
{element, <<"code"/utf8>>, Attrs, [{text, Text}]}.
-spec col(list(nakai@html@attrs:attr(EZR)), list(node_(EZR))) -> node_(EZR).
col(Attrs, Children) ->
{element, <<"col"/utf8>>, Attrs, Children}.
-spec col_text(list(nakai@html@attrs:attr(EZX)), binary()) -> node_(EZX).
col_text(Attrs, Text) ->
{element, <<"col"/utf8>>, Attrs, [{text, Text}]}.
-spec colgroup(list(nakai@html@attrs:attr(FAB)), list(node_(FAB))) -> node_(FAB).
colgroup(Attrs, Children) ->
{element, <<"colgroup"/utf8>>, Attrs, Children}.
-spec colgroup_text(list(nakai@html@attrs:attr(FAH)), binary()) -> node_(FAH).
colgroup_text(Attrs, Text) ->
{element, <<"colgroup"/utf8>>, Attrs, [{text, Text}]}.
-spec data(list(nakai@html@attrs:attr(FAL)), list(node_(FAL))) -> node_(FAL).
data(Attrs, Children) ->
{element, <<"data"/utf8>>, Attrs, Children}.
-spec data_text(list(nakai@html@attrs:attr(FAR)), binary()) -> node_(FAR).
data_text(Attrs, Text) ->
{element, <<"data"/utf8>>, Attrs, [{text, Text}]}.
-spec datalist(list(nakai@html@attrs:attr(FAV)), list(node_(FAV))) -> node_(FAV).
datalist(Attrs, Children) ->
{element, <<"datalist"/utf8>>, Attrs, Children}.
-spec datalist_text(list(nakai@html@attrs:attr(FBB)), binary()) -> node_(FBB).
datalist_text(Attrs, Text) ->
{element, <<"datalist"/utf8>>, Attrs, [{text, Text}]}.
-spec dd(list(nakai@html@attrs:attr(FBF)), list(node_(FBF))) -> node_(FBF).
dd(Attrs, Children) ->
{element, <<"dd"/utf8>>, Attrs, Children}.
-spec dd_text(list(nakai@html@attrs:attr(FBL)), binary()) -> node_(FBL).
dd_text(Attrs, Text) ->
{element, <<"dd"/utf8>>, Attrs, [{text, Text}]}.
-spec del(list(nakai@html@attrs:attr(FBP)), list(node_(FBP))) -> node_(FBP).
del(Attrs, Children) ->
{element, <<"del"/utf8>>, Attrs, Children}.
-spec del_text(list(nakai@html@attrs:attr(FBV)), binary()) -> node_(FBV).
del_text(Attrs, Text) ->
{element, <<"del"/utf8>>, Attrs, [{text, Text}]}.
-spec details(list(nakai@html@attrs:attr(FBZ)), list(node_(FBZ))) -> node_(FBZ).
details(Attrs, Children) ->
{element, <<"details"/utf8>>, Attrs, Children}.
-spec details_text(list(nakai@html@attrs:attr(FCF)), binary()) -> node_(FCF).
details_text(Attrs, Text) ->
{element, <<"details"/utf8>>, Attrs, [{text, Text}]}.
-spec dfn(list(nakai@html@attrs:attr(FCJ)), list(node_(FCJ))) -> node_(FCJ).
dfn(Attrs, Children) ->
{element, <<"dfn"/utf8>>, Attrs, Children}.
-spec dfn_text(list(nakai@html@attrs:attr(FCP)), binary()) -> node_(FCP).
dfn_text(Attrs, Text) ->
{element, <<"dfn"/utf8>>, Attrs, [{text, Text}]}.
-spec dialog(list(nakai@html@attrs:attr(FCT)), list(node_(FCT))) -> node_(FCT).
dialog(Attrs, Children) ->
{element, <<"dialog"/utf8>>, Attrs, Children}.
-spec dialog_text(list(nakai@html@attrs:attr(FCZ)), binary()) -> node_(FCZ).
dialog_text(Attrs, Text) ->
{element, <<"dialog"/utf8>>, Attrs, [{text, Text}]}.
-spec 'div'(list(nakai@html@attrs:attr(FDD)), list(node_(FDD))) -> node_(FDD).
'div'(Attrs, Children) ->
{element, <<"div"/utf8>>, Attrs, Children}.
-spec div_text(list(nakai@html@attrs:attr(FDJ)), binary()) -> node_(FDJ).
div_text(Attrs, Text) ->
{element, <<"div"/utf8>>, Attrs, [{text, Text}]}.
-spec dl(list(nakai@html@attrs:attr(FDN)), list(node_(FDN))) -> node_(FDN).
dl(Attrs, Children) ->
{element, <<"dl"/utf8>>, Attrs, Children}.
-spec dl_text(list(nakai@html@attrs:attr(FDT)), binary()) -> node_(FDT).
dl_text(Attrs, Text) ->
{element, <<"dl"/utf8>>, Attrs, [{text, Text}]}.
-spec dt(list(nakai@html@attrs:attr(FDX)), list(node_(FDX))) -> node_(FDX).
dt(Attrs, Children) ->
{element, <<"dt"/utf8>>, Attrs, Children}.
-spec dt_text(list(nakai@html@attrs:attr(FED)), binary()) -> node_(FED).
dt_text(Attrs, Text) ->
{element, <<"dt"/utf8>>, Attrs, [{text, Text}]}.
-spec em(list(nakai@html@attrs:attr(FEH)), list(node_(FEH))) -> node_(FEH).
em(Attrs, Children) ->
{element, <<"em"/utf8>>, Attrs, Children}.
-spec em_text(list(nakai@html@attrs:attr(FEN)), binary()) -> node_(FEN).
em_text(Attrs, Text) ->
{element, <<"em"/utf8>>, Attrs, [{text, Text}]}.
-spec embed(list(nakai@html@attrs:attr(FER)), list(node_(FER))) -> node_(FER).
embed(Attrs, Children) ->
{element, <<"embed"/utf8>>, Attrs, Children}.
-spec embed_text(list(nakai@html@attrs:attr(FEX)), binary()) -> node_(FEX).
embed_text(Attrs, Text) ->
{element, <<"embed"/utf8>>, Attrs, [{text, Text}]}.
-spec fieldset(list(nakai@html@attrs:attr(FFB)), list(node_(FFB))) -> node_(FFB).
fieldset(Attrs, Children) ->
{element, <<"fieldset"/utf8>>, Attrs, Children}.
-spec fieldset_text(list(nakai@html@attrs:attr(FFH)), binary()) -> node_(FFH).
fieldset_text(Attrs, Text) ->
{element, <<"fieldset"/utf8>>, Attrs, [{text, Text}]}.
-spec figcaption(list(nakai@html@attrs:attr(FFL)), list(node_(FFL))) -> node_(FFL).
figcaption(Attrs, Children) ->
{element, <<"figcaption"/utf8>>, Attrs, Children}.
-spec figcaption_text(list(nakai@html@attrs:attr(FFR)), binary()) -> node_(FFR).
figcaption_text(Attrs, Text) ->
{element, <<"figcaption"/utf8>>, Attrs, [{text, Text}]}.
-spec figure(list(nakai@html@attrs:attr(FFV)), list(node_(FFV))) -> node_(FFV).
figure(Attrs, Children) ->
{element, <<"figure"/utf8>>, Attrs, Children}.
-spec figure_text(list(nakai@html@attrs:attr(FGB)), binary()) -> node_(FGB).
figure_text(Attrs, Text) ->
{element, <<"figure"/utf8>>, Attrs, [{text, Text}]}.
-spec footer(list(nakai@html@attrs:attr(FGF)), list(node_(FGF))) -> node_(FGF).
footer(Attrs, Children) ->
{element, <<"footer"/utf8>>, Attrs, Children}.
-spec footer_text(list(nakai@html@attrs:attr(FGL)), binary()) -> node_(FGL).
footer_text(Attrs, Text) ->
{element, <<"footer"/utf8>>, Attrs, [{text, Text}]}.
-spec form(list(nakai@html@attrs:attr(FGP)), list(node_(FGP))) -> node_(FGP).
form(Attrs, Children) ->
{element, <<"form"/utf8>>, Attrs, Children}.
-spec form_text(list(nakai@html@attrs:attr(FGV)), binary()) -> node_(FGV).
form_text(Attrs, Text) ->
{element, <<"form"/utf8>>, Attrs, [{text, Text}]}.
-spec h1(list(nakai@html@attrs:attr(FGZ)), list(node_(FGZ))) -> node_(FGZ).
h1(Attrs, Children) ->
{element, <<"h1"/utf8>>, Attrs, Children}.
-spec h1_text(list(nakai@html@attrs:attr(FHF)), binary()) -> node_(FHF).
h1_text(Attrs, Text) ->
{element, <<"h1"/utf8>>, Attrs, [{text, Text}]}.
-spec h2(list(nakai@html@attrs:attr(FHJ)), list(node_(FHJ))) -> node_(FHJ).
h2(Attrs, Children) ->
{element, <<"h2"/utf8>>, Attrs, Children}.
-spec h2_text(list(nakai@html@attrs:attr(FHP)), binary()) -> node_(FHP).
h2_text(Attrs, Text) ->
{element, <<"h2"/utf8>>, Attrs, [{text, Text}]}.
-spec h3(list(nakai@html@attrs:attr(FHT)), list(node_(FHT))) -> node_(FHT).
h3(Attrs, Children) ->
{element, <<"h3"/utf8>>, Attrs, Children}.
-spec h3_text(list(nakai@html@attrs:attr(FHZ)), binary()) -> node_(FHZ).
h3_text(Attrs, Text) ->
{element, <<"h3"/utf8>>, Attrs, [{text, Text}]}.
-spec h4(list(nakai@html@attrs:attr(FID)), list(node_(FID))) -> node_(FID).
h4(Attrs, Children) ->
{element, <<"h4"/utf8>>, Attrs, Children}.
-spec h4_text(list(nakai@html@attrs:attr(FIJ)), binary()) -> node_(FIJ).
h4_text(Attrs, Text) ->
{element, <<"h4"/utf8>>, Attrs, [{text, Text}]}.
-spec h5(list(nakai@html@attrs:attr(FIN)), list(node_(FIN))) -> node_(FIN).
h5(Attrs, Children) ->
{element, <<"h5"/utf8>>, Attrs, Children}.
-spec h5_text(list(nakai@html@attrs:attr(FIT)), binary()) -> node_(FIT).
h5_text(Attrs, Text) ->
{element, <<"h5"/utf8>>, Attrs, [{text, Text}]}.
-spec h6(list(nakai@html@attrs:attr(FIX)), list(node_(FIX))) -> node_(FIX).
h6(Attrs, Children) ->
{element, <<"h6"/utf8>>, Attrs, Children}.
-spec h6_text(list(nakai@html@attrs:attr(FJD)), binary()) -> node_(FJD).
h6_text(Attrs, Text) ->
{element, <<"h6"/utf8>>, Attrs, [{text, Text}]}.
-spec header(list(nakai@html@attrs:attr(FJH)), list(node_(FJH))) -> node_(FJH).
header(Attrs, Children) ->
{element, <<"header"/utf8>>, Attrs, Children}.
-spec header_text(list(nakai@html@attrs:attr(FJN)), binary()) -> node_(FJN).
header_text(Attrs, Text) ->
{element, <<"header"/utf8>>, Attrs, [{text, Text}]}.
-spec hr(list(nakai@html@attrs:attr(FJR))) -> node_(FJR).
hr(Attrs) ->
{leaf_element, <<"hr"/utf8>>, Attrs}.
-spec i(list(nakai@html@attrs:attr(FJV)), list(node_(FJV))) -> node_(FJV).
i(Attrs, Children) ->
{element, <<"i"/utf8>>, Attrs, Children}.
-spec i_text(list(nakai@html@attrs:attr(FKB)), binary()) -> node_(FKB).
i_text(Attrs, Text) ->
{element, <<"i"/utf8>>, Attrs, [{text, Text}]}.
-spec iframe(list(nakai@html@attrs:attr(FKF)), list(node_(FKF))) -> node_(FKF).
iframe(Attrs, Children) ->
{element, <<"iframe"/utf8>>, Attrs, Children}.
-spec iframe_text(list(nakai@html@attrs:attr(FKL)), binary()) -> node_(FKL).
iframe_text(Attrs, Text) ->
{element, <<"iframe"/utf8>>, Attrs, [{text, Text}]}.
-spec img(list(nakai@html@attrs:attr(FKP))) -> node_(FKP).
img(Attrs) ->
{leaf_element, <<"img"/utf8>>, Attrs}.
-spec input(list(nakai@html@attrs:attr(FKT))) -> node_(FKT).
input(Attrs) ->
{leaf_element, <<"input"/utf8>>, Attrs}.
-spec ins(list(nakai@html@attrs:attr(FKX)), list(node_(FKX))) -> node_(FKX).
ins(Attrs, Children) ->
{element, <<"ins"/utf8>>, Attrs, Children}.
-spec ins_text(list(nakai@html@attrs:attr(FLD)), binary()) -> node_(FLD).
ins_text(Attrs, Text) ->
{element, <<"ins"/utf8>>, Attrs, [{text, Text}]}.
-spec kbd(list(nakai@html@attrs:attr(FLH)), list(node_(FLH))) -> node_(FLH).
kbd(Attrs, Children) ->
{element, <<"kbd"/utf8>>, Attrs, Children}.
-spec kbd_text(list(nakai@html@attrs:attr(FLN)), binary()) -> node_(FLN).
kbd_text(Attrs, Text) ->
{element, <<"kbd"/utf8>>, Attrs, [{text, Text}]}.
-spec label(list(nakai@html@attrs:attr(FLR)), list(node_(FLR))) -> node_(FLR).
label(Attrs, Children) ->
{element, <<"label"/utf8>>, Attrs, Children}.
-spec label_text(list(nakai@html@attrs:attr(FLX)), binary()) -> node_(FLX).
label_text(Attrs, Text) ->
{element, <<"label"/utf8>>, Attrs, [{text, Text}]}.
-spec legend(list(nakai@html@attrs:attr(FMB)), list(node_(FMB))) -> node_(FMB).
legend(Attrs, Children) ->
{element, <<"legend"/utf8>>, Attrs, Children}.
-spec legend_text(list(nakai@html@attrs:attr(FMH)), binary()) -> node_(FMH).
legend_text(Attrs, Text) ->
{element, <<"legend"/utf8>>, Attrs, [{text, Text}]}.
-spec li(list(nakai@html@attrs:attr(FML)), list(node_(FML))) -> node_(FML).
li(Attrs, Children) ->
{element, <<"li"/utf8>>, Attrs, Children}.
-spec li_text(list(nakai@html@attrs:attr(FMR)), binary()) -> node_(FMR).
li_text(Attrs, Text) ->
{element, <<"li"/utf8>>, Attrs, [{text, Text}]}.
-spec link(list(nakai@html@attrs:attr(FMV))) -> node_(FMV).
link(Attrs) ->
{leaf_element, <<"link"/utf8>>, Attrs}.
-spec main(list(nakai@html@attrs:attr(FMZ)), list(node_(FMZ))) -> node_(FMZ).
main(Attrs, Children) ->
{element, <<"main"/utf8>>, Attrs, Children}.
-spec main_text(list(nakai@html@attrs:attr(FNF)), binary()) -> node_(FNF).
main_text(Attrs, Text) ->
{element, <<"main"/utf8>>, Attrs, [{text, Text}]}.
-spec map(list(nakai@html@attrs:attr(FNJ)), list(node_(FNJ))) -> node_(FNJ).
map(Attrs, Children) ->
{element, <<"map"/utf8>>, Attrs, Children}.
-spec map_text(list(nakai@html@attrs:attr(FNP)), binary()) -> node_(FNP).
map_text(Attrs, Text) ->
{element, <<"map"/utf8>>, Attrs, [{text, Text}]}.
-spec mark(list(nakai@html@attrs:attr(FNT)), list(node_(FNT))) -> node_(FNT).
mark(Attrs, Children) ->
{element, <<"mark"/utf8>>, Attrs, Children}.
-spec mark_text(list(nakai@html@attrs:attr(FNZ)), binary()) -> node_(FNZ).
mark_text(Attrs, Text) ->
{element, <<"mark"/utf8>>, Attrs, [{text, Text}]}.
-spec math(list(nakai@html@attrs:attr(FOD)), list(node_(FOD))) -> node_(FOD).
math(Attrs, Children) ->
{element, <<"math"/utf8>>, Attrs, Children}.
-spec math_text(list(nakai@html@attrs:attr(FOJ)), binary()) -> node_(FOJ).
math_text(Attrs, Text) ->
{element, <<"math"/utf8>>, Attrs, [{text, Text}]}.
-spec menu(list(nakai@html@attrs:attr(FON)), list(node_(FON))) -> node_(FON).
menu(Attrs, Children) ->
{element, <<"menu"/utf8>>, Attrs, Children}.
-spec menu_text(list(nakai@html@attrs:attr(FOT)), binary()) -> node_(FOT).
menu_text(Attrs, Text) ->
{element, <<"menu"/utf8>>, Attrs, [{text, Text}]}.
-spec menuitem(list(nakai@html@attrs:attr(FOX)), list(node_(FOX))) -> node_(FOX).
menuitem(Attrs, Children) ->
{element, <<"menuitem"/utf8>>, Attrs, Children}.
-spec menuitem_text(list(nakai@html@attrs:attr(FPD)), binary()) -> node_(FPD).
menuitem_text(Attrs, Text) ->
{element, <<"menuitem"/utf8>>, Attrs, [{text, Text}]}.
-spec meta(list(nakai@html@attrs:attr(FPH))) -> node_(FPH).
meta(Attrs) ->
{leaf_element, <<"meta"/utf8>>, Attrs}.
-spec meter(list(nakai@html@attrs:attr(FPL)), list(node_(FPL))) -> node_(FPL).
meter(Attrs, Children) ->
{element, <<"meter"/utf8>>, Attrs, Children}.
-spec meter_text(list(nakai@html@attrs:attr(FPR)), binary()) -> node_(FPR).
meter_text(Attrs, Text) ->
{element, <<"meter"/utf8>>, Attrs, [{text, Text}]}.
-spec nav(list(nakai@html@attrs:attr(FPV)), list(node_(FPV))) -> node_(FPV).
nav(Attrs, Children) ->
{element, <<"nav"/utf8>>, Attrs, Children}.
-spec nav_text(list(nakai@html@attrs:attr(FQB)), binary()) -> node_(FQB).
nav_text(Attrs, Text) ->
{element, <<"nav"/utf8>>, Attrs, [{text, Text}]}.
-spec noscript(list(nakai@html@attrs:attr(FQF)), list(node_(FQF))) -> node_(FQF).
noscript(Attrs, Children) ->
{element, <<"noscript"/utf8>>, Attrs, Children}.
-spec noscript_text(list(nakai@html@attrs:attr(FQL)), binary()) -> node_(FQL).
noscript_text(Attrs, Text) ->
{element, <<"noscript"/utf8>>, Attrs, [{text, Text}]}.
-spec object(list(nakai@html@attrs:attr(FQP)), list(node_(FQP))) -> node_(FQP).
object(Attrs, Children) ->
{element, <<"object"/utf8>>, Attrs, Children}.
-spec object_text(list(nakai@html@attrs:attr(FQV)), binary()) -> node_(FQV).
object_text(Attrs, Text) ->
{element, <<"object"/utf8>>, Attrs, [{text, Text}]}.
-spec ol(list(nakai@html@attrs:attr(FQZ)), list(node_(FQZ))) -> node_(FQZ).
ol(Attrs, Children) ->
{element, <<"ol"/utf8>>, Attrs, Children}.
-spec ol_text(list(nakai@html@attrs:attr(FRF)), binary()) -> node_(FRF).
ol_text(Attrs, Text) ->
{element, <<"ol"/utf8>>, Attrs, [{text, Text}]}.
-spec optgroup(list(nakai@html@attrs:attr(FRJ)), list(node_(FRJ))) -> node_(FRJ).
optgroup(Attrs, Children) ->
{element, <<"optgroup"/utf8>>, Attrs, Children}.
-spec optgroup_text(list(nakai@html@attrs:attr(FRP)), binary()) -> node_(FRP).
optgroup_text(Attrs, Text) ->
{element, <<"optgroup"/utf8>>, Attrs, [{text, Text}]}.
-spec option(list(nakai@html@attrs:attr(FRT)), list(node_(FRT))) -> node_(FRT).
option(Attrs, Children) ->
{element, <<"option"/utf8>>, Attrs, Children}.
-spec option_text(list(nakai@html@attrs:attr(FRZ)), binary()) -> node_(FRZ).
option_text(Attrs, Text) ->
{element, <<"option"/utf8>>, Attrs, [{text, Text}]}.
-spec output(list(nakai@html@attrs:attr(FSD)), list(node_(FSD))) -> node_(FSD).
output(Attrs, Children) ->
{element, <<"output"/utf8>>, Attrs, Children}.
-spec output_text(list(nakai@html@attrs:attr(FSJ)), binary()) -> node_(FSJ).
output_text(Attrs, Text) ->
{element, <<"output"/utf8>>, Attrs, [{text, Text}]}.
-spec p(list(nakai@html@attrs:attr(FSN)), list(node_(FSN))) -> node_(FSN).
p(Attrs, Children) ->
{element, <<"p"/utf8>>, Attrs, Children}.
-spec p_text(list(nakai@html@attrs:attr(FST)), binary()) -> node_(FST).
p_text(Attrs, Text) ->
{element, <<"p"/utf8>>, Attrs, [{text, Text}]}.
-spec param(list(nakai@html@attrs:attr(FSX)), list(node_(FSX))) -> node_(FSX).
param(Attrs, Children) ->
{element, <<"param"/utf8>>, Attrs, Children}.
-spec param_text(list(nakai@html@attrs:attr(FTD)), binary()) -> node_(FTD).
param_text(Attrs, Text) ->
{element, <<"param"/utf8>>, Attrs, [{text, Text}]}.
-spec picture(list(nakai@html@attrs:attr(FTH)), list(node_(FTH))) -> node_(FTH).
picture(Attrs, Children) ->
{element, <<"picture"/utf8>>, Attrs, Children}.
-spec picture_text(list(nakai@html@attrs:attr(FTN)), binary()) -> node_(FTN).
picture_text(Attrs, Text) ->
{element, <<"picture"/utf8>>, Attrs, [{text, Text}]}.
-spec pre(list(nakai@html@attrs:attr(FTR)), list(node_(FTR))) -> node_(FTR).
pre(Attrs, Children) ->
{element, <<"pre"/utf8>>, Attrs, Children}.
-spec pre_text(list(nakai@html@attrs:attr(FTX)), binary()) -> node_(FTX).
pre_text(Attrs, Text) ->
{element, <<"pre"/utf8>>, Attrs, [{text, Text}]}.
-spec progress(list(nakai@html@attrs:attr(FUB)), list(node_(FUB))) -> node_(FUB).
progress(Attrs, Children) ->
{element, <<"progress"/utf8>>, Attrs, Children}.
-spec progress_text(list(nakai@html@attrs:attr(FUH)), binary()) -> node_(FUH).
progress_text(Attrs, Text) ->
{element, <<"progress"/utf8>>, Attrs, [{text, Text}]}.
-spec q(list(nakai@html@attrs:attr(FUL)), list(node_(FUL))) -> node_(FUL).
q(Attrs, Children) ->
{element, <<"q"/utf8>>, Attrs, Children}.
-spec q_text(list(nakai@html@attrs:attr(FUR)), binary()) -> node_(FUR).
q_text(Attrs, Text) ->
{element, <<"q"/utf8>>, Attrs, [{text, Text}]}.
-spec rp(list(nakai@html@attrs:attr(FUV)), list(node_(FUV))) -> node_(FUV).
rp(Attrs, Children) ->
{element, <<"rp"/utf8>>, Attrs, Children}.
-spec rp_text(list(nakai@html@attrs:attr(FVB)), binary()) -> node_(FVB).
rp_text(Attrs, Text) ->
{element, <<"rp"/utf8>>, Attrs, [{text, Text}]}.
-spec rt(list(nakai@html@attrs:attr(FVF)), list(node_(FVF))) -> node_(FVF).
rt(Attrs, Children) ->
{element, <<"rt"/utf8>>, Attrs, Children}.
-spec rt_text(list(nakai@html@attrs:attr(FVL)), binary()) -> node_(FVL).
rt_text(Attrs, Text) ->
{element, <<"rt"/utf8>>, Attrs, [{text, Text}]}.
-spec ruby(list(nakai@html@attrs:attr(FVP)), list(node_(FVP))) -> node_(FVP).
ruby(Attrs, Children) ->
{element, <<"ruby"/utf8>>, Attrs, Children}.
-spec ruby_text(list(nakai@html@attrs:attr(FVV)), binary()) -> node_(FVV).
ruby_text(Attrs, Text) ->
{element, <<"ruby"/utf8>>, Attrs, [{text, Text}]}.
-spec s(list(nakai@html@attrs:attr(FVZ)), list(node_(FVZ))) -> node_(FVZ).
s(Attrs, Children) ->
{element, <<"s"/utf8>>, Attrs, Children}.
-spec s_text(list(nakai@html@attrs:attr(FWF)), binary()) -> node_(FWF).
s_text(Attrs, Text) ->
{element, <<"s"/utf8>>, Attrs, [{text, Text}]}.
-spec samp(list(nakai@html@attrs:attr(FWJ)), list(node_(FWJ))) -> node_(FWJ).
samp(Attrs, Children) ->
{element, <<"samp"/utf8>>, Attrs, Children}.
-spec samp_text(list(nakai@html@attrs:attr(FWP)), binary()) -> node_(FWP).
samp_text(Attrs, Text) ->
{element, <<"samp"/utf8>>, Attrs, [{text, Text}]}.
-spec section(list(nakai@html@attrs:attr(FWT)), list(node_(FWT))) -> node_(FWT).
section(Attrs, Children) ->
{element, <<"section"/utf8>>, Attrs, Children}.
-spec section_text(list(nakai@html@attrs:attr(FWZ)), binary()) -> node_(FWZ).
section_text(Attrs, Text) ->
{element, <<"section"/utf8>>, Attrs, [{text, Text}]}.
-spec select(list(nakai@html@attrs:attr(FXD)), list(node_(FXD))) -> node_(FXD).
select(Attrs, Children) ->
{element, <<"select"/utf8>>, Attrs, Children}.
-spec select_text(list(nakai@html@attrs:attr(FXJ)), binary()) -> node_(FXJ).
select_text(Attrs, Text) ->
{element, <<"select"/utf8>>, Attrs, [{text, Text}]}.
-spec small(list(nakai@html@attrs:attr(FXN)), list(node_(FXN))) -> node_(FXN).
small(Attrs, Children) ->
{element, <<"small"/utf8>>, Attrs, Children}.
-spec small_text(list(nakai@html@attrs:attr(FXT)), binary()) -> node_(FXT).
small_text(Attrs, Text) ->
{element, <<"small"/utf8>>, Attrs, [{text, Text}]}.
-spec source(list(nakai@html@attrs:attr(FXX))) -> node_(FXX).
source(Attrs) ->
{leaf_element, <<"source"/utf8>>, Attrs}.
-spec span(list(nakai@html@attrs:attr(FYB)), list(node_(FYB))) -> node_(FYB).
span(Attrs, Children) ->
{element, <<"span"/utf8>>, Attrs, Children}.
-spec span_text(list(nakai@html@attrs:attr(FYH)), binary()) -> node_(FYH).
span_text(Attrs, Text) ->
{element, <<"span"/utf8>>, Attrs, [{text, Text}]}.
-spec strong(list(nakai@html@attrs:attr(FYL)), list(node_(FYL))) -> node_(FYL).
strong(Attrs, Children) ->
{element, <<"strong"/utf8>>, Attrs, Children}.
-spec strong_text(list(nakai@html@attrs:attr(FYR)), binary()) -> node_(FYR).
strong_text(Attrs, Text) ->
{element, <<"strong"/utf8>>, Attrs, [{text, Text}]}.
-spec sub(list(nakai@html@attrs:attr(FYV)), list(node_(FYV))) -> node_(FYV).
sub(Attrs, Children) ->
{element, <<"sub"/utf8>>, Attrs, Children}.
-spec sub_text(list(nakai@html@attrs:attr(FZB)), binary()) -> node_(FZB).
sub_text(Attrs, Text) ->
{element, <<"sub"/utf8>>, Attrs, [{text, Text}]}.
-spec summary(list(nakai@html@attrs:attr(FZF)), list(node_(FZF))) -> node_(FZF).
summary(Attrs, Children) ->
{element, <<"summary"/utf8>>, Attrs, Children}.
-spec summary_text(list(nakai@html@attrs:attr(FZL)), binary()) -> node_(FZL).
summary_text(Attrs, Text) ->
{element, <<"summary"/utf8>>, Attrs, [{text, Text}]}.
-spec sup(list(nakai@html@attrs:attr(FZP)), list(node_(FZP))) -> node_(FZP).
sup(Attrs, Children) ->
{element, <<"sup"/utf8>>, Attrs, Children}.
-spec sup_text(list(nakai@html@attrs:attr(FZV)), binary()) -> node_(FZV).
sup_text(Attrs, Text) ->
{element, <<"sup"/utf8>>, Attrs, [{text, Text}]}.
-spec svg(list(nakai@html@attrs:attr(FZZ)), list(node_(FZZ))) -> node_(FZZ).
svg(Attrs, Children) ->
{element, <<"svg"/utf8>>, Attrs, Children}.
-spec svg_text(list(nakai@html@attrs:attr(GAF)), binary()) -> node_(GAF).
svg_text(Attrs, Text) ->
{element, <<"svg"/utf8>>, Attrs, [{text, Text}]}.
-spec table(list(nakai@html@attrs:attr(GAJ)), list(node_(GAJ))) -> node_(GAJ).
table(Attrs, Children) ->
{element, <<"table"/utf8>>, Attrs, Children}.
-spec table_text(list(nakai@html@attrs:attr(GAP)), binary()) -> node_(GAP).
table_text(Attrs, Text) ->
{element, <<"table"/utf8>>, Attrs, [{text, Text}]}.
-spec tbody(list(nakai@html@attrs:attr(GAT)), list(node_(GAT))) -> node_(GAT).
tbody(Attrs, Children) ->
{element, <<"tbody"/utf8>>, Attrs, Children}.
-spec tbody_text(list(nakai@html@attrs:attr(GAZ)), binary()) -> node_(GAZ).
tbody_text(Attrs, Text) ->
{element, <<"tbody"/utf8>>, Attrs, [{text, Text}]}.
-spec td(list(nakai@html@attrs:attr(GBD)), list(node_(GBD))) -> node_(GBD).
td(Attrs, Children) ->
{element, <<"td"/utf8>>, Attrs, Children}.
-spec td_text(list(nakai@html@attrs:attr(GBJ)), binary()) -> node_(GBJ).
td_text(Attrs, Text) ->
{element, <<"td"/utf8>>, Attrs, [{text, Text}]}.
-spec textarea(list(nakai@html@attrs:attr(GBN)), list(node_(GBN))) -> node_(GBN).
textarea(Attrs, Children) ->
{element, <<"textarea"/utf8>>, Attrs, Children}.
-spec textarea_text(list(nakai@html@attrs:attr(GBT)), binary()) -> node_(GBT).
textarea_text(Attrs, Text) ->
{element, <<"textarea"/utf8>>, Attrs, [{text, Text}]}.
-spec tfoot(list(nakai@html@attrs:attr(GBX)), list(node_(GBX))) -> node_(GBX).
tfoot(Attrs, Children) ->
{element, <<"tfoot"/utf8>>, Attrs, Children}.
-spec tfoot_text(list(nakai@html@attrs:attr(GCD)), binary()) -> node_(GCD).
tfoot_text(Attrs, Text) ->
{element, <<"tfoot"/utf8>>, Attrs, [{text, Text}]}.
-spec th(list(nakai@html@attrs:attr(GCH)), list(node_(GCH))) -> node_(GCH).
th(Attrs, Children) ->
{element, <<"th"/utf8>>, Attrs, Children}.
-spec th_text(list(nakai@html@attrs:attr(GCN)), binary()) -> node_(GCN).
th_text(Attrs, Text) ->
{element, <<"th"/utf8>>, Attrs, [{text, Text}]}.
-spec thead(list(nakai@html@attrs:attr(GCR)), list(node_(GCR))) -> node_(GCR).
thead(Attrs, Children) ->
{element, <<"thead"/utf8>>, Attrs, Children}.
-spec thead_text(list(nakai@html@attrs:attr(GCX)), binary()) -> node_(GCX).
thead_text(Attrs, Text) ->
{element, <<"thead"/utf8>>, Attrs, [{text, Text}]}.
-spec time(list(nakai@html@attrs:attr(GDB)), list(node_(GDB))) -> node_(GDB).
time(Attrs, Children) ->
{element, <<"time"/utf8>>, Attrs, Children}.
-spec time_text(list(nakai@html@attrs:attr(GDH)), binary()) -> node_(GDH).
time_text(Attrs, Text) ->
{element, <<"time"/utf8>>, Attrs, [{text, Text}]}.
-spec title(list(nakai@html@attrs:attr(GDL)), list(node_(GDL))) -> node_(GDL).
title(Attrs, Children) ->
{element, <<"title"/utf8>>, Attrs, Children}.
-spec title_text(list(nakai@html@attrs:attr(GDR)), binary()) -> node_(GDR).
title_text(Attrs, Text) ->
{element, <<"title"/utf8>>, Attrs, [{text, Text}]}.
-spec tr(list(nakai@html@attrs:attr(GDV)), list(node_(GDV))) -> node_(GDV).
tr(Attrs, Children) ->
{element, <<"tr"/utf8>>, Attrs, Children}.
-spec tr_text(list(nakai@html@attrs:attr(GEB)), binary()) -> node_(GEB).
tr_text(Attrs, Text) ->
{element, <<"tr"/utf8>>, Attrs, [{text, Text}]}.
-spec track(list(nakai@html@attrs:attr(GEF))) -> node_(GEF).
track(Attrs) ->
{leaf_element, <<"track"/utf8>>, Attrs}.
-spec u(list(nakai@html@attrs:attr(GEJ)), list(node_(GEJ))) -> node_(GEJ).
u(Attrs, Children) ->
{element, <<"u"/utf8>>, Attrs, Children}.
-spec u_text(list(nakai@html@attrs:attr(GEP)), binary()) -> node_(GEP).
u_text(Attrs, Text) ->
{element, <<"u"/utf8>>, Attrs, [{text, Text}]}.
-spec ul(list(nakai@html@attrs:attr(GET)), list(node_(GET))) -> node_(GET).
ul(Attrs, Children) ->
{element, <<"ul"/utf8>>, Attrs, Children}.
-spec ul_text(list(nakai@html@attrs:attr(GEZ)), binary()) -> node_(GEZ).
ul_text(Attrs, Text) ->
{element, <<"ul"/utf8>>, Attrs, [{text, Text}]}.
-spec var(list(nakai@html@attrs:attr(GFD)), list(node_(GFD))) -> node_(GFD).
var(Attrs, Children) ->
{element, <<"var"/utf8>>, Attrs, Children}.
-spec var_text(list(nakai@html@attrs:attr(GFJ)), binary()) -> node_(GFJ).
var_text(Attrs, Text) ->
{element, <<"var"/utf8>>, Attrs, [{text, Text}]}.
-spec video(list(nakai@html@attrs:attr(GFN)), list(node_(GFN))) -> node_(GFN).
video(Attrs, Children) ->
{element, <<"video"/utf8>>, Attrs, Children}.
-spec video_text(list(nakai@html@attrs:attr(GFT)), binary()) -> node_(GFT).
video_text(Attrs, Text) ->
{element, <<"video"/utf8>>, Attrs, [{text, Text}]}.
-spec wbr(list(nakai@html@attrs:attr(GFX)), list(node_(GFX))) -> node_(GFX).
wbr(Attrs, Children) ->
{element, <<"wbr"/utf8>>, Attrs, Children}.
-spec wbr_text(list(nakai@html@attrs:attr(GGD)), binary()) -> node_(GGD).
wbr_text(Attrs, Text) ->
{element, <<"wbr"/utf8>>, Attrs, [{text, Text}]}.