ListTokenSource.this

@uml Constructs a new {@link ListTokenSource} instance from the specified collection of {@link Token} objects and source name.

@param tokens The collection of {@link Token} objects to provide as a {@link TokenSource}. @param sourceName The name of the {@link TokenSource}. If this value is {@code null}, {@link #getSourceName} will attempt to infer the name from the next {@link Token} (or the previous token if the end of the input has been reached).

@exception NullPointerException if {@code tokens} is {@code null}

  1. this(Token[] tokens)
  2. this(Token[] tokens, string sourceName)
    class ListTokenSource
    this

Meta