public void FlushCurrentToken(TokenType type) { var value = CurrentToken.Flush(); if (string.IsNullOrEmpty(value)) { return; } _tokens.Add(new Token(value, type)); }
public void FlushCurrentToken(TokenType type) { var value = CurrentToken.Flush(); if (string.IsNullOrEmpty(value)) { return; } _tokens.Add(new Token(value, type)); }