Exemple #1
0
        private void PrintWord(Tokens token)
        {
            if (_text.Length > 0 && _text[_text.Length - 1] != '\t' && _text[_text.Length - 1] != ' ' && _text[_text.Length - 1] != '\r' && _text[_text.Length - 1] != '\n')
            {
                PrintSpace();
            }

            _text.Append(Lexer.GetTokenString(token));

            PrintSpace();
        }
Exemple #2
0
 private void Print(Tokens token)
 {
     _text.Append(Lexer.GetTokenString(token));
 }
Exemple #3
0
 private void Insert(Tokens token)
 {
     _text.Insert(0, Lexer.GetTokenString(token));
 }