public override string ToString() { return "ParserMessageEvent [" + (Type == WARNING?"warning,":"error,") + Text + "]"; } }