public bool erase() { if (!builder.erase()) { return(false); } if (sequence.Count == 0) { return(true); } SequenceElement last = sequence.Last <SequenceElement>(); builder = new BuiltElement(last); sequence.Remove(last); return(false); }
public void add(SequenceElement element) { sequence.Add(element); }
public BuiltElement(SequenceElement element) : base(element.Name) { changeType(SequenceElementType.Built); built = new StringBuilder(name); }