Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
(Manual: Missing "since" notes)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddekany committed May 20, 2015
1 parent a56cd71 commit a0c6e1f
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions src/manual/book.xml
Expand Up @@ -14456,6 +14456,11 @@ Sorted by name.last:
<section xml:id="ref_builtins_loop_var">
<title>Loop variable built-ins</title>

<note>
<para>Loop variable built-ins only exists since FreeMarker
2.3.23.</para>
</note>

<para>These built-ins you can only use with the loop variable of the
<link linkend="ref_directive_list"><literal>list</literal> and
<literal>items</literal> directives</link> (and of the deprecated
Expand Down Expand Up @@ -14512,6 +14517,10 @@ Sorted by name.last:
<primary>counter built-in</primary>
</indexterm>

<note>
<para>This built-in is available since FreeMarker 2.3.23.</para>
</note>

<para>Returns the 1-based index where the iteration (which is
identified by the loop variable name) currently stands.</para>

Expand All @@ -14537,6 +14546,10 @@ Sorted by name.last:
<primary>has_next built-in</primary>
</indexterm>

<note>
<para>This built-in is available since FreeMarker 2.3.23.</para>
</note>

<para>Tells if the item where the iteration (which is identified by
the loop variable name) currently stands is not the last
item.</para>
Expand Down Expand Up @@ -14571,6 +14584,10 @@ Sorted by name.last:
<primary>index built-in</primary>
</indexterm>

<note>
<para>This built-in is available since FreeMarker 2.3.23.</para>
</note>

<para>Returns the 0-based index where the iteration (which is
identified by the loop variable name) currently stands. </para>

Expand All @@ -14596,6 +14613,10 @@ Sorted by name.last:
<primary>is_even_item built-in</primary>
</indexterm>

<note>
<para>This built-in is available since FreeMarker 2.3.23.</para>
</note>

<para>Tells if the item where the iteration (which is identified by
the loop variable name) currently stands has an even 1-based
index.</para>
Expand All @@ -14621,6 +14642,10 @@ Sorted by name.last:
<primary>is_first built-in</primary>
</indexterm>

<note>
<para>This built-in is available since FreeMarker 2.3.23.</para>
</note>

<para>Tells if the item where the iteration (which is identified by
the loop variable name) currently stands is the first item.</para>

Expand All @@ -14636,6 +14661,10 @@ Sorted by name.last:
<primary>is_last built-in</primary>
</indexterm>

<note>
<para>This built-in is available since FreeMarker 2.3.23.</para>
</note>

<para>Tells if the item where the iteration (which is identified by
the loop variable name) currently stands is the last item.</para>

Expand Down Expand Up @@ -14669,6 +14698,10 @@ Sorted by name.last:
<primary>is_odd_item built-in</primary>
</indexterm>

<note>
<para>This built-in is available since FreeMarker 2.3.23.</para>
</note>

<para>Tells if the item where the iteration (which is identified by
the loop variable name) currently stands has an odd 1-based
index.</para>
Expand All @@ -14694,6 +14727,10 @@ Sorted by name.last:
<primary>item_cycle built-in</primary>
</indexterm>

<note>
<para>This built-in is available since FreeMarker 2.3.23.</para>
</note>

<para>This is a more generic version of the <link
linkend="ref_builtin_item_parity"><literal>item_parity</literal>
built-in</link>, where you can specify what value to use instead of
Expand Down Expand Up @@ -14741,6 +14778,10 @@ Sorted by name.last:
<primary>item_parity built-in</primary>
</indexterm>

<note>
<para>This built-in is available since FreeMarker 2.3.23.</para>
</note>

<para>Returns <literal>"odd"</literal> or <literal>"even"</literal>
string value, depending on the parity of the 1-based index where the
iteration (which is identified by the loop variable name) currently
Expand Down Expand Up @@ -14774,6 +14815,10 @@ Sorted by name.last:
<primary>item_parity_cap built-in</primary>
</indexterm>

<note>
<para>This built-in is available since FreeMarker 2.3.23.</para>
</note>

<para>Returns <literal>"Odd"</literal> or <literal>"Even"</literal>
string value (note the capitalization), depending on the parity of
the 1-based index where the iteration (which is identified by the
Expand Down

0 comments on commit a0c6e1f

Please sign in to comment.