diff --git a/README.md b/README.md index c5ff61a..ebb5e58 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ For an equivalent of a (ANTLR) grammar definition look at `ExpressionGrammar`. The public API of the library is encapsulated by `Expression` which refers to types in the `org.hisp.dhis.lib.expression.spi` package. +For JavaScript the main entry point to the API is called `ExpressionJs`. + ### Modes DHIS2 has several expression language, each supporting a different set of functions. To select which expression is used the `Expression` is parameterized with a `Mode`. @@ -43,4 +45,4 @@ To select which expression is used the `Expression` is parameterized with a `Mod * `INDICATOR_EXPRESSION`: Computes a number for an indicator expression (ad-hoc aggregate data computation) * `PROGRAM_INDICATOR_EXPRESSION`: Computes a number for a program indicator expression (persisted aggregate data computation) * `RULE_ENGINE_CONDITION`: Computes a boolean to check if a rule applies -* `RULE_ENGINE_ACTION`: Computes a boolean, string, number or date from a rule \ No newline at end of file +* `RULE_ENGINE_ACTION`: Computes a boolean, string, number or date from a rule