Exemplo n.º 1
0
        public string Evaluate()
        {
            while (Position < Source.Length)
            {
                CollectionView.Position = Position;
                if (TrySkipEscapeSymbol())
                {
                    continue;
                }
                if (TryCloseTag())
                {
                    continue;
                }
                if (TryOpenTag())
                {
                    continue;
                }

                TokenList.AddCharacter(CollectionView.GetValue(0));

                Position++;
            }
            return(TokenList.GetValue());
        }