aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/Process.lut.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/bindings/Process.lut.h')
-rw-r--r--src/bun.js/bindings/Process.lut.h233
1 files changed, 180 insertions, 53 deletions
diff --git a/src/bun.js/bindings/Process.lut.h b/src/bun.js/bindings/Process.lut.h
index 4086fb19e..dda54ff01 100644
--- a/src/bun.js/bindings/Process.lut.h
+++ b/src/bun.js/bindings/Process.lut.h
@@ -1,6 +1,6 @@
// File generated via `make generate-builtins`
-static const struct CompactHashIndex processObjectTableIndex[143] = {
- { 44, -1 },
+static const struct CompactHashIndex processObjectTableIndex[267] = {
+ { 47, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
@@ -11,13 +11,12 @@ static const struct CompactHashIndex processObjectTableIndex[143] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
- { 15, 129 },
{ -1, -1 },
{ -1, -1 },
- { 18, 139 },
{ -1, -1 },
- { 46, -1 },
+ { 20, -1 },
{ -1, -1 },
+ { 49, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
@@ -33,37 +32,166 @@ static const struct CompactHashIndex processObjectTableIndex[143] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
- { 3, 142 },
- { 1, 128 },
{ -1, -1 },
- { 60, -1 },
{ -1, -1 },
- { 10, -1 },
+ { 8, -1 },
+ { -1, -1 },
+ { -1, -1 },
{ -1, -1 },
{ -1, -1 },
- { 32, -1 },
{ -1, -1 },
{ -1, -1 },
+ { 34, -1 },
{ -1, -1 },
{ -1, -1 },
- { 53, -1 },
- { 27, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 29, -1 },
+ { 13, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 59, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 55, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 43, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 0, -1 },
+ { 28, -1 },
+ { 37, -1 },
+ { 42, -1 },
+ { -1, -1 },
+ { 25, -1 },
{ 12, -1 },
{ -1, -1 },
+ { -1, -1 },
+ { 62, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 33, -1 },
+ { 44, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 26, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 22, -1 },
+ { -1, -1 },
+ { 5, -1 },
+ { -1, -1 },
+ { 64, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 27, 261 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 23, 262 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 50, 265 },
+ { -1, -1 },
{ 19, -1 },
{ -1, -1 },
- { 14, 138 },
{ -1, -1 },
- { 37, -1 },
{ -1, -1 },
- { 39, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 17, 257 },
+ { -1, -1 },
+ { 14, -1 },
+ { 57, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 3, 266 },
+ { 1, -1 },
+ { -1, -1 },
+ { 63, -1 },
+ { -1, -1 },
+ { 11, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
{ 56, -1 },
- { 36, -1 },
- { 6, 140 },
{ -1, -1 },
- { 52, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 10, 256 },
+ { -1, -1 },
+ { 16, 263 },
+ { -1, -1 },
+ { 39, -1 },
+ { -1, -1 },
+ { 41, -1 },
+ { -1, -1 },
+ { 38, -1 },
+ { 6, 264 },
+ { -1, -1 },
+ { -1, -1 },
{ 4, -1 },
- { 48, -1 },
+ { 51, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
@@ -75,77 +203,73 @@ static const struct CompactHashIndex processObjectTableIndex[143] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
- { 41, -1 },
{ -1, -1 },
- { 29, 133 },
{ -1, -1 },
- { 0, -1 },
- { 26, 136 },
- { 16, 130 },
- { 40, -1 },
+ { 31, 260 },
+ { -1, -1 },
+ { -1, -1 },
+ { 48, -1 },
+ { 18, 258 },
+ { -1, -1 },
{ -1, -1 },
- { 23, -1 },
- { 11, -1 },
{ -1, -1 },
{ -1, -1 },
- { 59, -1 },
{ -1, -1 },
{ -1, -1 },
- { 31, 137 },
{ -1, -1 },
- { 30, -1 },
- { 22, -1 },
{ -1, -1 },
{ -1, -1 },
+ { 53, -1 },
+ { -1, -1 },
+ { 32, -1 },
{ 24, -1 },
{ -1, -1 },
{ -1, -1 },
- { 20, -1 },
{ -1, -1 },
- { 5, -1 },
{ -1, -1 },
- { 61, -1 },
- { 49, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
- { 13, 131 },
+ { -1, -1 },
+ { -1, -1 },
+ { 52, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 15, 259 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 9, -1 },
- { 25, 134 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
- { 21, 135 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
- { 47, 141 },
{ -1, -1 },
- { 17, -1 },
- { 8, -1 },
- { 28, -1 },
- { 33, 132 },
- { 34, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 21, -1 },
+ { 30, -1 },
{ 35, -1 },
- { 38, -1 },
- { 42, -1 },
- { 43, -1 },
+ { 36, -1 },
+ { 40, -1 },
{ 45, -1 },
- { 50, -1 },
- { 51, -1 },
+ { 46, -1 },
{ 54, -1 },
- { 55, -1 },
- { 57, -1 },
{ 58, -1 },
+ { 60, -1 },
+ { 61, -1 },
};
-static const struct HashTableValue processObjectTableValues[62] = {
+static const struct HashTableValue processObjectTableValues[65] = {
{ "abort"_s, static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { HashTableValue::NativeFunctionType, Process_functionAbort, 1 } },
{ "allowedNodeEnvironmentFlags"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, Process_stubEmptySet } },
{ "arch"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, constructArch } },
@@ -156,9 +280,11 @@ static const struct HashTableValue processObjectTableValues[62] = {
{ "browser"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, constructBrowser } },
{ "chdir"_s, static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { HashTableValue::NativeFunctionType, Process_functionChdir, 1 } },
{ "config"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, constructProcessConfigObject } },
+ { "connected"_s, static_cast<unsigned>(PropertyAttribute::CustomAccessor), NoIntrinsic, { HashTableValue::GetterSetterType, processConnected, setProcessConnected } },
{ "cpuUsage"_s, static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { HashTableValue::NativeFunctionType, Process_functionCpuUsage, 1 } },
{ "cwd"_s, static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { HashTableValue::NativeFunctionType, Process_functionCwd, 1 } },
{ "debugPort"_s, static_cast<unsigned>(PropertyAttribute::CustomAccessor), NoIntrinsic, { HashTableValue::GetterSetterType, processDebugPort, setProcessDebugPort } },
+ { "disconnect"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, constructProcessDisconnect } },
{ "dlopen"_s, static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { HashTableValue::NativeFunctionType, Process_functionDlopen, 1 } },
{ "emitWarning"_s, static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { HashTableValue::NativeFunctionType, Process_emitWarning, 1 } },
{ "env"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, constructEnv } },
@@ -188,6 +314,7 @@ static const struct HashTableValue processObjectTableValues[62] = {
{ "release"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, constructProcessReleaseObject } },
{ "revision"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, constructRevision } },
{ "setSourceMapsEnabled"_s, static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { HashTableValue::NativeFunctionType, Process_stubEmptyFunction, 1 } },
+ { "send"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, constructProcessSend } },
{ "stderr"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, constructStderr } },
{ "stdin"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, constructStdin } },
{ "stdout"_s, static_cast<unsigned>(PropertyAttribute::PropertyCallback), NoIntrinsic, { HashTableValue::LazyPropertyType, constructStdout } },
@@ -211,4 +338,4 @@ static const struct HashTableValue processObjectTableValues[62] = {
};
static const struct HashTable processObjectTable =
- { 62, 127, true, nullptr, processObjectTableValues, processObjectTableIndex };
+ { 65, 255, true, nullptr, processObjectTableValues, processObjectTableIndex };