-record(state, { sp :: molt@internal@parser@core:splitters(), pending_trivia :: list(greenwood:token(molt@types:toml_kind())), root_leading :: list(greenwood:token(molt@types:toml_kind())), bom :: list(greenwood:token(molt@types:toml_kind())), doc_acc :: list(greenwood:element(molt@types:toml_kind())), current_table :: molt@internal@parser@core:current_table(), error :: {ok, nil} | {error, molt@error:molt_error()} }).