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