1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:27:35 +00:00

JSSpecCompiler: Parse "the *this* value" in expressions

This commit is contained in:
Dan Klishch 2024-01-21 00:28:28 -05:00 committed by Andrew Kaster
parent ddf26a768c
commit 3e6a07154b
4 changed files with 39 additions and 0 deletions

View file

@ -63,4 +63,14 @@
</ol>
</emu-alg>
</emu-clause>
<emu-clause id="6">
<h1><span class="secnum">6</span> get Temporal.PlainDateTime.prototype.inLeapYear</h1>
<emu-alg>
<ol>
<li>Let <var>dateTime</var> be the <emu-val>this</emu-val> value.</li>
<li>Perform ? <emu-xref><a>RequireInternalSlot</a></emu-xref>(<var>dateTime</var>, <var class="field">[[A]]</var>).</li>
<li>Return <emu-val>undefined</emu-val>.</li>
</ol>
</emu-alg>
</emu-clause>
</specification>

View file

@ -87,3 +87,16 @@ TreeList
ReturnNode
Enumerator unused
%get Temporal.PlainDateTime.prototype.inLeapYear%():
TreeList
BinaryOperation Assignment
Var dateTime
WellKnownNode This
UnaryOperation ReturnIfAbrubt
FunctionCall
UnresolvedReference RequireInternalSlot
Var dateTime
Slot A
ReturnNode
WellKnownNode Undefined