Package ch.andre601.expressionparser.tokens.readers
package ch.andre601.expressionparser.tokens.readers
-
ClassDescription
TokenReader instance
that parses the provided Text by iterating through it until it finds a space character or hits the end of the text, to then convert into aStringToken instance
.TokenReader instance
that reads the provided text by trying to parse it through aNumberFormatter
and creates aNumberToken instance
should a valid number be found.TokenReader instance
that parses the provided text by looking for appearances of a provided pattern and in such a case returns the providedToken instance
.TokenReader instance
that parses the provided text by looking for the appearance of the provided char.The token reader is used to find specific patterns within a provided text to then turn into a Token, "tokenizing" the text over time.