AjRools.Expert.Compiler.Lexer.NextString C# (CSharp) Метод

NextString() приватный Метод

private NextString ( ) : Token
Результат Token
        private Token NextString()
        {
            string value = "";
            int ich;

            for (ich = this.NextChar(); ich != -1 && ((char)ich) != '"'; ich = this.reader.Read())
                value += (char)ich;

            if (ich == -1)
                throw new LexerException("Unclosed String");

            return new Token(value, TokenType.String);
        }