aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-09-20 11:30:14 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:09 -0300
commited78ef787f52a9c5f7d791e3f02a853c88ad6e3f (patch)
tree64b1dc02c8fd5fa0334570f662cc1c32ca86a0de /doc
parent5179bca73955373e087d6b51edcabf038c964ac8 (diff)
Added documentation for "enum-type" tag attribute "identified-by-value".
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/typesystem_specifying_types.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/typesystem_specifying_types.rst b/doc/typesystem_specifying_types.rst
index 66536cf71..a8bce1e1b 100644
--- a/doc/typesystem_specifying_types.rst
+++ b/doc/typesystem_specifying_types.rst
@@ -134,6 +134,7 @@ enum-type
<typesystem>
<enum-type name="..."
+ identified-by-value="..."
since="..."
flags="yes | no"
lower-bound="..."
@@ -156,6 +157,11 @@ enum-type
The *optional* **since** value is used to specify the API version of this type.
+ The attribute **identified-by-value** helps to specify anonymous enums using the
+ name of one of their values, which is unique for the anonymous enum scope.
+ Notice that the **enum-type** tag can either have **name** or **identified-by-value**
+ but not both.
+
reject-enum-value