AjTalk.Compiler.Lexer.NextDotNetTypeName C# (CSharp) Method

NextDotNetTypeName() private method

private NextDotNetTypeName ( ) : Token
return Token
        private Token NextDotNetTypeName()
        {
            StringBuilder sb = new StringBuilder();
            sb.Append(SpecialDotNetTypeMark);

            int ch;

            ch = this.NextChar();

            while (ch >= 0 && (char.IsLetterOrDigit((char)ch) || ch == '.'))
            {
                sb.Append((char)ch);
                ch = this.NextChar();
            }

            this.PushChar(ch);

            Token token = new Token();
            token.Type = TokenType.Name;
            token.Value = sb.ToString();

            return token;
        }