@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}
@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}