diff options
Diffstat (limited to 'tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUnion.page')
-rw-r--r-- | tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUnion.page | 49 |
1 files changed, 33 insertions, 16 deletions
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUnion.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUnion.page index 9746f17e..9765253e 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUnion.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUnion.page @@ -1,25 +1,42 @@ <?xml version="1.0"?> <page id="Regress.FooUnion" - type="topic" - style="default" + type="guide" + 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="default" type="guide"/> - + <link xref="index" group="class" type="guide"/> </info> <title>Regress.FooUnion</title> - - - - - - - - - - - + <synopsis><code> +const Regress = imports.gi.Regress; + +let fooUnion = new Regress.FooUnion({ + <link xref='Regress.FooUnion-regress_foo'>regress_foo</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> |