Interface FormulaParser.TokenConverter<T,V>

Type Parameters:
T - the token type
V - the converted value type
Enclosing class:
FormulaParser<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Conversion function which is used for converting tokens into another type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Convert the given token into another value.
  • Method Details

    • convert

      Convert the given token into another value. The conversion can use the token type, recognized during the parsing process.
      Parameters:
      token - the token value to convert
      type - the token type, recognized during the parsing process
      Returns:
      the converted value