Skip to main content

include/molt@internal@parser@core_State.hrl

-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()}
}).