public override string ToString() { if (Text != null) return Type.ToString() + " '" + Text + "'"; else return Type.ToString(); }