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

Sync() protected method

protected Sync ( int i ) : void
i int
return void
        protected virtual void Sync(int i)
        {
            int n = i - _tokens.Count + 1; // how many more elements we need?
            if (n > 0)
                Fetch(n);
        }