Esempio n. 1
0
        private bool ParseTypePathGenerics(ref TypeLookup retn)
        {
            if (tokenStream.Current != ExpressionTokenType.LessThan)
            {
                return(false);
            }

            int advance = tokenStream.FindMatchingIndex(ExpressionTokenType.LessThan, ExpressionTokenType.GreaterThan);

            if (advance == -1)
            {
                //  Abort();
                return(false);
            }

            tokenStream.Save();

            ExpressionParser subParser = CreateSubParser(advance);
            bool             valid     = subParser.ParseTypePathGenericStep(ref retn);

            subParser.Release();

            if (!valid)
            {
                Abort();
            }

            //tokenStream.Advance();
            return(true);
        }