From: Christian Linhart Date: Sun, 2 Nov 2014 12:47:17 +0000 (+0100) Subject: xml-doc: add sumof with nested expression X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afdfe208486cb90841518e91488b6a585c38aff7;hp=88f9def9341b8f9c8f45e8a95f6c40ac94fa959f;p=free-sw%2Fxcb%2Fproto xml-doc: add sumof with nested expression Signed-off-by: Christian Linhart Reviewed-by: Ran Benita Message-ID: <545627D5.4010008@DemoRecorder.com> Patch-Thread-Subject: [Xcb] [PATCHSET] ListInputDevices revision 2 Patch-Set: ListInputDevices Patch-Number: proto 2/8 Patch-Version: V1 --- diff --git a/doc/xml-xcb.txt b/doc/xml-xcb.txt index 235958d..d47b12c 100644 --- a/doc/xml-xcb.txt +++ b/doc/xml-xcb.txt @@ -322,6 +322,17 @@ Expressions This element represents a sumation of the elements of the referenced list. +expression + + The expression is evaluated for each element of the referenced list, + in the context of this element. + This sumof element then represents a sumation of the results of these + evaluations. + + expression will usually be a fieldref which references a field of + a list-element or an expression containing a fieldref, + such as popcount of a fieldref. + expression This element represents the number of bits set in the expression.