TokenStream.getText

Return the text of all tokens in the stream. This method behaves like the following code, including potential exceptions from the calls to {@link IntStream#size} and {@link #getText(Interval)}, but may be optimized by the specific implementation.

<pre> TokenStream stream = ...; String text = stream.getText(new Interval(0, stream.size())); </pre>

@return The text of all tokens in the stream.

Meta