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

Fill() public method

Get all tokens from lexer until EOF.
Get all tokens from lexer until EOF.
public Fill ( ) : void
return void
        public virtual void Fill()
        {
            LazyInit();
            int blockSize = 1000;
            while (true)
            {
                int fetched = Fetch(blockSize);
                if (fetched < blockSize)
                {
                    return;
                }
            }
        }