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