Class NumberTokenReader

java.lang.Object
ch.andre601.expressionparser.tokens.readers.TokenReader
ch.andre601.expressionparser.tokens.readers.NumberTokenReader

public class NumberTokenReader extends TokenReader
TokenReader instance that reads the provided text by trying to parse it through a NumberFormatter and creates a NumberToken instance should a valid number be found.
  • Constructor Details

    • NumberTokenReader

      public NumberTokenReader(int priority)
      Constructor for creating a new NumberTokenReader.
      Parameters:
      priority - The priority this TokenReader should have.
  • Method Details