MVEL has largely been inspired by Java syntax, but has some fundamental differences aimed at making it more efficient as an expression language, such as operators that directly support collection, array and string matching, as well as regular expressions.
In addition to the expression language, MVEL serves as a templating language for configuration and string construction.
MVEL 2.x expressions may consist of:
- Property expressions
- Boolean expressions
- Method invocations
- Variable assignments
- Function definitions
Contents
- Basic Syntax
- Operators
- Value Tests
- Inline List, Maps and Arrays
- Property Navigation
- Literal Values
- Type Literals
- Control Flow
- Projections and Folds
- Assignments
- Function Definition
- Lambda Expressions
- Macros
- Interceptors
- Typing
- Shell
- Language FAQ
Extras
Still Stuck? CoreConfidenceTests is a good place to look for examples on all of MVEL's language capabilities.
Labels:
Page:
Function Definition
Page:
Lambda Expressions
Page:
MVEL 2.0 Assignments
Page:
MVEL 2.0 Control Flow
Page:
MVEL 2.0 Language FAQ
Page:
MVEL 2.0 Operators
Page:
MVEL 2.0 Projections and Folds
Page:
MVEL 2.0 Property Navigation
Page:
MVEL 2.0 Typing
Page:
MVEL Shell
Page:
MVEL 2.0 Literals
Page:
MVEL 2.0 Type Literals