Example #1
0
        public void FlushCurrentToken(TokenType type)
        {
            var value = CurrentToken.Flush();

            if (string.IsNullOrEmpty(value))
            {
                return;
            }
            _tokens.Add(new Token(value, type));
        }