AbstractAn array of tokens productd by tokenize().
The input values to be tokenized. This array
is iterated over in onNextToken to generate tokens.
the zero-based position of the token
at the top of vals.
Consumes a sequence of values from vals.
Optionalval: stringAn object that allows for the consumption of values,
providing methods until and while. These methods determine
when to stop or continue the consumption of the sequence.
AbstractonTokenizes the input values by processing them one at a time.
Each value in vals is processed by calling the abstract method
onNextToken, which must be implemented by any subclass of Tokenizer.
Set to the length of the input values (
vals) upon instantiation.