From c6baeca6d7a99d0be3ce71833176a79607e4df57 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 22 Jun 2021 00:55:03 +0200 Subject: [PATCH] LibJS: Add ObjectEnvironmentRecord to Forward.h And sort the forward declared classes alphabetically, for our friends who enjoy alphabetically sorted things. :^) --- Userland/Libraries/LibJS/Forward.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Userland/Libraries/LibJS/Forward.h b/Userland/Libraries/LibJS/Forward.h index f1a9d5016aa..9f834e3a783 100644 --- a/Userland/Libraries/LibJS/Forward.h +++ b/Userland/Libraries/LibJS/Forward.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, Andreas Kling + * Copyright (c) 2020-2021, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ @@ -114,27 +114,29 @@ namespace JS { class ASTNode; -class CellAllocator; +class Accessor; class BigInt; class BoundFunction; class Cell; +class CellAllocator; class Console; +class DeclarativeEnvironmentRecord; class DeferGC; +class EnvironmentRecord; class Error; class ErrorType; class Exception; class Expression; class FunctionNode; -class Accessor; class GlobalObject; class HandleImpl; class Heap; class HeapBlock; class Interpreter; -class DeclarativeEnvironmentRecord; class MarkedValueList; class NativeFunction; class NativeProperty; +class ObjectEnvironmentRecord; class PrimitiveString; class PromiseReaction; class PromiseReactionJob; @@ -142,7 +144,6 @@ class PromiseResolveThenableJob; class PropertyName; class Reference; class ScopeNode; -class EnvironmentRecord; class Shape; class Statement; class StringOrSymbol;