| 程序包 | 说明 |
|---|---|
| com.jfinal.kit | |
| com.jfinal.template | |
| com.jfinal.template.ext.directive | |
| com.jfinal.template.stat | |
| com.jfinal.template.stat.ast |
| 类和说明 |
|---|
| Stat
Stat
|
| 类和说明 |
|---|
| Define
Define 定义模板函数:
#define funcName(p1, p2, ..., pn)
body
#end
模板函数类型:
1:全局共享的模板函数
通过 engine.addSharedFunction(...)
|
| Output
Output 输出指令
用法:
1:#(value)
2:#(x = 1, y = 2, x + y)
3:#(seoTitle ??
|
| Stat
Stat
|
| 类和说明 |
|---|
| Define
Define 定义模板函数:
#define funcName(p1, p2, ..., pn)
body
#end
模板函数类型:
1:全局共享的模板函数
通过 engine.addSharedFunction(...)
|
| Stat
Stat
|
| 类和说明 |
|---|
| Output
Output 输出指令
用法:
1:#(value)
2:#(x = 1, y = 2, x + y)
3:#(seoTitle ??
|
| StatList
StatList
|
| 类和说明 |
|---|
| Break
Break
java 中 break、continue 可出现在 for 中的最后一行,不一定要套在 if 中
|
| Case
Case
|
| CaseSetter
CaseSetter
|
| Continue
Continue
|
| Default
Default
#switch 指令内部的 #default 指令
|
| NullStat
NullStat
|
| Return
Return
通常用于 #define 指令内部,不支持返回值
|
| Stat
Stat
|
| StatList
StatList
|
Copyright © 2024. All rights reserved.