mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +00:00
LibJS: Add Reference class to represent a base.property reference
Expression nodes can now be asked to produce a Reference. We then use this to implement the "delete" operator without downcasting the child node to a MemberExpression manually.
This commit is contained in:
parent
3a12a8a348
commit
67b8e6fc5b
5 changed files with 105 additions and 9 deletions
|
@ -66,6 +66,7 @@ class Interpreter;
|
|||
class LexicalEnvironment;
|
||||
class MarkedValueList;
|
||||
class PrimitiveString;
|
||||
class Reference;
|
||||
class ScopeNode;
|
||||
class Shape;
|
||||
class Statement;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue