Imported Upstream version 1.40.0
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Gjs-expected / Regress.AnAnonymousUnion.page
index 2556fed..ff0853e 100644 (file)
@@ -1,25 +1,42 @@
 <?xml version="1.0"?>
 <page id="Regress.AnAnonymousUnion"
       type="guide"
-      style="record"
+      style="class"
       xmlns="http://projectmallard.org/1.0/"
       xmlns:api="http://projectmallard.org/experimental/api/"
       xmlns:ui="http://projectmallard.org/1.0/ui/">
   <info>
-    
-      <link xref="index" group="record" type="guide"/>
-    
+    <link xref="index" group="class" type="guide"/>
   </info>
   <title>Regress.AnAnonymousUnion</title>
-  
-  
-  
-    
-  
-  
-  
-  
-  
-  
-  
+  <synopsis><code>
+const Regress = imports.gi.Regress;
+
+let anAnonymousUnion = new Regress.AnAnonymousUnion({
+    <link xref='Regress.AnAnonymousUnion-x'>x</link>: value
+});
+  </code></synopsis>
+
+
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="constructor" style="linklist">
+    <title>Constructors</title>
+  </links>
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="method" style="linklist">
+    <title>Methods</title>
+  </links>
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Static Functions</title>
+  </links>
+  <links type="topic" ui:expanded="true" groups="field" style="linklist">
+    <title>Fields</title>
+  </links>
+  <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
+    <title>Other</title>
+  </links>
 </page>