|
|||||
|
|||||
Useful Things |
Macros
Macro support in MVEL is a basic facility to allow the replacement of a token with an expanded source output. The functionality was introduced as a way of creating specialized keywords that enclose an Interceptor. A macro can consist of of any legal identifier for example: modify Consider the following code: This is not a legal MVEL expression. There is, after all, no The
|
||||
| Using Macros with the Interpreter If performance is an important consideration while using MVEL in interpreted mode, you should avoid using macros or instead consider switching to using pre-compiled expressions which only have a one-time overhead to parse and compile. |