aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_expression.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_expression.c')
-rw-r--r--src/lua/lua_expression.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lua/lua_expression.c b/src/lua/lua_expression.c
index 2d7ceb734..d8bd0409e 100644
--- a/src/lua/lua_expression.c
+++ b/src/lua/lua_expression.c
@@ -26,6 +26,12 @@
#include "expression.h"
/***
+ * @module rspamd_expression
+ * This module can be used to implement different logic expressions in lua using
+ * rspamd AST optimizer. There are some examples in individual methods definitions to help understanding of this module.
+ */
+
+/***
* @function rspamd_expression.create(line, {parse_func, process_func}, pool)
* Create expression from the line using atom parsing routines and the specified memory pool
* @param {string} line expression line