Imported Upstream version 1.49.1
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Gjs-expected / Regress.AnonymousUnionAndStruct.page
1 <?xml version="1.0"?>
2 <page id="Regress.AnonymousUnionAndStruct"
3       type="guide"
4       style="class"
5       xmlns="http://projectmallard.org/1.0/"
6       xmlns:api="http://projectmallard.org/experimental/api/"
7       xmlns:ui="http://projectmallard.org/1.0/ui/">
8   <info>
9     <link xref="index" group="class" type="guide"/>
10   </info>
11   <title>Regress.AnonymousUnionAndStruct</title>
12   <synopsis><code>
13 const Regress = imports.gi.Regress;
14
15 let anonymousUnionAndStruct = new Regress.AnonymousUnionAndStruct({
16     <link xref='Regress.AnonymousUnionAndStruct-x'>x</link>: value
17 });
18   </code></synopsis>
19
20
21   <links type="topic" ui:expanded="true"
22          api:type="function" api:mime="text/x-gjs"
23          groups="constructor" style="linklist">
24     <title>Constructors</title>
25   </links>
26   <links type="topic" ui:expanded="true"
27          api:type="function" api:mime="text/x-gjs"
28          groups="method" style="linklist">
29     <title>Methods</title>
30   </links>
31   <links type="topic" ui:expanded="true"
32          api:type="function" api:mime="text/x-gjs"
33          groups="function" style="linklist">
34     <title>Static Functions</title>
35   </links>
36   <links type="topic" ui:expanded="true" groups="field" style="linklist">
37     <title>Fields</title>
38   </links>
39   <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
40     <title>Other</title>
41   </links>
42 </page>