Exemple #1
0
        public override Token Next(Token result)
        {
            Token t = input.Next(result);

            sink.Add(t);
            return(t);
        }
Exemple #2
0
        public override Token Next(/* in */ Token reusableToken)
        {
            System.Diagnostics.Debug.Assert(reusableToken != null);
            Token nextToken = input.Next(reusableToken);

            sink.Add(nextToken);
            return(nextToken);
        }