Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public void add(SequenceElement element)
 {
     sequence.Add(element);
 }
Ejemplo n.º 3
0
 public BuiltElement(SequenceElement element) : base(element.Name)
 {
     changeType(SequenceElementType.Built);
     built = new StringBuilder(name);
 }