Update wikipage Code Templates. (Signed-off-by:javier).

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1634 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
eiffel-org
2016-09-21 21:06:28 +00:00
parent 5341ad9a5a
commit 03f76bfc97

View File

@@ -29,17 +29,14 @@ User defined templates will have precedence over templates located at the Eiffel
* Code templates could be Global/Target-less or applicable to a given Context * Code templates could be Global/Target-less or applicable to a given Context
Queries and Commands accept multiple arguments like (a:T1; b:T2; c:T3), if any, will be used as input arguments where the default values will be filled with defaults if they exist. Queries and Commands accept multiple arguments like (a:T1; b:T2; c:T3), if any, will be used as input arguments where the default values will be filled with defaults if they exist.
* Target Templates inherit from <code>TEMPLATE [T]</code> * Target Templates inherit from <code>TEMPLATE [T]</code>
These templates will inherit a feature `target' with the type of the context, the generic type. These templates will inherit a feature `target` with the type of the context, the generic type.
* Targetless Templates inherit from <code>TEMPLATE</code> * Targetless Templates inherit from <code>TEMPLATE</code>
These templates does not have the feature `target'. These templates does not have the feature `target`.
* Metadata: its possible to add metadata to code templates using note clause * Metadata: its possible to add metadata to code templates using note clause
** title: title of template, if not present we will use the name of the feature defined in the template. ** title: title of template, if not present we will use the name of the feature defined in the template.
** tags: List of tags to classify the template. ** tags: List of tags to classify the template.
** default: use to define default values for input arguments. ** default: use to define default values for input arguments.
<span id="templates_skeleton"></span> <span id="templates_skeleton"></span>
==Templates Skeleton== ==Templates Skeleton==