A list of the expression syntaxes currently supported in the latest version of ThymeleafJS. The full list of expression syntaxes was taken from the Thymeleaf docs here: https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#standard-expression-syntax ### Simple expressions - [x] Variable Expressions: `${...}` - [ ] Selection Variable Expressions: `*{...}` - [x] Message Expressions: `#{...}` - [x] Link URL Expressions: `@{...}` - [x] Fragment Expressions: `~{...}` ### Complex expressions - [x] Iteration expressions ### Literals - [x] Text literals: `'one text'`, `'Another one!'`,... - [x] Number literals: `0`, `34`, `3.0`, `12.3`,... - [x] Boolean literals: `true`, `false` - [ ] Null literal: `null` - [x] Literal tokens: `one`, `sometext`, `main`,... ### Text operations - [x] String concatenation: `+` - [x] Literal substitutions: `|The name is ${name}|` ### Arithmetic operations - [ ] Binary operators: `+`, `-`, `*`, `/`, `%` - [ ] Minus sign (unary operator): `-` ### Boolean operations - [x] Binary operators: - [x] `&&` - [x] `and` - [x] `||` - [x] `or` - [ ] Boolean negation (unary operator): - [x] `!` - [ ] `not` ### Comparisons and equality - [ ] Comparators: - [ ] `>` - [ ] `<` - [ ] `>=` - [ ] `<=` - [ ] `gt` - [ ] `lt` - [ ] `ge` - [ ] `le` - [x] Equality operators: - [x] `==`, `===` - [x] `!=`, `!==` - [x] `eq` - [x] `ne` ### Conditional operators - [x] If-then: `(if) ? (then)` - [x] If-then-else: `(if) ? (then) : (else)` - [ ] Default: `(value) ?: (defaultvalue)` ### Special tokens - [ ] No-Operation: `_`
A list of the expression syntaxes currently supported in the latest version of ThymeleafJS. The full list of expression syntaxes was taken from the Thymeleaf docs here: https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#standard-expression-syntax
Simple expressions
${...}*{...}#{...}@{...}~{...}Complex expressions
Literals
'one text','Another one!',...0,34,3.0,12.3,...true,falsenullone,sometext,main,...Text operations
+|The name is ${name}|Arithmetic operations
+,-,*,/,%-Boolean operations
&&and||or!notComparisons and equality
><>=<=gtltgele==,===!=,!==eqneConditional operators
(if) ? (then)(if) ? (then) : (else)(value) ?: (defaultvalue)Special tokens
_