-record(doc_state, {in :: boolean(), lines :: list(glexer@token:token())}).