Antlr.Runtime.BufferedTokenStream.Fill C# (CSharp) Method

Fill() public method

public Fill ( ) : void
return void
        public virtual void Fill()
        {
            if (_p == -1)
                Setup();

            if (_tokens[_p].Type == CharStreamConstants.EndOfFile)
                return;

            int i = _p + 1;
            Sync(i);
            while (_tokens[i].Type != CharStreamConstants.EndOfFile)
            {
                i++;
                Sync(i);
            }
        }