equal
deleted
inserted
replaced
73 markup == other.markup |
73 markup == other.markup |
74 |
74 |
75 private def add_status(st: Markup): State = copy(status = st :: status) |
75 private def add_status(st: Markup): State = copy(status = st :: status) |
76 private def add_markup(m: Text.Markup): State = copy(markup = markup + m) |
76 private def add_markup(m: Text.Markup): State = copy(markup = markup + m) |
77 |
77 |
78 def + (alt_id: Document_ID.ID, message: XML.Elem): State = |
78 def + (alt_id: Document_ID.Generic, message: XML.Elem): State = |
79 message match { |
79 message match { |
80 case XML.Elem(Markup(Markup.STATUS, _), msgs) => |
80 case XML.Elem(Markup(Markup.STATUS, _), msgs) => |
81 (this /: msgs)((state, msg) => |
81 (this /: msgs)((state, msg) => |
82 msg match { |
82 msg match { |
83 case elem @ XML.Elem(markup, Nil) => |
83 case elem @ XML.Elem(markup, Nil) => |