1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:47:36 +00:00

JSSpecCompiler: Parse enumerators in xspec mode

This commit is contained in:
Dan Klishch 2024-01-20 22:10:07 -05:00 committed by Andrew Kaster
parent 3d365326af
commit 990e30f458
13 changed files with 69 additions and 0 deletions

View file

@ -41,4 +41,12 @@
</ol>
</emu-alg>
</emu-clause>
<emu-clause id="4" aoid="Enumerators">
<h1><span class="secnum">4</span> Enumerators ( )</h1>
<emu-alg>
<ol>
<li>Return ? <emu-xref><a>WellKnownConstants</a></emu-xref>(<emu-const>enumerator</emu-const>).</li>
</ol>
</emu-alg>
</emu-clause>
</specification>

View file

@ -54,3 +54,11 @@ TreeList
Func "WellKnownConstants"
Var a
Enumerators():
TreeList
ReturnNode
UnaryOperation ReturnIfAbrubt
FunctionCall
Func "WellKnownConstants"
Enumerator enumerator