CSLE.CLS_Expression_Compiler.GetLongType C# (CSharp) Method

GetLongType() private method

private GetLongType ( IList tokens, int pos ) : int
tokens IList
pos int
return int
        int GetLongType(IList<Token> tokens, int pos)
        {
            int npos = -1;
            for (int i = pos; i < tokens.Count; i += 2)
            {
                if (tokens[i].type == TokenType.TYPE && i + 1 < tokens.Count)
                {
                    if (tokens[i + 1].type == TokenType.PUNCTUATION && tokens[i + 1].text == ".")
                    {
                    }
                    else
                    {
                        npos = i + 1;
                    }
                }
                else
                {
                    break;
                }

            }
            return npos;
        }
        int GetLongName(IList<Token> tokens, int pos)