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:
parent
3d365326af
commit
990e30f458
13 changed files with 69 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -54,3 +54,11 @@ TreeList
|
|||
Func "WellKnownConstants"
|
||||
Var a
|
||||
|
||||
Enumerators():
|
||||
TreeList
|
||||
ReturnNode
|
||||
UnaryOperation ReturnIfAbrubt
|
||||
FunctionCall
|
||||
Func "WellKnownConstants"
|
||||
Enumerator enumerator
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue