LibJS: Move GetById logic to a separate header to prepare for reuse

We also make the code a bit more generic by making callers provide
(templated) callbacks that produce the property name and base expression
string if any.
This commit is contained in:
Andreas Kling 2025-10-14 13:23:55 +02:00 committed by Andreas Kling
parent 3716db1c61
commit 26c1dea22a
Notes: github-actions[bot] 2025-10-14 13:49:04 +00:00
3 changed files with 158 additions and 111 deletions

View file

@ -327,6 +327,7 @@ class Generator;
class Instruction;
class Interpreter;
class Operand;
struct PropertyLookupCache;
class RegexTable;
class Register;