<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[207768] trunk/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/207768">207768</a></dd>
<dt>Author</dt> <dd>zandobersek@gmail.com</dd>
<dt>Date</dt> <dd>2016-10-24 11:24:12 -0700 (Mon, 24 Oct 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>[CodeGeneratorJS] Support enums for standalone dictionaries
https://bugs.webkit.org/show_bug.cgi?id=163885

Reviewed by Youenn Fablet.

Add support for enumerations in WebIDL files that specify
standalone dictionaries. Implementation of this is pretty
straight-forward and mirrors interface and callback generators
by calling GenerateEnumerations{Header,Implementation}Content()
functions in GenerateDictionary{Header,Implementation}().

In GenerateEnumerationsImplementationContent(), the
NeverDestroyed.h header is added to the implementation includes
since that class is used to hold an array of possible enum
values.

A test enum is added to the TestStandaloneDictionary.idl file
and the baselines are updated to reflect the new capability.

* bindings/scripts/CodeGenerator.pm:
(ProcessDocument):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateDictionary):
(GenerateEnumerationsImplementationContent):
(GenerateDictionaryHeader):
(GenerateDictionaryImplementation):
* bindings/scripts/test/JS/JSTestStandaloneDictionary.cpp:
(WebCore::convertEnumerationToJS):
(WebCore::parseEnumeration&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;):
(WebCore::convertEnumeration&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;):
(WebCore::expectedEnumerationValues&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;):
(WebCore::convertDictionary&lt;DictionaryImplName&gt;):
* bindings/scripts/test/JS/JSTestStandaloneDictionary.h:
* bindings/scripts/test/TestStandaloneDictionary.idl:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorpm">trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestStandaloneDictionarycpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneDictionary.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestStandaloneDictionaryh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneDictionary.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestTestStandaloneDictionaryidl">trunk/Source/WebCore/bindings/scripts/test/TestStandaloneDictionary.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (207767 => 207768)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-10-24 18:18:09 UTC (rev 207767)
+++ trunk/Source/WebCore/ChangeLog        2016-10-24 18:24:12 UTC (rev 207768)
</span><span class="lines">@@ -1,3 +1,40 @@
</span><ins>+2016-10-24  Zan Dobersek  &lt;zdobersek@igalia.com&gt;
+
+        [CodeGeneratorJS] Support enums for standalone dictionaries
+        https://bugs.webkit.org/show_bug.cgi?id=163885
+
+        Reviewed by Youenn Fablet.
+
+        Add support for enumerations in WebIDL files that specify
+        standalone dictionaries. Implementation of this is pretty
+        straight-forward and mirrors interface and callback generators
+        by calling GenerateEnumerations{Header,Implementation}Content()
+        functions in GenerateDictionary{Header,Implementation}().
+
+        In GenerateEnumerationsImplementationContent(), the
+        NeverDestroyed.h header is added to the implementation includes
+        since that class is used to hold an array of possible enum
+        values.
+
+        A test enum is added to the TestStandaloneDictionary.idl file
+        and the baselines are updated to reflect the new capability.
+
+        * bindings/scripts/CodeGenerator.pm:
+        (ProcessDocument):
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (GenerateDictionary):
+        (GenerateEnumerationsImplementationContent):
+        (GenerateDictionaryHeader):
+        (GenerateDictionaryImplementation):
+        * bindings/scripts/test/JS/JSTestStandaloneDictionary.cpp:
+        (WebCore::convertEnumerationToJS):
+        (WebCore::parseEnumeration&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;):
+        (WebCore::convertEnumeration&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;):
+        (WebCore::expectedEnumerationValues&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;):
+        (WebCore::convertDictionary&lt;DictionaryImplName&gt;):
+        * bindings/scripts/test/JS/JSTestStandaloneDictionary.h:
+        * bindings/scripts/test/TestStandaloneDictionary.idl:
+
</ins><span class="cx"> 2016-10-24  Dave Hyatt  &lt;hyatt@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove CSSCharsetRule from the CSS OM
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm (207767 => 207768)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm        2016-10-24 18:18:09 UTC (rev 207767)
+++ trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm        2016-10-24 18:24:12 UTC (rev 207768)
</span><span class="lines">@@ -216,7 +216,7 @@
</span><span class="cx">     # It is possible to have dictionaries in an IDL file without any interface.
</span><span class="cx">     unless (@$interfaces) {
</span><span class="cx">         foreach my $dictionary (@{$useDocument-&gt;dictionaries}) {
</span><del>-            $codeGenerator-&gt;GenerateDictionary($dictionary);
</del><ins>+            $codeGenerator-&gt;GenerateDictionary($dictionary, $useDocument-&gt;enumerations);
</ins><span class="cx">             $codeGenerator-&gt;WriteData($dictionary, $useOutputDir, $useOutputHeadersDir);
</span><span class="cx">         }
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (207767 => 207768)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2016-10-24 18:18:09 UTC (rev 207767)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2016-10-24 18:24:12 UTC (rev 207768)
</span><span class="lines">@@ -134,11 +134,11 @@
</span><span class="cx"> 
</span><span class="cx"> sub GenerateDictionary
</span><span class="cx"> {
</span><del>-    my ($object, $dictionary) = @_;
</del><ins>+    my ($object, $dictionary, $enumerations) = @_;
</ins><span class="cx"> 
</span><span class="cx">     my $className = GetDictionaryClassName($dictionary-&gt;name);
</span><del>-    $object-&gt;GenerateDictionaryHeader($dictionary, $className);
-    $object-&gt;GenerateDictionaryImplementation($dictionary, $className);
</del><ins>+    $object-&gt;GenerateDictionaryHeader($dictionary, $className, $enumerations);
+    $object-&gt;GenerateDictionaryImplementation($dictionary, $className, $enumerations);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> sub GenerateInterface
</span><span class="lines">@@ -889,6 +889,7 @@
</span><span class="cx">         $result .= &quot;{\n&quot;;
</span><span class="cx">         # FIXME: Might be nice to make this global be &quot;const&quot;, but NeverDestroyed does not currently support that.
</span><span class="cx">         # FIXME: Might be nice to make the entire array be NeverDestroyed instead of each value, but not sure what the syntax for that is.
</span><ins>+        AddToImplIncludes(&quot;&lt;wtf/NeverDestroyed.h&gt;&quot;);
</ins><span class="cx">         $result .= &quot;    static NeverDestroyed&lt;const String&gt; values[] = {\n&quot;;
</span><span class="cx">         foreach my $value (@{$enumeration-&gt;values}) {
</span><span class="cx">             if ($value eq &quot;&quot;) {
</span><span class="lines">@@ -4454,7 +4455,7 @@
</span><span class="cx"> 
</span><span class="cx"> sub GenerateDictionaryHeader
</span><span class="cx"> {
</span><del>-    my ($object, $dictionary, $className) = @_;
</del><ins>+    my ($object, $dictionary, $className, $enumerations) = @_;
</ins><span class="cx"> 
</span><span class="cx">     my $dictionaryName = $dictionary-&gt;name;
</span><span class="cx"> 
</span><span class="lines">@@ -4466,6 +4467,7 @@
</span><span class="cx"> 
</span><span class="cx">     push(@headerContent, &quot;\nnamespace WebCore {\n\n&quot;);
</span><span class="cx">     push(@headerContent, GenerateDictionaryHeaderContent($dictionary, $className));
</span><ins>+    push(@headerContent, GenerateEnumerationsHeaderContent($dictionary, $enumerations));
</ins><span class="cx">     push(@headerContent, &quot;} // namespace WebCore\n&quot;);
</span><span class="cx"> 
</span><span class="cx">     my $conditionalString = $codeGenerator-&gt;GenerateConditionalString($dictionary);
</span><span class="lines">@@ -4488,7 +4490,7 @@
</span><span class="cx"> 
</span><span class="cx"> sub GenerateDictionaryImplementation
</span><span class="cx"> {
</span><del>-    my ($object, $dictionary, $className) = @_;
</del><ins>+    my ($object, $dictionary, $className, $enumerations) = @_;
</ins><span class="cx"> 
</span><span class="cx">     # - Add default header template
</span><span class="cx">     push(@implContentHeader, GenerateImplementationContentHeader($dictionary));
</span><span class="lines">@@ -4495,6 +4497,7 @@
</span><span class="cx"> 
</span><span class="cx">     push(@implContent, &quot;\nusing namespace JSC;\n\n&quot;);
</span><span class="cx">     push(@implContent, &quot;namespace WebCore {\n\n&quot;);
</span><ins>+    push(@implContent, GenerateEnumerationsImplementationContent($dictionary, $enumerations));
</ins><span class="cx">     push(@implContent, GenerateDictionaryImplementationContent($dictionary, $className));
</span><span class="cx">     push(@implContent, &quot;} // namespace WebCore\n&quot;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestStandaloneDictionarycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneDictionary.cpp (207767 => 207768)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneDictionary.cpp        2016-10-24 18:18:09 UTC (rev 207767)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneDictionary.cpp        2016-10-24 18:24:12 UTC (rev 207768)
</span><span class="lines">@@ -24,11 +24,52 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;JSTestStandaloneDictionary.h&quot;
</span><span class="cx"> 
</span><ins>+#include &lt;runtime/JSString.h&gt;
+#include &lt;wtf/NeverDestroyed.h&gt;
</ins><span class="cx"> 
</span><span class="cx"> using namespace JSC;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><ins>+template&lt;&gt; JSString* convertEnumerationToJS(ExecState&amp; state, TestStandaloneDictionary::EnumInStandaloneDictionaryFile enumerationValue)
+{
+    static NeverDestroyed&lt;const String&gt; values[] = {
+        ASCIILiteral(&quot;enumValue1&quot;),
+        ASCIILiteral(&quot;enumValue2&quot;),
+    };
+    static_assert(static_cast&lt;size_t&gt;(TestStandaloneDictionary::EnumInStandaloneDictionaryFile::EnumValue1) == 0, &quot;TestStandaloneDictionary::EnumInStandaloneDictionaryFile::EnumValue1 is not 0 as expected&quot;);
+    static_assert(static_cast&lt;size_t&gt;(TestStandaloneDictionary::EnumInStandaloneDictionaryFile::EnumValue2) == 1, &quot;TestStandaloneDictionary::EnumInStandaloneDictionaryFile::EnumValue2 is not 1 as expected&quot;);
+    ASSERT(static_cast&lt;size_t&gt;(enumerationValue) &lt; WTF_ARRAY_LENGTH(values));
+    return jsStringWithCache(&amp;state, values[static_cast&lt;size_t&gt;(enumerationValue)]);
+}
+
+template&lt;&gt; Optional&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt; parseEnumeration&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;(ExecState&amp; state, JSValue value)
+{
+    auto stringValue = value.toWTFString(&amp;state);
+    if (stringValue == &quot;enumValue1&quot;)
+        return TestStandaloneDictionary::EnumInStandaloneDictionaryFile::EnumValue1;
+    if (stringValue == &quot;enumValue2&quot;)
+        return TestStandaloneDictionary::EnumInStandaloneDictionaryFile::EnumValue2;
+    return Nullopt;
+}
+
+template&lt;&gt; TestStandaloneDictionary::EnumInStandaloneDictionaryFile convertEnumeration&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;(ExecState&amp; state, JSValue value)
+{
+    VM&amp; vm = state.vm();
+    auto throwScope = DECLARE_THROW_SCOPE(vm);
+    auto result = parseEnumeration&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;(state, value);
+    if (UNLIKELY(!result)) {
+        throwTypeError(&amp;state, throwScope);
+        return { };
+    }
+    return result.value();
+}
+
+template&lt;&gt; const char* expectedEnumerationValues&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;()
+{
+    return &quot;\&quot;enumValue1\&quot;, \&quot;enumValue2\&quot;&quot;;
+}
+
</ins><span class="cx"> template&lt;&gt; DictionaryImplName convertDictionary&lt;DictionaryImplName&gt;(ExecState&amp; state, JSValue value)
</span><span class="cx"> {
</span><span class="cx">     VM&amp; vm = state.vm();
</span><span class="lines">@@ -49,6 +90,11 @@
</span><span class="cx">         result.boolMember = convert&lt;IDLBoolean&gt;(state, boolMemberValue);
</span><span class="cx">         RETURN_IF_EXCEPTION(throwScope, { });
</span><span class="cx">     }
</span><ins>+    JSValue enumMemberValue = isNullOrUndefined ? jsUndefined() : object-&gt;get(&amp;state, Identifier::fromString(&amp;state, &quot;enumMember&quot;));
+    if (!enumMemberValue.isUndefined()) {
+        result.enumMember = convert&lt;IDLEnumeration&lt;TestEnumInStandaloneDictionaryFile&gt;&gt;(state, enumMemberValue);
+        RETURN_IF_EXCEPTION(throwScope, { });
+    }
</ins><span class="cx">     JSValue stringMemberValue = isNullOrUndefined ? jsUndefined() : object-&gt;get(&amp;state, Identifier::fromString(&amp;state, &quot;stringMember&quot;));
</span><span class="cx">     if (!stringMemberValue.isUndefined()) {
</span><span class="cx">         result.stringMember = convert&lt;IDLDOMString&gt;(state, stringMemberValue);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestStandaloneDictionaryh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneDictionary.h (207767 => 207768)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneDictionary.h        2016-10-24 18:18:09 UTC (rev 207767)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneDictionary.h        2016-10-24 18:24:12 UTC (rev 207768)
</span><span class="lines">@@ -29,6 +29,12 @@
</span><span class="cx"> 
</span><span class="cx"> template&lt;&gt; DictionaryImplName convertDictionary&lt;DictionaryImplName&gt;(JSC::ExecState&amp;, JSC::JSValue);
</span><span class="cx"> 
</span><ins>+template&lt;&gt; JSC::JSString* convertEnumerationToJS(JSC::ExecState&amp;, TestStandaloneDictionary::EnumInStandaloneDictionaryFile);
+
+template&lt;&gt; Optional&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt; parseEnumeration&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;(JSC::ExecState&amp;, JSC::JSValue);
+template&lt;&gt; TestStandaloneDictionary::EnumInStandaloneDictionaryFile convertEnumeration&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;(JSC::ExecState&amp;, JSC::JSValue);
+template&lt;&gt; const char* expectedEnumerationValues&lt;TestStandaloneDictionary::EnumInStandaloneDictionaryFile&gt;();
+
</ins><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(Condition1)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestTestStandaloneDictionaryidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/TestStandaloneDictionary.idl (207767 => 207768)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/TestStandaloneDictionary.idl        2016-10-24 18:18:09 UTC (rev 207767)
+++ trunk/Source/WebCore/bindings/scripts/test/TestStandaloneDictionary.idl        2016-10-24 18:24:12 UTC (rev 207768)
</span><span class="lines">@@ -26,6 +26,8 @@
</span><span class="cx">  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><ins>+enum TestEnumInStandaloneDictionaryFile { &quot;enumValue1&quot;, &quot;enumValue2&quot; };
+
</ins><span class="cx"> [
</span><span class="cx">     ImplementedAs=DictionaryImplName,
</span><span class="cx">     Conditional=Condition1,
</span><span class="lines">@@ -32,4 +34,5 @@
</span><span class="cx"> ] dictionary TestStandaloneDictionary {
</span><span class="cx">     boolean boolMember;
</span><span class="cx">     DOMString stringMember;
</span><ins>+    TestEnumInStandaloneDictionaryFile enumMember;
</ins><span class="cx"> };
</span></span></pre>
</div>
</div>

</body>
</html>