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

GetHiddenTokensToLeft() public method

Collect all hidden tokens (any off-default channel) to the left of the current token up until we see a token on Lexer.DefaultTokenChannel .
public GetHiddenTokensToLeft ( int tokenIndex ) : IList
tokenIndex int
return IList
        public virtual IList<IToken> GetHiddenTokensToLeft(int tokenIndex)
        {
            return GetHiddenTokensToLeft(tokenIndex, -1);
        }

Same methods

BufferedTokenStream::GetHiddenTokensToLeft ( int tokenIndex, int channel ) : IList