- Mastering JavaServer Faces 2.2
- Anghel Leonard
- 179字
- 2021-12-08 12:41:26
EL syntax
In this section, you can see an overview of the main aspects of EL 2.2 and 3.0 syntax. EL supports a handful of operators and reserved words. Each of these are quickly described in the following section (more details are in the EL specification document (http://download.oracle.com/otndocs/jcp/el-3_0-fr-eval-spec/index.html)).
EL operators
EL supports the following categories of operators—arithmetic, relational, logical, conditional, empty and added starting with EL 3.0, string concatenation, assignment and semicolon operators:

EL precedence of operators
Conforming to EL specification, the precedence of operators from the highest to lowest, left to right is as follows:
[].
()
(used to change the precedence of operators)-
(unary)not ! empty
* / div % mod
+
-
(binary)+=
< > <= >= lt gt le ge
== != eq ne
&& and
|| or
?
:
->
(lambda expression)=
;
EL reserved words
EL defines the following reserved words:
and
,or
,not
,eq
,ne
,lt
,gt
,le
,ge
,true
(Boolean literal),false
(Boolean literal),null
,instanceof
(a Java keyword to do a class comparison between objects),empty
,div
, andmod
推薦閱讀
- Aftershot Pro:Non-destructive photo editing and management
- Cortex-M3 + μC/OS-II嵌入式系統開發入門與應用
- 數字邏輯(第3版)
- Svelte 3 Up and Running
- VCD、DVD原理與維修
- SiFive 經典RISC-V FE310微控制器原理與實踐
- OpenGL Game Development By Example
- 筆記本電腦維修實踐教程
- 微型計算機系統原理及應用:國產龍芯處理器的軟件和硬件集成(基礎篇)
- 圖解計算機組裝與維護
- Hands-On Deep Learning for Images with TensorFlow
- IP網絡視頻傳輸:技術、標準和應用
- 嵌入式系統原理及應用:基于ARM Cortex-M4體系結構
- Drupal Rules How-to
- Learning Less.js