Package noaa.coastwatch.util.expression
package noaa.coastwatch.util.expression
Provides classes for parsing and evaluating arbitrary mathmatical expressions.
-
ClassDescriptionThe
EvaluateImp
class defines an interface for all classes that help evaluate mathematical expressions by returning the variable values needed to perform the expression computation.TheExpressionParser
class defines an interface for all classes that parse and evaluate mathematical expressions.The enumeration of the possible expression result types.TheExpressionParserFactory
class creates standard instances of aExpressionParser
that follow either the legacy expression syntax or Java expression syntax.The various styles of parsers.TheExpressionTest
class test a parser with a given set of inputs and expected result.TheJELParser
class parses expressions using the Java Expressions Library (JEL) by Konstantin L.Implements a number of additional constants and methods for JEL expressions to use.TheJEPParser
class parses expressions using the syntax of the Java Math Expression Parser (JEP) from http://singularsys.com/jep (we use version 2.24 which is no longer supported since the product is now commercial).TheParseHelper
class implements theParseImp
andEvaluateImp
interfaces with simple data structures.TheParseImp
class defines an interface for all classes that help parse mathematical expressions by setting up a correspondence between variable names and their type and index value.AParseTreeTransform
stores a set of rules to transform a DOM.