| Class and Description |
|---|
| Stat
Stat
|
| Class and Description |
|---|
| Stat
Stat
|
| Class and Description |
|---|
| Define
Define 定义模板函数:
#define funcName(p1, p2, ..., pn)
body
#end
模板函数类型:
1:全局共享的模板函数
通过 engine.addSharedFunction(...) 添加,所有模板中可调用
2:模板中定义的局部模板函数
在模板中定义的模板函数,只在本模板中有效
高级用法:
1:局部模板函数可以与全局共享模板函数同名,调用时优先调用模板内模板数
2:模板内部不能定义同名的局部模板函数
|
| Output
Output 输出指令
用法:
1:#(value)
2:#(x = 1, y = 2, x + y)
3:#(seoTitle ?? 'JFinal 极速开发社区')
|
| Stat
Stat
|
| Class and Description |
|---|
| Stat
Stat
|
| Class and Description |
|---|
| StatList
StatList
|
| Class and Description |
|---|
| Break
Break
java 中 break、continue 可出现在 for 中的最后一行,不一定要套在 if 中
|
| Continue
Continue
|
| NullStat
NullStat
|
| Return
Return
通常用于 #define 指令内部,不支持返回值
|
| Stat
Stat
|
| StatList
StatList
|
Copyright © 2018. All rights reserved.