分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > IT知识

apache-freemarker-2.3.26

发布时间:2023-09-06 01:20责任编辑:沈小雨关键词:apache

The types

Scalars

  Number: For example the price of a product. Whole numbers and non-whole numbers are not distinguished; there is only a single number type. So for   example 3/2 will be always 1.5, and never 1. Just like if you are using a calculator.

  整数和非整数不区分,只有一个数类型。例如,3/2总是1.5,从不1。就像你在使用计算器一样。

Containers

  Hash: Associates a unique lookup name with each of its sub variables. The name is an unrestricted string. A hash doesn‘t define an ordering for the sub variables in it. That is, there is   no such thing as the first subvariable, and the second subvariable, etc.; the variables are just accessed by name.

  通过名字与每个子变量关联。

  Sequence: Associates an integer number with each of its sub variables. The first subvariable is associated with 0, the second with 1, the third to 2, and so on; the sub variables are    ordered. These numbers are often called the indexes of the sub variables. Sequences are usually dense, i.e., all indexes up to the index of the last subvariable have an associated     subvariable, but it‘s not strictly necessary. The type of the subvariable values need not be the same.

  通过index与每个子变量关联(从0开始)。

  Collection: A collection, from the viewpoint of the template author, is a restricted sequence. You cannot access its size or retrieve its sub variables by index, but they can be still listed   with the list directive.

  可以通过list指令遍历,但是不能通过index访问。

Subroutines

Methods and functions

User-defined directives

Function/method versus user-defined directive

Miscellaneous

Nodes

apache-freemarker-2.3.26

原文地址:http://www.cnblogs.com/rocker-pg/p/7742224.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved