Package noaa.coastwatch.util.expression
package noaa.coastwatch.util.expression
Provides classes for parsing and evaluating arbitrary mathmatical expressions.
-
ClassDescriptionThe
EvaluateImpclass defines an interface for all classes that help evaluate mathematical expressions by returning the variable values needed to perform the expression computation.TheExpressionParserclass defines an interface for all classes that parse and evaluate mathematical expressions.The enumeration of the possible expression result types.TheExpressionParserFactoryclass creates standard instances of aExpressionParserthat follow either the legacy expression syntax or Java expression syntax.The various styles of parsers.TheExpressionTestclass test a parser with a given set of inputs and expected result.TheJELParserclass parses expressions using the Java Expressions Library (JEL) by Konstantin L.Implements a number of additional constants and methods for JEL expressions to use.TheJEPParserclass 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).TheParseHelperclass implements theParseImpandEvaluateImpinterfaces with simple data structures.TheParseImpclass 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.AParseTreeTransformstores a set of rules to transform a DOM.