mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-15 20:49:41 +00:00
26 lines
425 B
C++
26 lines
425 B
C++
/*
|
|
* Copyright (c) 2025, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Utf16FlyString.h>
|
|
|
|
namespace JS {
|
|
|
|
struct LocalVariable {
|
|
enum class DeclarationKind {
|
|
Var,
|
|
LetOrConst,
|
|
Function,
|
|
ArgumentsObject,
|
|
CatchClauseParameter
|
|
};
|
|
|
|
Utf16FlyString name;
|
|
DeclarationKind declaration_kind;
|
|
};
|
|
|
|
}
|