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:
Andreas Kling 2020-04-27 12:10:16 +02:00
commit 67b8e6fc5b
Notes: sideshowbarker 2024-07-19 07:13:53 +09:00
5 changed files with 105 additions and 9 deletions

View file

@ -66,6 +66,7 @@ class Interpreter;
class LexicalEnvironment;
class MarkedValueList;
class PrimitiveString;
class Reference;
class ScopeNode;
class Shape;
class Statement;