Antlr4.Runtime.ListTokenSource.ListTokenSource C# (CSharp) Method

ListTokenSource() public method

Constructs a new ListTokenSource instance from the specified collection of IToken objects.
/// NullPointerException /// if /// /// is /// ///
public ListTokenSource ( IList tokens ) : System
tokens IList /// The collection of /// /// objects to provide as a /// /// . ///
return System
        public ListTokenSource(IList<IToken> tokens)
            : this(tokens, null)
        {
        }

Same methods

ListTokenSource::ListTokenSource ( IList tokens, string sourceName ) : System